diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-01-06 00:54:46 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-01-06 00:54:46 +0000 |
commit | 51a1c19396e6b403ef4ecae1b763e7b88a27900b (patch) | |
tree | 885770f8d9575cbfd439eebcff538800a85a11a5 /lib/libc/stdio/gets.c | |
parent | 6b7ac7804da0a1604cb1c94d6797ed24eb584a44 (diff) | |
download | FreeBSD-src-51a1c19396e6b403ef4ecae1b763e7b88a27900b.zip FreeBSD-src-51a1c19396e6b403ef4ecae1b763e7b88a27900b.tar.gz |
- Teach SIGIO code to use cr_cansignal() instead of a custom CANSIGIO()
macro. As a result, mandatory signal delivery policies will be
applied consistently across the kernel.
- Note that this subtly changes the protection semantics, and we should
watch out for any resulting breakage. Previously, delivery of SIGIO
in this circumstance was limited to situations where the subject was
privileged, or where one of the subject's (ruid, euid) matched one
of the object's (ruid, euid). In the new scenario, subject (ruid, euid)
are matched against the object's (ruid, svuid), and the object uid's
must be a subset of the subject uid's. Likewise, jail now affects
delivery, and special handling for P_SUGID of the object is present.
This change can always be reversed or tweaked if it proves to disrupt
application behavior substantially.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'lib/libc/stdio/gets.c')
0 files changed, 0 insertions, 0 deletions