Lines Matching refs:cpipe
89 mac_pipe_label(struct pipe *cpipe) in mac_pipe_label() argument
91 return cpipe->pipe_label; in mac_pipe_label()
95 mac_pipe_set_label(struct pipe *cpipe, struct label *label) in mac_pipe_set_label() argument
97 cpipe->pipe_label = label; in mac_pipe_set_label()
101 mac_pipe_label_init(struct pipe *cpipe) in mac_pipe_label_init() argument
103 mac_pipe_set_label(cpipe, mac_pipe_label_alloc()); in mac_pipe_label_init()
114 mac_pipe_label_destroy(struct pipe *cpipe) in mac_pipe_label_destroy() argument
116 struct label *label = mac_pipe_label(cpipe); in mac_pipe_label_destroy()
117 mac_pipe_set_label(cpipe, NULL); in mac_pipe_label_destroy()
122 mac_pipe_label_associate(kauth_cred_t cred, struct pipe *cpipe) in mac_pipe_label_associate() argument
124 MAC_PERFORM(pipe_label_associate, cred, cpipe, mac_pipe_label(cpipe)); in mac_pipe_label_associate()
129 struct pipe *cpipe) in mac_pipe_check_kqfilter() argument
139 MAC_CHECK(pipe_check_kqfilter, cred, kn, cpipe, mac_pipe_label(cpipe)); in mac_pipe_check_kqfilter()
143 mac_pipe_check_ioctl(kauth_cred_t cred, struct pipe *cpipe, u_long cmd) in mac_pipe_check_ioctl() argument
154 MAC_CHECK(pipe_check_ioctl, cred, cpipe, mac_pipe_label(cpipe), cmd); in mac_pipe_check_ioctl()
160 mac_pipe_check_read(kauth_cred_t cred, struct pipe *cpipe) in mac_pipe_check_read() argument
171 MAC_CHECK(pipe_check_read, cred, cpipe, mac_pipe_label(cpipe)); in mac_pipe_check_read()
177 mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe, int which) in mac_pipe_check_select() argument
188 MAC_CHECK(pipe_check_select, cred, cpipe, mac_pipe_label(cpipe), which); in mac_pipe_check_select()
194 mac_pipe_check_stat(kauth_cred_t cred, struct pipe *cpipe) in mac_pipe_check_stat() argument
205 MAC_CHECK(pipe_check_stat, cred, cpipe, mac_pipe_label(cpipe)); in mac_pipe_check_stat()
211 mac_pipe_check_write(kauth_cred_t cred, struct pipe *cpipe) in mac_pipe_check_write() argument
222 MAC_CHECK(pipe_check_write, cred, cpipe, mac_pipe_label(cpipe)); in mac_pipe_check_write()