From 91c2dc9478e5d20824897e9cc321d6912f0c16b6 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 1 Feb 2004 21:52:09 +0000 Subject: [PATCH] Commit file missed in last pass: MAC api uses 'struct pipepair', not 'struct pipe' now. --- sys/security/mac_stub/mac_stub.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c index 2ef6f5bfc10..067ce28e7b4 100644 --- a/sys/security/mac_stub/mac_stub.c +++ b/sys/security/mac_stub/mac_stub.c @@ -263,7 +263,7 @@ stub_create_socket(struct ucred *cred, struct socket *socket, } static void -stub_create_pipe(struct ucred *cred, struct pipe *pipe, +stub_create_pipe(struct ucred *cred, struct pipepair *pp, struct label *pipelabel) { @@ -285,7 +285,7 @@ stub_relabel_socket(struct ucred *cred, struct socket *socket, } static void -stub_relabel_pipe(struct ucred *cred, struct pipe *pipe, +stub_relabel_pipe(struct ucred *cred, struct pipepair *pp, struct label *pipelabel, struct label *newlabel) { @@ -595,7 +595,7 @@ stub_check_mount_stat(struct ucred *cred, struct mount *mp, } static int -stub_check_pipe_ioctl(struct ucred *cred, struct pipe *pipe, +stub_check_pipe_ioctl(struct ucred *cred, struct pipepair *pp, struct label *pipelabel, unsigned long cmd, void /* caddr_t */ *data) { @@ -603,7 +603,7 @@ stub_check_pipe_ioctl(struct ucred *cred, struct pipe *pipe, } static int -stub_check_pipe_poll(struct ucred *cred, struct pipe *pipe, +stub_check_pipe_poll(struct ucred *cred, struct pipepair *pp, struct label *pipelabel) { @@ -611,7 +611,7 @@ stub_check_pipe_poll(struct ucred *cred, struct pipe *pipe, } static int -stub_check_pipe_read(struct ucred *cred, struct pipe *pipe, +stub_check_pipe_read(struct ucred *cred, struct pipepair *pp, struct label *pipelabel) { @@ -619,7 +619,7 @@ stub_check_pipe_read(struct ucred *cred, struct pipe *pipe, } static int -stub_check_pipe_relabel(struct ucred *cred, struct pipe *pipe, +stub_check_pipe_relabel(struct ucred *cred, struct pipepair *pp, struct label *pipelabel, struct label *newlabel) { @@ -627,7 +627,7 @@ stub_check_pipe_relabel(struct ucred *cred, struct pipe *pipe, } static int -stub_check_pipe_stat(struct ucred *cred, struct pipe *pipe, +stub_check_pipe_stat(struct ucred *cred, struct pipepair *pp, struct label *pipelabel) { @@ -635,7 +635,7 @@ stub_check_pipe_stat(struct ucred *cred, struct pipe *pipe, } static int -stub_check_pipe_write(struct ucred *cred, struct pipe *pipe, +stub_check_pipe_write(struct ucred *cred, struct pipepair *pp, struct label *pipelabel) {