]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | int | |
7 | mac_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 | ||
15 | int | |
16 | mac_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 | |
24 | int | |
25 | mac_kext_check_query(kauth_cred_t cred) { | |
26 | int error; | |
27 | ||
28 | MAC_CHECK(kext_check_query, cred); | |
29 | ||
30 | return (error); | |
31 | } | |
32 |