svn commit: r223505 - head/sys/kern
pluknet at freebsd.org
Fri Jun 24 15:37:04 UTC 2011
On 24 June 2011 18:40, Jonathan Anderson <jonathan at freebsd.org> wrote:
> Author: jonathan
> Date: Fri Jun 24 14:40:22 2011
> New Revision: 223505
> URL: http://svn.freebsd.org/changeset/base/223505
> Tidy up a capabilities-related comment.
> This comment refers to an #ifdef that hasn't been merged [yet?]; remove it.
> Approved by: rwatson
Thanks! Can you close PR kern/148801 as well?
This comment was mistakenly left after "Sweep kernel replacing suser(9) calls
with priv(9) calls" (svn r164033 by rwatson@) in which the exp. CAPABILITIES
facility transformed to currently operating priv(9).
After that the comment has lost its relevance. May be applied down to 7.x.
> Modified: head/sys/kern/vfs_subr.c
> --- head/sys/kern/vfs_subr.c Fri Jun 24 14:31:30 2011 (r223504)
> +++ head/sys/kern/vfs_subr.c Fri Jun 24 14:40:22 2011 (r223505)
> @@ -3590,9 +3590,6 @@ vn_isdisk(struct vnode *vp, int *errp)
> * 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.
> vaccess(enum vtype type, mode_t file_mode, uid_t file_uid, gid_t file_gid,
More information about the svn-src-head