freebsd-dev/sys/compat
Robert Watson 670cb89bf4 Bring in two sets of changes:
(1) Permit userland applications to request a change of label atomic
    with an execve() via mac_execve().  This is required for the
    SEBSD port of SELinux/FLASK.  Attempts to invoke this without
    MAC compiled in result in ENOSYS, as with all other MAC system
    calls.  Complexity, if desired, is present in policy modules,
    rather than the framework.

(2) Permit policies to have access to both the label of the vnode
    being executed as well as the interpreter if it's a shell
    script or related UNIX nonsense.  Because we can't hold both
    vnode locks at the same time, cache the interpreter label.
    SEBSD relies on this because it supports secure transitioning
    via shell script executables.  Other policies might want to
    take both labels into account during an integrity or
    confidentiality decision at execve()-time.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-05 17:51:56 +00:00
..
freebsd32 Sync to src/sys/kern/syscalls.master 2002-11-02 23:55:30 +00:00
ia32 Added fields for VM_MIN_ADDRESS, PS_STRINGS and stack protections to 2002-09-01 21:41:24 +00:00
linprocfs Remove the process state PRS_WAIT. 2002-10-21 22:27:36 +00:00
linux Implement the CDROMREADAUDIO ioctl. 2002-10-19 21:11:43 +00:00
netbsd Remove __P. 2002-03-20 05:48:58 +00:00
pecoff Bring in two sets of changes: 2002-11-05 17:51:56 +00:00
svr4 Replace the conventional usage of strncpy() by using strlcpy(). 2002-10-17 22:27:21 +00:00