summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_bsdextended
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-11-08 18:04:36 +0000
committerrwatson <rwatson@FreeBSD.org>2002-11-08 18:04:36 +0000
commitf3748b0c0b9b7ae4a57068095ab2eb98aaea333d (patch)
tree229b6b138af158da4b65f931e1632502f1dde91f /sys/security/mac_bsdextended
parent95c4afbed0766fa2e0e178afbc7d5beb07b7d2da (diff)
downloadFreeBSD-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_bsdextended')
-rw-r--r--sys/security/mac_bsdextended/mac_bsdextended.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c
index 840a456..d090884 100644
--- a/sys/security/mac_bsdextended/mac_bsdextended.c
+++ b/sys/security/mac_bsdextended/mac_bsdextended.c
@@ -394,7 +394,8 @@ mac_bsdextended_check_vnode_deleteacl(struct ucred *cred, struct vnode *vp,
static int
mac_bsdextended_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)
{
struct vattr vap;
int error;
OpenPOWER on IntegriCloud