summaryrefslogtreecommitdiff
path: root/usr/src/lib/libproc
AgeCommit message (Collapse)AuthorFilesLines
2022-04-2614637 various Makefiles should have more faith in Makefile.masterRichard Lowe1-3/+0
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-03-1014443 resection manual pages per IPD4Richard Lowe2-2/+2
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-11-1113925 core files should include DWARFRobert Mustacchi2-79/+150
Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Adam Leventhal <adam.leventhal@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-10-1614126 clock_gettime() could work with thread/proc clocksRobert Mustacchi3-0/+21
14139 Want libproc convenience function for lwpsinfo Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-08-1713988 libproc leaks zonerootRobert Mustacchi1-0/+2
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-08-1713989 libproc can leak core CTF dataRobert Mustacchi1-4/+2
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-08-1713987 libproc could use standard listsRobert Mustacchi14-142/+91
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-08-0313926 core files can fail to dump leading large sectionsRobert Mustacchi1-2/+14
13927 core dump of PROT_NONE segment leads to confusing behavior Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-0913487 want mapfile-based assertions about symbol propertiesRichard Lowe1-7/+7
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-11-1713273 want upanic(2)Robert Mustacchi6-1/+78
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-05-0412447 should install library compat symlinks from library makefiles, not ↵Richard Lowe4-4/+4
Targetdirs Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-0412454 remove lint library machineryRichard Lowe4-8/+4
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-03-1612353 libproc should also check the GNU build id in addition to the debug linkRobert Mustacchi1-36/+188
Reviewed by: Patrick Mooney <patrick.f.mooney@gmail.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-03-1612352 libproc could know about .gnu_debuglink for remote symbol tablesRobert Mustacchi4-1/+245
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-0412255 proc_get_fdinfo() crash if fdinfo file growsAndy Fiddaman1-1/+5
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-01-2412046 Provide /proc/<PID>/fdinfo/Andy Fiddaman11-94/+472
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-12-1112037 ptree zone handling is brokenJason King2-9/+16
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-12-0211984 libproc: passing argument 2 to restrict-qualified parameter aliases ↵Toomas Soome1-2/+7
with argument 1 Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-2111986 libproc: cast between incompatible function typesToomas Soome1-4/+4
Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-08-1611528 Makefile.noget can get goneJohn Levon1-1/+1
11529 Use -Wno-maybe-initialized Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2019-07-0311133 libproc: NULL pointer errorsToomas Soome7-15/+14
Reviewed by: John Levon <john.levon@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
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>
2019-01-1810220 libproc ia32 Pstack_iter() should leverage ctfRobert Mustacchi2-8/+65
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-01-1410079 smatch Makefile changes for usr/src/libJohn Levon1-0/+4
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@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>
2018-02-069027 Makefiles need to specify C99 mode consistentlyYuri Pankov1-1/+1
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
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 Mustacchi8-21/+31
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 Siden3-6/+9
2013-08-213946 ::gcoreJeremy Jones16-385/+836
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>