From owner-p4-projects@FreeBSD.ORG Thu Feb 10 16:45:31 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 08E0616A4D0; Thu, 10 Feb 2005 16:45:31 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C017A16A4CE for ; Thu, 10 Feb 2005 16:45:30 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A361B43D39 for ; Thu, 10 Feb 2005 16:45:30 +0000 (GMT) (envelope-from areisse@nailabs.com) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1AGjU0p096050 for ; Thu, 10 Feb 2005 16:45:30 GMT (envelope-from areisse@nailabs.com) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1AGjUnR096047 for perforce@freebsd.org; Thu, 10 Feb 2005 16:45:30 GMT (envelope-from areisse@nailabs.com) Date: Thu, 10 Feb 2005 16:45:30 GMT Message-Id: <200502101645.j1AGjUnR096047@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to areisse@nailabs.com using -f From: Andrew Reisse To: Perforce Change Reviews Subject: PERFORCE change 70771 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2005 16:45:31 -0000 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 #include -#include +#include static char errbuf[255 + 1]; /* Error message buffer */ static int verbose = 0;