]> git.saurik.com Git - apple/xnu.git/blame - security/mac_kext.c
xnu-2782.1.97.tar.gz
[apple/xnu.git] / security / mac_kext.c
CommitLineData
39236c6e
A
1#include <sys/param.h>
2#include <sys/kauth.h>
3#include <security/mac_framework.h>
4#include <security/mac_internal.h>
5
6int
7mac_kext_check_load(kauth_cred_t cred, const char *identifier) {
8 int error;
9
10 MAC_CHECK(kext_check_load, cred, identifier);
11
12 return (error);
13}
14
15int
16mac_kext_check_unload(kauth_cred_t cred, const char *identifier) {
17 int error;
18
19 MAC_CHECK(kext_check_unload, cred, identifier);
20
21 return (error);
22}