]> git.saurik.com Git - apple/xnu.git/blob - security/mac_pty.c
xnu-3789.70.16.tar.gz
[apple/xnu.git] / security / mac_pty.c
1 #include <sys/vnode.h>
2 #include <sys/kauth.h>
3 #include <sys/param.h>
4 #include <sys/tty.h>
5 #include <security/mac_framework.h>
6 #include <security/mac_internal.h>
7
8 void
9 mac_pty_notify_grant(proc_t p, struct tty *tp, dev_t dev, struct label *label) {
10 MAC_PERFORM(pty_notify_grant, p, tp, dev, label);
11 }
12
13 void
14 mac_pty_notify_close(proc_t p, struct tty *tp, dev_t dev, struct label *label) {
15 MAC_PERFORM(pty_notify_close, p, tp, dev, label);
16 }