From nobody@FreeBSD.org  Fri Jan  4 10:20:25 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 3B0DA613
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Jan 2013 10:20:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2D46FA47
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Jan 2013 10:20:25 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r04AKOJa019691
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 4 Jan 2013 10:20:24 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r04AKODJ019690;
	Fri, 4 Jan 2013 10:20:24 GMT
	(envelope-from nobody)
Message-Id: <201301041020.r04AKODJ019690@red.freebsd.org>
Date: Fri, 4 Jan 2013 10:20:24 GMT
From: Christian Ullrich <chris+freebsd@chrullrich.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Bug in chflags(2) man page
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         174966
>Category:       docs
>Synopsis:       [patch] Bug in chflags(2) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eadler
>State:          analyzed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 04 10:30:01 UTC 2013
>Closed-Date:    
>Last-Modified:  Sat Feb  9 17:20:01 UTC 2013
>Originator:     Christian Ullrich
>Release:        9.1
>Organization:
>Environment:
>Description:
securelevel > 0 prevents the superuser from changing the flags. The current wording says the inverse.
>How-To-Repeat:

>Fix:
Index: lib/libc/sys/chflags.2
===================================================================
--- lib/libc/sys/chflags.2      (revision 245035)
+++ lib/libc/sys/chflags.2      (working copy)
@@ -98,7 +98,7 @@
 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 not greater than 0.
 (See
 .Xr init 8
 for details.)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jan 5 18:31:10 UTC 2013 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174966 
Responsible-Changed-From-To: freebsd-doc->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Sat Feb 9 00:13:28 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174966 
State-Changed-From-To: open->analyzed 
State-Changed-By: eadler 
State-Changed-When: Sat Feb 9 00:18:24 UTC 2013 
State-Changed-Why:  
awaiting approval or review prior to commit (no action needed from 
submitter) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174966 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/174966: commit references a PR
Date: Sat,  9 Feb 2013 17:14:07 +0000 (UTC)

 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
   Submitted by:	Christian Ullrich <chris+freebsd@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.
  (See
  .Xr init 8
  for details.)
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
