Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2002 15:36:40 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10608 for review
Message-ID:  <200205012236.g41Maeq03178@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10608

Change 10608 by rwatson@rwatson_curry on 2002/05/01 15:36:26

	Add an additional label to 'struct socket': struct label
	so_peerlabel.  This will hold a copy of the label associated with
	the peering socket, or an appropriately derived socket generated
	in the network stack.  Until we have a notion of "undefined
	labels", this will work pseudo-well.

Affected files ...

... //depot/projects/trustedbsd/mac/sys/sys/socketvar.h#13 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/sys/socketvar.h#13 (text+ko) ====

@@ -129,6 +129,7 @@
 	void	*so_upcallarg;
 	struct	ucred *so_cred;		/* user credentials */
 	struct	mac so_label;		/* socket MAC label */
+	struct	mac so_peerlabel;	/* socket peer MAC label */
 	/* NB: generation count must not be first; easiest to make it last. */
 	so_gen_t so_gencnt;		/* generation count */
 	void	*so_emuldata;		/* private data for emulators */

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205012236.g41Maeq03178>