Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 16:45:30 GMT
From:      Andrew Reisse <areisse@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 70771 for review
Message-ID:  <200502101645.j1AGjUnR096047@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=70771

Change 70771 by areisse@areisse_tislabs on 2005/02/10 16:45:03

	Cleanups from conversion to 32-bit access_vector_t.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/contrib/sebsd/libselinux/include/selinux/selinux.h#3 edit
.. //depot/projects/trustedbsd/sebsd/lib/libsebsd/security_compute_av.c#4 edit
.. //depot/projects/trustedbsd/sebsd/sbin/sebsd_setfiles/setfiles.c#2 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/contrib/sebsd/libselinux/include/selinux/selinux.h#3 (text+ko) ====

@@ -5,7 +5,7 @@
 
 #define _LINUX_FLASK_TYPES_H_
 typedef unsigned short security_class_t;
-typedef unsigned long long access_vector_t;
+typedef unsigned int access_vector_t;
 typedef char *security_context_t;
 
 /* Return 1 if we are running on a SELinux kernel, or 0 if not or -1 if we get an error. */

==== //depot/projects/trustedbsd/sebsd/lib/libsebsd/security_compute_av.c#4 (text+ko) ====

@@ -45,7 +45,7 @@
 #include "sebsd.h"
 
 typedef char __assert_class_size[sizeof(security_class_t) == 2 ? 1 : -1];
-typedef char __assert_av_size[sizeof(access_vector_t) == 8 ? 1 : -1];
+typedef char __assert_av_size[sizeof(access_vector_t) == 4 ? 1 : -1];
 
 /*
  * Return the decisions SEBSD makes given a specific access vector.

==== //depot/projects/trustedbsd/sebsd/sbin/sebsd_setfiles/setfiles.c#2 (text+ko) ====

@@ -49,7 +49,7 @@
 #include <err.h>
 
 #include <flask.h>
-#include <sebsd.h>
+#include <selinux/selinux.h>
 
 static char errbuf[255 + 1];    /* Error message buffer */
 static int verbose = 0;



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