Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2012 07:44:19 GMT
From:      Taras <ds@ukrhub.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/164078: man setuid(2): a messy sentence
Message-ID:  <201201130744.q0D7iJsS062385@red.freebsd.org>
Resent-Message-ID: <201201130750.q0D7o7Q1077542@freefall.freebsd.org>

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

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201130744.q0D7iJsS062385>