2005-08-24 13:15:02 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/src/context.c libselinux-1.25.3/src/context.c
|
2005-08-25 20:21:14 +00:00
|
|
|
--- nsalibselinux/src/context.c 2005-08-25 16:18:01.000000000 -0400
|
|
|
|
+++ libselinux-1.25.3/src/context.c 2005-08-24 16:48:20.000000000 -0400
|
|
|
|
@@ -181,16 +180,8 @@
|
|
|
|
def_set(type,COMP_TYPE)
|
|
|
|
def_set(role,COMP_ROLE)
|
|
|
|
def_set(user,COMP_USER)
|
|
|
|
+def_set(range,COMP_RANGE)
|
|
|
|
|
|
|
|
-int context_range_set(context_t context,const char* str)
|
|
|
|
-{
|
|
|
|
- context_private_t *n = context->ptr;
|
|
|
|
- if ( ! n->component[COMP_RANGE] ) {
|
|
|
|
- return 0;
|
|
|
|
- } else {
|
|
|
|
- return set_comp(n,COMP_RANGE,str);
|
2005-08-24 13:15:02 +00:00
|
|
|
- }
|
2005-08-25 20:21:14 +00:00
|
|
|
-}
|
|
|
|
hidden_def(context_range_set)
|
2005-08-24 13:15:02 +00:00
|
|
|
|
2005-08-25 20:21:14 +00:00
|
|
|
#ifdef L1TEST
|