summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_none/mac_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac_none/mac_none.c')
-rw-r--r--sys/security/mac_none/mac_none.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c
index bc2da67..e473dd8 100644
--- a/sys/security/mac_none/mac_none.c
+++ b/sys/security/mac_none/mac_none.c
@@ -799,16 +799,16 @@ mac_none_check_vnode_open(struct ucred *cred, struct vnode *vp,
}
static int
-mac_none_check_vnode_poll(struct ucred *cred, struct vnode *vp,
- struct label *label)
+mac_none_check_vnode_poll(struct ucred *active_cred, struct ucred *file_cred,
+ struct vnode *vp, struct label *label)
{
return (0);
}
static int
-mac_none_check_vnode_read(struct ucred *cred, struct vnode *vp,
- struct label *label)
+mac_none_check_vnode_read(struct ucred *active_cred, struct ucred *file_cred,
+ struct vnode *vp, struct label *label)
{
return (0);
@@ -913,16 +913,16 @@ mac_none_check_vnode_setutimes(struct ucred *cred, struct vnode *vp,
}
static int
-mac_none_check_vnode_stat(struct ucred *cred, struct vnode *vp,
- struct label *label)
+mac_none_check_vnode_stat(struct ucred *active_cred, struct ucred *file_cred,
+ struct vnode *vp, struct label *label)
{
return (0);
}
static int
-mac_none_check_vnode_write(struct ucred *cred, struct vnode *vp,
- struct label *label)
+mac_none_check_vnode_write(struct ucred *active_cred,
+ struct ucred *file_cred, struct vnode *vp, struct label *label)
{
return (0);
OpenPOWER on IntegriCloud