Date: Sat, 21 Jun 2003 20:57:12 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 33501 for review Message-ID: <200306220357.h5M3vC4Z023725@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=33501 Change 33501 by rwatson@rwatson_powerbook on 2003/06/21 20:56:26 Add labels to struct socket. Affected files ... .. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/socketvar.h#2 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/sys/socketvar.h#2 (text+ko) ==== @@ -61,6 +61,7 @@ #define _SYS_SOCKETVAR_H_ #include <sys/appleapiopts.h> +#include <sys/_label.h> /* for struct label */ #include <sys/queue.h> /* for TAILQ macros */ #include <sys/select.h> /* for struct selinfo */ #include <net/kext_net.h> @@ -172,6 +173,8 @@ void (*so_upcall) __P((struct socket *so, caddr_t arg, int waitf)); caddr_t so_upcallarg; /* Arg for above */ uid_t so_uid; /* who opened the socket */ + struct label so_label; /* MAC label for socket */ + struct label so_peerlabel; /* cached MAC label for socket peer */ /* NB: generation count must not be first; easiest to make it last. */ so_gen_t so_gencnt; /* generation count */ #ifndef __APPLE__
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306220357.h5M3vC4Z023725>