diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-11-08 18:04:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-11-08 18:04:36 +0000 |
commit | f3748b0c0b9b7ae4a57068095ab2eb98aaea333d (patch) | |
tree | 229b6b138af158da4b65f931e1632502f1dde91f /sys/security/mac_stub | |
parent | 95c4afbed0766fa2e0e178afbc7d5beb07b7d2da (diff) | |
download | FreeBSD-src-f3748b0c0b9b7ae4a57068095ab2eb98aaea333d.zip FreeBSD-src-f3748b0c0b9b7ae4a57068095ab2eb98aaea333d.tar.gz |
Update MAC modules for changes in arguments for exec MAC policy
entry points to include an explicit execlabel.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_stub')
-rw-r--r-- | sys/security/mac_stub/mac_stub.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c index 127746b..7039420 100644 --- a/sys/security/mac_stub/mac_stub.c +++ b/sys/security/mac_stub/mac_stub.c @@ -417,7 +417,8 @@ mac_none_create_cred(struct ucred *cred_parent, struct ucred *cred_child) static void mac_none_execve_transition(struct ucred *old, struct ucred *new, struct vnode *vp, struct label *vnodelabel, - struct label *interpvnodelabel, struct image_params *imgp) + struct label *interpvnodelabel, struct image_params *imgp, + struct label *execlabel) { } @@ -425,7 +426,7 @@ mac_none_execve_transition(struct ucred *old, struct ucred *new, static int mac_none_execve_will_transition(struct ucred *old, struct vnode *vp, struct label *vnodelabel, struct label *interpvnodelabel, - struct image_params *imgp) + struct image_params *imgp, struct label *execlabel) { return (0); @@ -689,7 +690,8 @@ mac_none_check_vnode_deleteacl(struct ucred *cred, struct vnode *vp, static int mac_none_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); |