From barner@in.tum.de  Wed Sep 24 03:41:16 2003
Return-Path: <barner@in.tum.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BBD4216A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 24 Sep 2003 03:41:16 -0700 (PDT)
Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7DC9044005
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 24 Sep 2003 03:41:13 -0700 (PDT)
	(envelope-from barner@in.tum.de)
Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000)
	id 3C89C3B4F5; Wed, 24 Sep 2003 12:40:18 +0200 (CEST)
Message-Id: <20030924104018.3C89C3B4F5@zi025.glhnet.mhn.de>
Date: Wed, 24 Sep 2003 12:40:18 +0200 (CEST)
From: Simon Barner <barner@in.tum.de>
Reply-To: Simon Barner <barner@in.tum.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: S_IRWXU missing in fstat(2) man page?
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57153
>Category:       docs
>Synopsis:       S_IRWXU missing in fstat(2) man page?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 24 03:50:04 PDT 2003
>Closed-Date:    Mon Oct 16 11:58:15 GMT 2006
>Last-Modified:  Mon Oct 16 12:01:01 GMT 2006
>Originator:     Simon Barner
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #1: Thu Sep 4 20:49:53 CEST 2003 simon@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386

>Description:

Shouldn't the S_IRWXU constant from /usr/include/sys/stat.h also be mentioned
in the fstat(2) man page (and possibly others)

--> this one      #define S_IRWXU 0000700                 /* RWX mask for owner */
--> already there #define S_IRUSR 0000400                 /* R for owner */
     -"-          #define S_IWUSR 0000200                 /* W for owner */
     -"-          #define S_IXUSR 0000100                 /* X for owner */

If you confirm this, I can prepare a patch.

>How-To-Repeat:

Compare /usr/include/sys/stat.h and fstat(2)

>Fix:

Add missing constants to man page.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: ru 
State-Changed-When: Thu Oct 12 13:35:18 UTC 2006 
State-Changed-Why:  
Added S_IRWXU and permission bits for group/other to the stat(2) manpage. 


Responsible-Changed-From-To: freebsd-doc->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Thu Oct 12 13:35:18 UTC 2006 
Responsible-Changed-Why:  

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/57153: commit references a PR
Date: Thu, 12 Oct 2006 13:35:31 +0000 (UTC)

 ru          2006-10-12 13:35:07 UTC
 
   FreeBSD src repository
 
   Modified files:
     lib/libc/sys         stat.2 
   Log:
   Document S_IRWXU and permission bits for group/other.
   
   PR:             docs/57153
   MFC after:      3 days
   
   Revision  Changes    Path
   1.46      +11 -2     src/lib/libc/sys/stat.2
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: ru 
State-Changed-When: Mon Oct 16 11:57:58 UTC 2006 
State-Changed-Why:  
Merged into RELENG_6. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/57153: commit references a PR
Date: Mon, 16 Oct 2006 11:58:06 +0000 (UTC)

 ru          2006-10-16 11:57:53 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     lib/libc/sys         stat.2 
   Log:
   MFC: Document S_IRWXU and permission bits for group/other.
   
   PR:             docs/57153
   Approved by:    re (hrs)
   
   Revision  Changes    Path
   1.42.2.1  +11 -2     src/lib/libc/sys/stat.2
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
