summaryrefslogtreecommitdiffstats
path: root/sys/security/mac/mac_internal.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-11-06 03:42:43 +0000
committerrwatson <rwatson@FreeBSD.org>2003-11-06 03:42:43 +0000
commitc7fff281b1aed8ec30891857df70952ab61e7f92 (patch)
treeb63348ba70defd284f4b92322effd5a78583d415 /sys/security/mac/mac_internal.h
parente150e86d4b330ca1b7ec95e742e4555f84eb9c16 (diff)
downloadFreeBSD-src-c7fff281b1aed8ec30891857df70952ab61e7f92.zip
FreeBSD-src-c7fff281b1aed8ec30891857df70952ab61e7f92.tar.gz
Remove the flags argument from mac_externalize_*_label(), as it's not
passed into policies or used internally to the MAC Framework. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac/mac_internal.h')
-rw-r--r--sys/security/mac/mac_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/security/mac/mac_internal.h b/sys/security/mac/mac_internal.h
index 7e8e483..3b87955 100644
--- a/sys/security/mac/mac_internal.h
+++ b/sys/security/mac/mac_internal.h
@@ -101,7 +101,7 @@ int mac_allocate_slot(void);
int mac_check_cred_relabel(struct ucred *cred, struct label *newlabel);
void mac_destroy_cred_label(struct label *label);
int mac_externalize_cred_label(struct label *label, char *elements,
- char *outbuf, size_t outbuflen, int flags);
+ char *outbuf, size_t outbuflen);
void mac_init_cred_label(struct label *label);
int mac_internalize_cred_label(struct label *label, char *string);
void mac_relabel_cred(struct ucred *cred, struct label *newlabel);
@@ -109,12 +109,12 @@ void mac_relabel_cred(struct ucred *cred, struct label *newlabel);
void mac_copy_pipe_label(struct label *src, struct label *dest);
void mac_destroy_pipe_label(struct label *label);
int mac_externalize_pipe_label(struct label *label, char *elements,
- char *outbuf, size_t outbuflen, int flags);
+ char *outbuf, size_t outbuflen);
void mac_init_pipe_label(struct label *label);
int mac_internalize_pipe_label(struct label *label, char *string);
int mac_externalize_vnode_label(struct label *label, char *elements,
- char *outbuf, size_t outbuflen, int flags);
+ char *outbuf, size_t outbuflen);
int mac_internalize_vnode_label(struct label *label, char *string);
void mac_check_vnode_mmap_downgrade(struct ucred *cred, struct vnode *vp,
int *prot);
OpenPOWER on IntegriCloud