freebsd-dev/usr.bin/procstat
Joe Marcus Clarke 08afefa814 Do not segfault when procstat -f or procstat -v is called on a process not
owned by the current user.  If kinfo_getfile() or kinfo_getvmmap() return
NULL, simply exit, and do not try and derefernce the memory.

Reviewed by:	peter
Approved by:	peter
2008-12-19 06:50:15 +00:00
..
Makefile Merge user/peter/kinfo branch as of r185547 into head. 2008-12-02 06:50:26 +00:00
procstat_args.c Add 'COMM' column to a few more output modes of procstat(1). The only 2007-12-10 20:55:43 +00:00
procstat_basic.c WARNS fixes: mainly constness and avoid comparing signed with 2008-02-08 11:03:05 +00:00
procstat_bin.c Add 'COMM' column to a few more output modes of procstat(1). The only 2007-12-10 20:55:43 +00:00
procstat_cred.c Add 'COMM' column to a few more output modes of procstat(1). The only 2007-12-10 20:55:43 +00:00
procstat_files.c Do not segfault when procstat -f or procstat -v is called on a process not 2008-12-19 06:50:15 +00:00
procstat_kstack.c WARNS fixes: mainly constness and avoid comparing signed with 2008-02-08 11:03:05 +00:00
procstat_threads.c WARNS fixes: mainly constness and avoid comparing signed with 2008-02-08 11:03:05 +00:00
procstat_vm.c Do not segfault when procstat -f or procstat -v is called on a process not 2008-12-19 06:50:15 +00:00
procstat.1 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
procstat.c WARNS fixes: mainly constness and avoid comparing signed with 2008-02-08 11:03:05 +00:00
procstat.h