From owner-p4-projects Thu Aug 22 10:18:24 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 432E837B401; Thu, 22 Aug 2002 10:18:19 -0700 (PDT) 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 D539137B400 for ; Thu, 22 Aug 2002 10:18:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9578143E72 for ; Thu, 22 Aug 2002 10:18:18 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7MHIIJU087254 for ; Thu, 22 Aug 2002 10:18:18 -0700 (PDT) (envelope-from cvance@tislabs.com) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7MHIIip087251 for perforce@freebsd.org; Thu, 22 Aug 2002 10:18:18 -0700 (PDT) Date: Thu, 22 Aug 2002 10:18:18 -0700 (PDT) Message-Id: <200208221718.g7MHIIip087251@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to cvance@tislabs.com using -f From: Chris Vance Subject: PERFORCE change 16428 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16428 Change 16428 by cvance@cvance_laptop on 2002/08/22 10:18:07 Move some definitions into _KERNEL blocks and move one out. Resolves issues compiling userspace sebsd apps (sebsd_checkpolicy) Affected files ... .. //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.h#7 edit .. //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.h#7 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.h#7 (text+ko) ==== @@ -342,8 +342,10 @@ #define AVC_CALLBACK_AUDITDENY_ENABLE 64 #define AVC_CALLBACK_AUDITDENY_DISABLE 128 +#ifdef _KERNEL extern int sys_avc_toggle(struct thread *td); extern int sys_avc_enforcing(struct thread *td); +#endif #endif /* _LINUX_AVC_H_ */ ==== //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.h#7 (text+ko) ==== @@ -43,10 +43,11 @@ #define SEBSD_MAC_EXTATTR_NAME "sebsd" #define SEBSD_MAC_EXTATTR_NAMESPACE EXTATTR_NAMESPACE_SYSTEM +extern int avc_debug_always_allow; + #ifdef _KERNEL MALLOC_DECLARE(M_SEBSD); -extern int avc_debug_always_allow; extern int sebsd_verbose; extern int security_init(void); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message