diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-11-05 17:52:42 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-11-05 17:52:42 +0000 |
commit | d575478d80347ff57b672ba56f55bdd1f91334b1 (patch) | |
tree | 6058b1dbcbf71fdefe96738467b7f10e3de421d2 /sys/security/mac_test/mac_test.c | |
parent | 6c4f4d26f40ce589a67efe5260b3ba8b84d18f53 (diff) | |
download | FreeBSD-src-d575478d80347ff57b672ba56f55bdd1f91334b1.zip FreeBSD-src-d575478d80347ff57b672ba56f55bdd1f91334b1.tar.gz |
Update policy modules for changes in arguments associated with support
for label access on the interpreter, not just the shell script. No
policies currently present in the system rely on the new labels.
Diffstat (limited to 'sys/security/mac_test/mac_test.c')
-rw-r--r-- | sys/security/mac_test/mac_test.c | 8 |
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 7fbac6c..d630c57 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -766,14 +766,16 @@ 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 vnode *vp, struct label *filelabel, + struct label *interpvnodelabel, struct image_params *imgp) { } static int mac_test_execve_will_transition(struct ucred *old, struct vnode *vp, - struct label *filelabel) + struct label *filelabel, struct label *interpvnodelabel, + struct image_params *imgp) { return (0); @@ -1014,7 +1016,7 @@ 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 label *label, struct image_params *imgp) { return (0); |