freebsd-dev/usr.bin/truss
John Baldwin 55648840de Extend the support for exempting processes from being killed when swap is
exhausted.
- Add a new protect(1) command that can be used to set or revoke protection
  from arbitrary processes.  Similar to ktrace it can apply a change to all
  existing descendants of a process as well as future descendants.
- Add a new procctl(2) system call that provides a generic interface for
  control operations on processes (as opposed to the debugger-specific
  operations provided by ptrace(2)).  procctl(2) uses a combination of
  idtype_t and an id to identify the set of processes on which to operate
  similar to wait6().
- Add a PROC_SPROTECT control operation to manage the protection status
  of a set of processes.  MADV_PROTECT still works for backwards
  compatability.
- Add a p_flag2 to struct proc (and a corresponding ki_flag2 to kinfo_proc)
  the first bit of which is used to track if P_PROTECT should be inherited
  by new child processes.

Reviewed by:	kib, jilles (earlier version)
Approved by:	re (delphij)
MFC after:	1 month
2013-09-19 18:53:42 +00:00
..
amd64-fbsd32.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
amd64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
amd64-linux32.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
amd64linux32.conf
arm-fbsd.c Add arm bits to truss. 2013-03-07 23:44:35 +00:00
extern.h Add arm bits to truss. 2013-03-07 23:44:35 +00:00
fbsd32.conf
i386-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
i386-linux.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
i386.conf
i386linux.conf
ia64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
main.c Add arm bits to truss. 2013-03-07 23:44:35 +00:00
Makefile Since truss also uses kdump's mkioctls script, pass the value of ${CPP} 2012-04-09 15:34:22 +00:00
mips-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
powerpc64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
powerpc-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
setup.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
sparc64-fbsd.c - Make truss thread-aware. 2012-09-16 14:38:01 +00:00
syscall.h Extend the support for exempting processes from being killed when swap is 2013-09-19 18:53:42 +00:00
syscalls.c Extend the support for exempting processes from being killed when swap is 2013-09-19 18:53:42 +00:00
truss.1 Add -c option to summarize number of calls, errors, and system time. 2009-05-12 20:42:12 +00:00
truss.h Revert r247300 for now. I'll post a new changeset for review. 2013-02-26 19:46:59 +00:00