]> git.saurik.com Git - apple/xnu.git/blame - security/mac_pty.c
xnu-3789.70.16.tar.gz
[apple/xnu.git] / security / mac_pty.c
CommitLineData
39236c6e
A
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
8void
9mac_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
13void
14mac_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}