From owner-p4-projects@FreeBSD.ORG Fri Feb 23 16:55:06 2007 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 9AE9D16A406; Fri, 23 Feb 2007 16:55:06 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69EA716A402 for ; Fri, 23 Feb 2007 16:55:06 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 4C03A13C48E for ; Fri, 23 Feb 2007 16:55:06 +0000 (UTC) (envelope-from millert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1NGt6df042943 for ; Fri, 23 Feb 2007 16:55:06 GMT (envelope-from millert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1NGt6YY042937 for perforce@freebsd.org; Fri, 23 Feb 2007 16:55:06 GMT (envelope-from millert@freebsd.org) Date: Fri, 23 Feb 2007 16:55:06 GMT Message-Id: <200702231655.l1NGt6YY042937@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 114876 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: Fri, 23 Feb 2007 16:55:06 -0000 http://perforce.freebsd.org/chv.cgi?CH=114876 Change 114876 by millert@millert_macbook on 2007/02/23 16:54:13 s/-ENOMEM/ENOMEM/ Affected files ... .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.c#4 edit .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.h#4 edit .. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/mls.h#4 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.c#4 (text+ko) ==== @@ -95,7 +95,7 @@ c_iter = netlbl_secattr_catmap_alloc(GFP_ATOMIC); if (c_iter == NULL) - return -ENOMEM; + return ENOMEM; *catmap = c_iter; c_iter->startbit = e_iter->startbit & ~(NETLBL_CATMAP_SIZE - 1); @@ -119,7 +119,7 @@ netlbl_export_failure: netlbl_secattr_catmap_free(*catmap); - return -ENOMEM; + return ENOMEM; } /** @@ -175,7 +175,7 @@ netlbl_import_failure: ebitmap_destroy(ebmap); - return -ENOMEM; + return ENOMEM; } #endif /* CONFIG_NETLABEL */ ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/ebitmap.h#4 (text+ko) ==== @@ -88,12 +88,12 @@ static inline int ebitmap_netlbl_export(struct ebitmap *ebmap, struct netlbl_lsm_secattr_catmap **catmap) { - return -ENOMEM; + return ENOMEM; } static inline int ebitmap_netlbl_import(struct ebitmap *ebmap, struct netlbl_lsm_secattr_catmap *catmap) { - return -ENOMEM; + return ENOMEM; } #endif ==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/mls.h#4 (text+ko) ==== @@ -72,12 +72,12 @@ static inline int mls_export_netlbl_cat(struct context *context, struct netlbl_lsm_secattr *secattr) { - return -ENOMEM; + return ENOMEM; } static inline int mls_import_netlbl_cat(struct context *context, struct netlbl_lsm_secattr *secattr) { - return -ENOMEM; + return ENOMEM; } #endif