From owner-p4-projects@FreeBSD.ORG Thu Feb 9 20:23:16 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 78CB016A423; Thu, 9 Feb 2006 20:23:15 +0000 (GMT) X-Original-To: perforce@freebsd.org 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 36C6816A420 for ; Thu, 9 Feb 2006 20:23:15 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D7F43D7C for ; Thu, 9 Feb 2006 20:23:11 +0000 (GMT) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k19KNBTf031339 for ; Thu, 9 Feb 2006 20:23:11 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k19KNBdm031336 for perforce@freebsd.org; Thu, 9 Feb 2006 20:23:11 GMT (envelope-from millert@freebsd.org) Date: Thu, 9 Feb 2006 20:23:11 GMT Message-Id: <200602092023.k19KNBdm031336@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to millert@freebsd.org using -f From: Todd Miller To: Perforce Change Reviews Cc: Subject: PERFORCE change 91458 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 20:23:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=91458 Change 91458 by millert@millert_ibook on 2006/02/09 20:22:10 Add prototypes for sebsd_* functions that live in the libselinux dir. These should probably move in the future. Affected files ... .. //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/sebsd.h#5 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/sebsd.h#5 (text+ko) ==== @@ -64,6 +64,11 @@ extern int thread_has_system(struct thread *td, access_vector_t perm); extern int thread_has_security(struct thread *td, access_vector_t perm); #endif -#endif /* _KERNEL */ +#else /* !_KERNEL */ +extern int sebsd_enabled(void); +extern int sebsd_enforcing(void); +extern int sebsd_load_policy(const char *); +extern int sebsd_load_migscs(const char *); +#endif /* !_KERNEL */ #endif /* _SYS_SECURITY_SEBSD_H */