]> git.saurik.com Git - apple/xnu.git/blame - security/mac_kext.c
xnu-3789.70.16.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}
3e170ce0
A
23
24int
25mac_kext_check_query(kauth_cred_t cred) {
26 int error;
27
28 MAC_CHECK(kext_check_query, cred);
29
30 return (error);
31}
32