PERFORCE change 79855 for review

Robert Watson rwatson at FreeBSD.org
Sat Jul 9 18:59:11 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=79855

Change 79855 by rwatson at rwatson_zoo on 2005/07/09 18:58:32

	Catch up with FreeBSD 5.x: there's now a common "pipe_pair" object
	describing the results of the pipe() system call, and the label is
	hung off of that structure.  This doesn't affect functionality in
	SEBSD, as only certain entry point functions used the wrong (old)
	structure name, but fixes valid warnings.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#35 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#35 (text+ko) ====

@@ -757,7 +757,7 @@
  * in a pseudo filesystem.
  */
 static void
-sebsd_create_pipe(struct ucred *cred, struct pipe *pipe,
+sebsd_create_pipe(struct ucred *cred, struct pipepair *pipe,
    struct label *pipelabel)
 {
 	struct task_security_struct *tsec;
@@ -1075,7 +1075,7 @@
 }
 
 static int
-sebsd_check_pipe_write(struct ucred *cred, struct pipe *pp,
+sebsd_check_pipe_write(struct ucred *cred, struct pipepair *pp,
     struct label *pipelabel)
 {
 
@@ -1253,7 +1253,7 @@
 }
 
 static void
-sebsd_relabel_pipe(struct ucred *cred, struct pipe *pipe,
+sebsd_relabel_pipe(struct ucred *cred, struct pipepair *pipe,
     struct label *pipelabel, struct label *newlabel)
 {
 	struct vnode_security_struct *source, *dest;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list