From owner-p4-projects@FreeBSD.ORG Sat Jul 9 18:40:49 2005 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 5FCA216A420; Sat, 9 Jul 2005 18:40:49 +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 3644716A41C for ; Sat, 9 Jul 2005 18:40:49 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FBB43D45 for ; Sat, 9 Jul 2005 18:40:49 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j69IemEh082804 for ; Sat, 9 Jul 2005 18:40:48 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j69Iem57082801 for perforce@freebsd.org; Sat, 9 Jul 2005 18:40:48 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Sat, 9 Jul 2005 18:40:48 GMT Message-Id: <200507091840.j69Iem57082801@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 79854 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: Sat, 09 Jul 2005 18:40:50 -0000 http://perforce.freebsd.org/chv.cgi?CH=79854 Change 79854 by rwatson@rwatson_zoo on 2005/07/09 18:40:34 Add prototypes for functions; the FreeBSD kernel build has more strict prototyping requirements than the Linux kernel version this SEBSD code is derived from. Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/ss/security.h#9 edit .. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/ss/sidtab.h#5 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/ss/security.h#9 (text+ko) ==== @@ -94,7 +94,7 @@ #define security_free_context(ctx) ({ if (ctx) free(ctx, M_SEBSD); }) int security_get_bool_string(int *len, char *out); -int security_commit_pending_bools(); +int security_commit_pending_bools(void); int security_set_bool(char *name, int value); int security_get_bool(char *name, int *value, int *pending); ==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/ss/sidtab.h#5 (text+ko) ==== @@ -38,6 +38,7 @@ int sidtab_init(struct sidtab *s); int sidtab_insert(struct sidtab *s, security_id_t sid, struct context *context); +int sidtab_remove(struct sidtab *s, security_id_t sid); struct context *sidtab_search(struct sidtab *s, security_id_t sid); int sidtab_map(struct sidtab *s,