kern/148801: [patch] obsolete CAPABILITIES comment after suser(9)
-> priv(9)
pluknet
pluknet at gmail.com
Tue Jul 20 20:00:03 UTC 2010
>Number: 148801
>Category: kern
>Synopsis: [patch] obsolete CAPABILITIES comment after suser(9) -> priv(9)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 20 20:00:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: pluknet
>Release: HEAD r209989
>Organization:
>Environment:
>Description:
This comment was left after "Sweep kernel replacing suser(9) calls with priv(9)
calls" (svn r164033 by rwatson@) in which the exp. CAPABILITIES facility was
moved to current operating priv(9).
After that the comment has lost its relevance. May be applied down to 7.x.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: sys/kern/vfs_subr.c
===================================================================
--- sys/kern/vfs_subr.c (revision 209989)
+++ sys/kern/vfs_subr.c (working copy)
@@ -3515,9 +3515,6 @@
* and optional call-by-reference privused argument allowing vaccess()
* to indicate to the caller whether privilege was used to satisfy the
* request (obsoleted). Returns 0 on success, or an errno on failure.
- *
- * The ifdef'd CAPABILITIES version is here for reference, but is not
- * actually used.
*/
int
vaccess(enum vtype type, mode_t file_mode, uid_t file_uid, gid_t file_gid,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list