Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2010 21:25:29 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   [PATCH] Add SF_ARCHIVED to EPERM in chflags(2) ERROR section
Message-ID:  <AANLkTimrof6FFE=ip8gEv%2BThEuSMepyShS9V7wRDaS2m@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
    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?
Thanks!
-Garrett

[-- Attachment #2 --]
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.
 .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

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimrof6FFE=ip8gEv%2BThEuSMepyShS9V7wRDaS2m>