diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-08-22 17:39:39 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-08-22 17:39:39 +0000 |
commit | 74cad7031c18164b7b2a48428e748bd286e3134a (patch) | |
tree | af51eb7233ceb472f5283defafb62a7b320dfe60 | |
parent | a3a7830365857f6f4bbe910182ff690346d55aeb (diff) | |
download | FreeBSD-src-74cad7031c18164b7b2a48428e748bd286e3134a.zip FreeBSD-src-74cad7031c18164b7b2a48428e748bd286e3134a.tar.gz |
Add prototype for new libc function mac_prepare_type().
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
-rw-r--r-- | sys/security/mac/mac_framework.h | 1 | ||||
-rw-r--r-- | sys/sys/mac.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/security/mac/mac_framework.h b/sys/security/mac/mac_framework.h index b0d8829..735b07a 100644 --- a/sys/security/mac/mac_framework.h +++ b/sys/security/mac/mac_framework.h @@ -90,6 +90,7 @@ int mac_prepare(mac_t *_label, char *_elements); int mac_prepare_file_label(mac_t *_label); int mac_prepare_ifnet_label(mac_t *_label); int mac_prepare_process_label(mac_t *_label); +int mac_prepare_type(mac_t *_label, const char *_type); int mac_set_fd(int _fildes, const mac_t _label); int mac_set_file(const char *_path, mac_t _label); int mac_set_link(const char *_path, mac_t _label); diff --git a/sys/sys/mac.h b/sys/sys/mac.h index b0d8829..735b07a 100644 --- a/sys/sys/mac.h +++ b/sys/sys/mac.h @@ -90,6 +90,7 @@ int mac_prepare(mac_t *_label, char *_elements); int mac_prepare_file_label(mac_t *_label); int mac_prepare_ifnet_label(mac_t *_label); int mac_prepare_process_label(mac_t *_label); +int mac_prepare_type(mac_t *_label, const char *_type); int mac_set_fd(int _fildes, const mac_t _label); int mac_set_file(const char *_path, mac_t _label); int mac_set_link(const char *_path, mac_t _label); |