summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_test/mac_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/mac_test/mac_test.c')
-rw-r--r--sys/security/mac_test/mac_test.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c
index d630c57..7ab30d0 100644
--- a/sys/security/mac_test/mac_test.c
+++ b/sys/security/mac_test/mac_test.c
@@ -767,7 +767,8 @@ mac_test_create_cred(struct ucred *cred_parent, struct ucred *cred_child)
static void
mac_test_execve_transition(struct ucred *old, struct ucred *new,
struct vnode *vp, struct label *filelabel,
- struct label *interpvnodelabel, struct image_params *imgp)
+ struct label *interpvnodelabel, struct image_params *imgp,
+ struct label *execlabel)
{
}
@@ -775,7 +776,7 @@ mac_test_execve_transition(struct ucred *old, struct ucred *new,
static int
mac_test_execve_will_transition(struct ucred *old, struct vnode *vp,
struct label *filelabel, struct label *interpvnodelabel,
- struct image_params *imgp)
+ struct image_params *imgp, struct label *execlabel)
{
return (0);
@@ -1016,7 +1017,8 @@ mac_test_check_vnode_deleteacl(struct ucred *cred, struct vnode *vp,
static int
mac_test_check_vnode_exec(struct ucred *cred, struct vnode *vp,
- struct label *label, struct image_params *imgp)
+ struct label *label, struct image_params *imgp,
+ struct label *execlabel)
{
return (0);
OpenPOWER on IntegriCloud