diff options
author | julian <julian@FreeBSD.org> | 1997-06-02 06:24:52 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1997-06-02 06:24:52 +0000 |
commit | 68081e32bccab743c4962c5ca40d1acef554a858 (patch) | |
tree | c88072dbc126f0bd1bc7114bc5797aff4b4fa2bb /lib/libc/gen/getttyent.c | |
parent | 18750f03542b6c804f678f3b4fc1d4b4405fa79a (diff) | |
download | FreeBSD-src-68081e32bccab743c4962c5ca40d1acef554a858.zip FreeBSD-src-68081e32bccab743c4962c5ca40d1acef554a858.tar.gz |
Submitted by: Whistle Communications (archie Cobbs)
These changes add the ability to specify that a UFS file/directory
cannot be unlinked. This is basically a scaled back version
of the IMMUTABLE flag. The reason is to allow an administrator
to create a directory hierarchy that a group of users
can arbitrarily add/delete files from, but that the hierarchy
itself is safe from removal by them.
If the NOUNLINK definition is set to 0
then this results in no change to what happens normally.
(and results in identical binary (in the kernel)).
It can be proven that if this bit is never set by the admin,
no new behaviour is introduced..
Several "good idea" comments from reviewers plus one grumble
about creeping featurism.
This code is in production in 2.2 based systems
Diffstat (limited to 'lib/libc/gen/getttyent.c')
0 files changed, 0 insertions, 0 deletions