summaryrefslogtreecommitdiff
path: root/usr/src/lib/libproc/common
AgeCommit message (Collapse)AuthorFilesLines
2019-03-147780 mdb could extract NT_PRPSINFO information from core filesCarlos Neira3-3/+44
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gergo Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-1310361 usr/lib - stop lint library generation and packagingAndy Fiddaman1-392/+0
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-198158 Want named threads APIJohn Levon6-7/+79
9857 proc manpages should have LIBRARY section Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-107094 mdb can't print types from an object file with ctfRobert Mustacchi1-10/+24
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-01-077095 libproc file_info_t file_pname too shortRobert Mustacchi1-1/+1
Reviewed by: Cody Mello <cody.mello@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2016-10-157029 want per-process exploit mitigation features (secflags)Richard Lowe9-22/+158
7030 want basic address space layout randomization (ASLR) 7031 noexec_user_stack should be a security-flag 7032 want a means to forbid mappings around NULL Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Patrick Mooney <pmooney@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-05-126955 libproc should be documented and shippedRobert Mustacchi6-17/+29
6956 libproc cannot leave free() to callers Reviewed by: Ryan Zezeski <ryan@zinascii.com> Reviewed by: Cody Mello <cody.mello@joyent.com> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-04-106850 fake_elf() should cope with missing DT_HASHBryan Cantrill1-9/+14
Reviewed by: Richard PALO <richard@netbsd.org> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-04-106849 failure in PLT processing induces spurious fake_elf() failureBryan Cantrill1-6/+11
Reviewed by: Richard PALO <richard@netbsd.org> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-12-075876 sys/regset.h pollutes name space (try 2)Gordon Ross1-4/+2
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Jonathan Perkin <jperkin@joyent.com> Reviewed by: Alexander Pyhalov <alp@sfedu.ru> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
2015-10-18backout 5876 sys/regset.h pollutes name spaceGordon Ross1-2/+4
backout commit 21227944c2bcc086121a5428f3f9d2496ba646f5.
2015-10-175876 sys/regset.h pollutes name spaceGordon Ross1-4/+2
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Jonathan Perkin <jperkin@joyent.com> Reviewed by: Alexander Pyhalov <alp@sfedu.ru> Approved by: Albert Lee <trisk@omniti.com>
2015-09-036178 fix for 5234 reintroduced 3921Bryan Cantrill1-4/+8
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-04-125830 want arc4random(3C) suiteRobert Mustacchi1-1/+1
5802 want getentropy(3C) 5803 want getrandom(2) 5804 want explicit_bzero(3C) 5805 want MC_INHERIT_ZERO 5806 uuid_generate can leak its cache in edge conditions Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
2015-02-255397 pfiles slow with many open socketsDave Eddy1-4/+14
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Garrett D'Amore <garrett@damore.org>
2015-01-275547 libproc's fake_elf should give up if there's no .hashRichard Lowe1-0/+5
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Adam Leventhal <adam.leventhal@delphix.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-01-275546 libproc's fake_elf may free stack junk when reading corrupt dumpsRichard Lowe1-1/+1
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Adam Leventhal <adam.leventhal@delphix.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-01-144923 want preadv and pwritevDJ Hoffman1-2/+3
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <robert.mustacchi@joyent.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
2015-01-125383 5234 breaks build on sparcGary Mills1-5/+26
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-11-255341 gcore fails with "no such file or directory" if write fails ... error ↵Keith M Wesolowski1-31/+56
is misleading Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-11-125315 5234 misidentifies cases we need to replace representative lwpJerry Jelinek1-3/+9
Reviewed by: Timothy J Fontaine <tj.fontaine@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-10-295234 libproc could understand Linux core filesTimothy J Fontaine3-13/+454
5235 libproc doesn't correctly handle elf note rounding Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Rafael Vanoni <rafael.vanoni@pluribusnetworks.com> Approved by: Garrett D'Amore <garrett@damore.org>
2014-03-233750 ptools fail an assertion if libraries are lofs mountpointsJerry Jelinek1-6/+13
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2013-08-273946 ::gcore (fix sparc build)Christopher Siden1-2/+3
2013-08-213946 ::gcoreJeremy Jones15-385/+834
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2013-08-013918 "pargs -l" dies on incomplete core dumpsBryan Cantrill2-3/+23
3919 mdb/pmap should show unresolved map names on core dumps 3920 executable mapping in core dump misreported when file isn't found 3921 Pfindexec() finds wrong binary, wreaking havoc Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Dan McDonald <danmcd@nexenta.com>
2013-04-123673 core dumping is abysmally slowBryan Cantrill7-16/+176
3671 left behind enemy lines, agent LWP can go rogue 3670 add visibility into agent LWP's spymaster Reviewed by: Keith M Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2013-04-053683 pfiles shouldn't try to trace itselfRobert Mustacchi1-1/+4
3684 pfiles crashes on processes with no files 3685 getsockname should set the sa_family_t for unbound unix domain sockets 3686 pfiles shows incorrect socket information on some getsockname calls Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Gordon Ross <gwr@nexenta.com>
2013-01-123463 agent lwp clobbers amd64 abi stack redzoneJoshua M. Clulow1-2/+13
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@damore.org>
2012-11-023294 pfiles postmortem supportGarrett D'Amore7-0/+249
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Eric Schrock <eric.schrock@delphix.com>
2010-10-0663 pfiles should list peer processes for local IPC connectionsAlexander Stetsenko3-2/+61
Reviewed by: a.eremin@nexenta.com, garrett@nexenta.com Approved by: garrett@nexenta.com
2010-08-12PSARC 2010/299 GNU/Linux/BSD compatibility functionsRoger A. Faulkner2-13/+9
6960818 add get_nprocs(), getline(), strdupa(), strndup() to libc 6901783 strndup would be nice 6824404 libc should provide ffsl() & ffsll() 6793969 RFE: Add|stpcpy|to libc 6735446 Want a __progname symbol for BSD-style source compatibility 6421095 Solaris should provide strcasestr 6275498 Provide string compare functions wcscasecmp,wcsncasecmp in solaris like linux --HG-- rename : usr/src/lib/libc/port/gen/strcasecmp.c => usr/src/lib/libc/port/gen/ascii_strcasecmp.c rename : usr/src/lib/libc/port/gen/strncasecmp.c => usr/src/lib/libc/port/gen/ascii_strncasecmp.c rename : usr/src/lib/libc/sparc/gen/strcasecmp.s => usr/src/lib/libc/sparc/gen/ascii_strcasecmp.s rename : usr/src/lib/libc/sparcv9/gen/strcasecmp.s => usr/src/lib/libc/sparcv9/gen/ascii_strcasecmp.s
2010-07-306787285 truss(1) may fail to report function returnsRobert Harris1-3/+2
2010-07-07PSARC 2010/235 POSIX 1003.1-2008 *at(2) syscallsRoger A. Faulkner2-13/+32
6910251 need support for all POSIX.1-2008 *at(2) syscalls 6964835 mknod(2) auditing omits the pathname for invalid arguments
2010-06-246916796 OSnet mapfiles should use version 2 link-editor syntaxAli Bahrami1-11/+33
--HG-- rename : usr/src/cmd/sgs/libelf/common/mapfile-common => usr/src/cmd/sgs/libelf/common/mapfile-vers rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-bindings => usr/src/cmd/sgs/link_audit/common/mapfile-vers-bindings rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-perfcnt => usr/src/cmd/sgs/link_audit/common/mapfile-vers-perfcnt rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-symbindrep => usr/src/cmd/sgs/link_audit/common/mapfile-vers-symbindrep rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-truss => usr/src/cmd/sgs/link_audit/common/mapfile-vers-truss rename : usr/src/cmd/sgs/link_audit/i386/mapfile-vers-who => usr/src/cmd/sgs/link_audit/common/mapfile-vers-who rename : usr/src/common/mapfiles/i386/map.noexdata => usr/src/common/mapfiles/common/map.noexdata rename : usr/src/lib/libaio/sparc/mapfile-vers => usr/src/lib/libaio/common/mapfile-vers rename : usr/src/lib/libelfsign/common/mapfile.map => usr/src/lib/libelfsign/common/mapfile-vers rename : usr/src/lib/libpthread/sparc/mapfile-vers => usr/src/lib/libpthread/common/mapfile-vers rename : usr/src/lib/librt/amd64/mapfile-vers => usr/src/lib/librt/common/mapfile-vers rename : usr/src/lib/libsys/sparc/mapfile-vers => usr/src/lib/libsys/common/mapfile-vers rename : usr/src/lib/libthread/sparc/mapfile-vers => usr/src/lib/libthread/common/mapfile-vers
2010-02-28PSARC 2009/657 delete obsolete system call trapsRoger A. Faulkner5-175/+251
6906485 delete obsolete system call traps --HG-- rename : usr/src/cmd/truss/xstat.c => usr/src/cmd/truss/stat.c rename : usr/src/lib/libc/port/gen/dup2.c => usr/src/lib/libc/port/gen/dup.c rename : usr/src/lib/libc/port/sys/libc_fcntl.c => usr/src/lib/libc/port/sys/fcntl.c rename : usr/src/lib/libc/port/sys/libc_open.c => usr/src/lib/libc/port/sys/open.c
2009-11-206900188 prsubr.c is not lint cleanRoger A. Faulkner1-7/+8
2009-08-256874303 fake_up_symtab can dereference just about anythingEdward Pilatowicz1-2/+0
2009-07-296863263 libproc doesn't access in-core elf data correctlyEdward Pilatowicz5-136/+233
2009-07-156757037 Zone-spawned LWP needs to be able to run on a processor setSurya Prakki4-74/+4
2009-06-186851224 elf_getshnum() and elf_getshstrndx() incompatible with 2002 ELF gABI ↵Ali Bahrami3-15/+15
agreement PSARC/2009/363 replace elf_getphnum, elf_getshnum, and elf_getshstrndx
2009-06-156850985 libproc makes an excessive number of ioctl(MNTIOC_GETMNTENT) callsRoger A. Faulkner1-25/+95
2009-04-296461637 libproc should dprintf() if ctf_bufopen() failsKrishnendu Sadhukhan - Sun Microsystems1-0/+1
2009-04-206806023 cpc provider event name validation needs to be a bit tighterJonathan Haslam1-0/+3
6806674 dcpc scares me on an older machine 6812495 plockstat's mutex-spun probe is under specified when used in libc 6812487 chkargs argument processing needs tightening up 6819008 i_Pobject_iter() needs to update mappings more often to avoid bogus prmap_t usage 6690027 incorrect instruction mask used in SPARC dtrace_getpcstack 6820546 tst.FunctionLookup.ksh fails owing to callout changes 6820554 baddof core dumps when no input file is specified 6822482 DOF validation needs to handle loadable sections flagged as unloadable
2009-03-186813909 generalize eh_frame support to non-amd64 platformsAli Bahrami1-4/+8
--HG-- rename : usr/src/cmd/sgs/libld/common/unwind.amd.c => usr/src/cmd/sgs/libld/common/unwind.c
2009-02-106798660 Cadmium .NOT file processing problem with CWD relative file pathsAli Bahrami1-1/+15
Contributed by Richard Lowe 6785284 Mapfile versioning rules need to be more visible to gatelings 6800164 Standard file exclusion mechanism needed for Cadmium tools
2009-01-086772947 pbind(1M) shows "cannot query pid 0: Not owner" and returns error codeRoger A. Faulkner2-12/+15
2008-11-24PSARC/2008/226 mmapobj(2) - mmap objectMichael Corcoran1-4/+2
6502792 Same dynamic libraries should be mapped at the same virtual addresses in different processes
2008-10-236756051 libproc`map_set() shouldn't punt on setting rname/rbaseEdward Pilatowicz1-5/+4
2008-10-216761574 Plofspath() hangs in ngz on lofs mounts of gz filesystemEdward Pilatowicz1-2/+10