libselinux/libselinux-rhat.patch

22 lines
673 B
Diff
Raw Normal View History

diff --exclude-from=exclude -N -u -r nsalibselinux/src/context.c libselinux-1.25.3/src/context.c
--- 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);
- }
-}
hidden_def(context_range_set)
#ifdef L1TEST