From owner-freebsd-doc@FreeBSD.ORG Fri Jan 13 07:50:08 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B3691065675 for ; Fri, 13 Jan 2012 07:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18F728FC18 for ; Fri, 13 Jan 2012 07:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0D7o7g7077549 for ; Fri, 13 Jan 2012 07:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0D7o7Q1077542; Fri, 13 Jan 2012 07:50:07 GMT (envelope-from gnats) Resent-Date: Fri, 13 Jan 2012 07:50:07 GMT Resent-Message-Id: <201201130750.q0D7o7Q1077542@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Taras Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A7D61065676 for ; Fri, 13 Jan 2012 07:44:20 +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 2113F8FC14 for ; Fri, 13 Jan 2012 07:44:20 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q0D7iJQB062418 for ; Fri, 13 Jan 2012 07:44:19 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q0D7iJsS062385; Fri, 13 Jan 2012 07:44:19 GMT (envelope-from nobody) Message-Id: <201201130744.q0D7iJsS062385@red.freebsd.org> Date: Fri, 13 Jan 2012 07:44:19 GMT From: Taras To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/164078: man setuid(2): a messy sentence X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2012 07:50:08 -0000 >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: