diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-01-06 00:20:12 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-01-06 00:20:12 +0000 |
commit | 6b7ac7804da0a1604cb1c94d6797ed24eb584a44 (patch) | |
tree | 6507530e4497a5bf6aafba2cf33fed56c75b00b1 /lib/libc/stdio/tmpfile.c | |
parent | f974b4f783102e55899b7b1ba8354561c699cb2e (diff) | |
download | FreeBSD-src-6b7ac7804da0a1604cb1c94d6797ed24eb584a44.zip FreeBSD-src-6b7ac7804da0a1604cb1c94d6797ed24eb584a44.tar.gz |
- Push much of the logic for p_cansignal() behind cr_cansignal, which
authorized based on a subject credential rather than a subject process.
This will permit the same logic to be reused in situations where only
the credential generating the signal is available, such as in the
delivery of SIGIO.
- Because of two clauses, the automatic success against curproc,
and the session semantics for SIGCONT, not all logic can be pushed
into cr_cansignal(), but those cases should not apply for most other
consumers of cr_cansignal().
- This brings the base system inter-process authorization code more
into line with the MAC implementation.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'lib/libc/stdio/tmpfile.c')
0 files changed, 0 insertions, 0 deletions