docs/164078: man setuid(2): a messy sentence

Taras ds at ukrhub.net
Fri Jan 13 07:50:08 UTC 2012


>Number:         164078
>Category:       docs
>Synopsis:       man setuid(2): a messy sentence
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 13 07:50:07 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Taras
>Release:        
>Organization:
>Environment:
>Description:
The second paragraph under 'SECURITY CONSIDERATIONS' of man setuid(2) states: "To prevent these files from remaining open after an exec(3) call, be sure to set the close-on-exec flag is set:"
>How-To-Repeat:
setuid(2) man page for any OS >= 5.0
http://www.freebsd.org/cgi/man.cgi?query=setuid
>Fix:
Rewrite to:
"..., ensure the close-on-exec flag is set:"
-- or --
"..., be sure to set the close-on-exec flag:"
-- or --
of course, your choise.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list