diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-08-04 00:31:01 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-08-04 00:31:01 +0000 |
commit | ba4ccf26eaa089507c0a5ea0e7ba5f1ad57ff101 (patch) | |
tree | 3a4602a25c33b98c114e6e51ecec47496f7700b5 /release/doc/en_US.ISO8859-1 | |
parent | 7d24cc9a9e03b4d06191edacd80aa3b99d968c70 (diff) | |
download | FreeBSD-src-ba4ccf26eaa089507c0a5ea0e7ba5f1ad57ff101.zip FreeBSD-src-ba4ccf26eaa089507c0a5ea0e7ba5f1ad57ff101.tar.gz |
In ufs_chmod(), use privilege only when required in the following
cases:
- Setting sticky bit on non-directory
- Setting setgid on a file with a group that isn't in the effective
or extended groups of the authorizing credential
I.e., test the requirement first, then do the privilege test,
rather than doing the privilege test regardless of the need for
privilege.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'release/doc/en_US.ISO8859-1')
0 files changed, 0 insertions, 0 deletions