PERFORCE change 20236 for review
Robert Watson
rwatson at freebsd.org
Sun Oct 27 07:15:03 GMT 2002
http://perforce.freebsd.org/chv.cgi?CH=20236
Change 20236 by rwatson at rwatson_tislabs on 2002/10/27 00:14:45
Rename the swapon hook. I'm not quite sure what the sort
order for sebsd.c is, so leave as is.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#52 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#52 (text+ko) ====
@@ -1063,7 +1063,7 @@
}
static int
-sebsd_check_vnode_swapon(struct ucred *cred, struct vnode *vp,
+sebsd_check_system_swapon(struct ucred *cred, struct vnode *vp,
struct label *vnodelabel)
{
return vnode_has_perm(cred, vp, FILE__SWAPON, NULL);
@@ -1297,8 +1297,8 @@
(macop_t)sebsd_check_vnode_setutimes },
{ MAC_CHECK_VNODE_STAT,
(macop_t)sebsd_check_vnode_stat },
- { MAC_CHECK_VNODE_SWAPON,
- (macop_t)sebsd_check_vnode_swapon },
+ { MAC_CHECK_SYSTEM_SWAPON,
+ (macop_t)sebsd_check_system_swapon },
{ MAC_CHECK_VNODE_WRITE,
(macop_t)sebsd_check_vnode_write },
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list