[email protected]
[Top] [All Lists]

PERFORCE change 114876 for review

Subject: PERFORCE change 114876 for review
From: Todd Miller
Date: Fri, 23 Feb 2007 16:55:06 GMT
http://perforce.freebsd.org/chv.cgi?CH=114876

Change 114876 by [email protected]_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
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "[email protected]"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 114876 for review, Todd Miller <=