[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: [PATCH] Add SF_ARCHIVED to EPERM in chflags(2) ERROR section
From: Jaakko Heinonen <jh () freebsd ! org>
Date: 2010-10-29 15:18:03
Message-ID: 20101029151803.GB1400 () a91-153-123-205 ! elisa-laajakaista ! fi
[Download RAW message or body]
On 2010-10-23, Garrett Cooper wrote:
> The SF_ARCHIVED flag isn't noted in the chflags(2) ERROR section.
> The attached patch adds the entry.
> If no one has any objections, could someone help me commit this?
> Index: lib/libc/sys/chflags.2
> ===================================================================
> --- lib/libc/sys/chflags.2 (revision 213377)
> +++ lib/libc/sys/chflags.2 (working copy)
> @@ -148,14 +148,14 @@
> the effective user ID is not the super-user.
> .It Bq Er EPERM
> One of
> -.Dv SF_IMMUTABLE , SF_APPEND ,
> +.Dv SF_ARCHIVED , SF_IMMUTABLE , SF_APPEND ,
> or
> .Dv SF_NOUNLINK
> is set and the user is either not the super-user or
> securelevel is greater than 0.
This is not correct. SF_ARCHIVED doesn't prevent setting of the flags.
> .It Bq Er EPERM
> A non-super-user tries to set one of
> -.Dv SF_IMMUTABLE , SF_APPEND ,
> +.Dv SF_ARCHIVED , SF_IMMUTABLE , SF_APPEND ,
> or
> .Dv SF_NOUNLINK .
> .It Bq Er EPERM
I have committed this in r214514.
Thanks!
--
Jaakko
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic