NetBSD/sys/miscfs/procfs
agc f1a5908695 In /proc/<pid>/statm, avoid leaking buffer space if the attempt to get
vmspace information fails.

Return the nice value properly to userland via the /proc/<pid>/stat entry.

Use vm sizes from vmspace, rather than rusage structs, for the same
reasons as mentioned previously - see the comment in
kvm_proc.c::kvm_getproc2() about rusage values and zombie processes.
2007-05-26 16:21:04 +00:00
..
Makefile
files.procfs Restore dependency on PTRACE for PROCFS. 2006-08-30 13:49:27 +00:00
procfs.h Extend the Linux emulation of /proc to include 2007-05-24 00:37:40 +00:00
procfs_cmdline.c Change the process/lwp flags seen by userland via sysctl back to the 2007-02-17 22:31:36 +00:00
procfs_ctl.c - Make the proclist_lock a mutex. The write:read ratio is unfavourable, 2007-03-09 14:11:22 +00:00
procfs_fd.c Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
procfs_fpregs.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_linux.c In /proc/<pid>/statm, avoid leaking buffer space if the attempt to get 2007-05-26 16:21:04 +00:00
procfs_map.c Instead of reading and writing little by little, allocate memory and 2007-04-01 03:18:57 +00:00
procfs_mem.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_note.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_regs.c __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
procfs_status.c - Make the proclist_lock a mutex. The write:read ratio is unfavourable, 2007-03-09 14:11:22 +00:00
procfs_subr.c Extend the Linux emulation of /proc to include 2007-05-24 00:37:40 +00:00
procfs_vfsops.c Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
procfs_vnops.c Extend the Linux emulation of /proc to include 2007-05-24 00:37:40 +00:00