svn commit: r246593 - head/lib/libc/sys

Eitan Adler eadler at freebsd.org
Sat Feb 9 17:20:37 UTC 2013


On 9 February 2013 12:13, Eitan Adler <eadler at freebsd.org> wrote:
> Author: eadler
> Date: Sat Feb  9 17:13:51 2013
> New Revision: 246593
> URL: http://svnweb.freebsd.org/changeset/base/246593
>
> Log:
>   Fix logic inversion.
>
>   PR:           docs/174966  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=174966
>   Submitted by: Christian Ullrich <chris+freebsd at chrullrich.net>
>   Approved by:  bcr (mentor)
>
> Modified:
>   head/lib/libc/sys/chflags.2
>
> Modified: head/lib/libc/sys/chflags.2
> ==============================================================================
> --- head/lib/libc/sys/chflags.2 Sat Feb  9 13:31:59 2013        (r246592)
> +++ head/lib/libc/sys/chflags.2 Sat Feb  9 17:13:51 2013        (r246593)
> @@ -98,7 +98,7 @@ If one of
>  or
>  .Dv SF_NOUNLINK
>  is set a non-super-user cannot change any flags and even the super-user
> -can change flags only if securelevel is greater than 0.
> +can change flags only if securelevel is 0.

I was reminded the default -1, not 0. I'll fix this shortly.



-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams


More information about the svn-src-head mailing list