NetBSD/bin/ps
bgrayson 2721f671ab - Be really paranoid. Any time we open a file that is in /proc, run
fstatfs() on the open file to verify that no intruder has mounted
  something on portions of /proc.  This will catch, for instance,
  "mount_null /tmp /proc/1378".  We already do 5 syscalls per
  process, so one more won't hurt :) ...  and safety is better than
  performance when ps is otherwise broken.
- Also added a few close()'s at early returns, to avoid chewing up fd's.
1999-03-28 00:46:47 +00:00
..
Makefile Added experimental fallback /proc-based lookup. Warnings are printed when the 1999-03-26 22:36:02 +00:00
extern.h Added experimental fallback /proc-based lookup. Warnings are printed when the 1999-03-26 22:36:02 +00:00
fmt.c add <sys/time.h> to fix compiler error 1998-02-03 03:16:01 +00:00
keyword.c Add a "sid" keyword to print the session ID. 1998-02-17 21:37:56 +00:00
nlist.c Use the physmem variable to get at the physical memory size (instead of the 1998-03-27 22:45:47 +00:00
print.c Look for the formats used by setproctitle(3) and login shells, and avoiding 1998-07-28 18:41:59 +00:00
procfs_ops.c - Be really paranoid. Any time we open a file that is in /proc, run 1999-03-28 00:46:47 +00:00
ps.1 Minor fixes: 1999-03-27 21:38:08 +00:00
ps.c Minor fixes: 1999-03-27 21:38:08 +00:00
ps.h Fix p_nice vs. NZERO code. 1996-10-02 18:07:20 +00:00