aboutsummaryrefslogtreecommitdiff
path: root/sys/security/mac/mac_policy.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2003-12-06 21:48:03 +0000
committerRobert Watson <rwatson@FreeBSD.org>2003-12-06 21:48:03 +0000
commit56d9e932072f81ebaa7bb1bf5995a46813bc91c4 (patch)
tree80bf1fc6acf72a565465aa4b66b0dba3b2b80af2 /sys/security/mac/mac_policy.h
parent302e8edbe896cca55f36187a0a551b1f4a89103b (diff)
Notes
Diffstat (limited to 'sys/security/mac/mac_policy.h')
-rw-r--r--sys/security/mac/mac_policy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_policy.h b/sys/security/mac/mac_policy.h
index 518f883c3c12b..be432535c7a85 100644
--- a/sys/security/mac/mac_policy.h
+++ b/sys/security/mac/mac_policy.h
@@ -111,6 +111,8 @@ struct mac_policy_ops {
void (*mpo_destroy_pipe_label)(struct label *label);
void (*mpo_destroy_proc_label)(struct label *label);
void (*mpo_destroy_vnode_label)(struct label *label);
+ void (*mpo_copy_cred_label)(struct label *src,
+ struct label *dest);
void (*mpo_copy_mbuf_label)(struct label *src,
struct label *dest);
void (*mpo_copy_pipe_label)(struct label *src,
@@ -264,8 +266,6 @@ struct mac_policy_ops {
/*
* Labeling event operations: processes.
*/
- void (*mpo_create_cred)(struct ucred *parent_cred,
- struct ucred *child_cred);
void (*mpo_execve_transition)(struct ucred *old, struct ucred *new,
struct vnode *vp, struct label *vnodelabel,
struct label *interpvnodelabel,