dfa5faf
diff --exclude-from=exclude -N -u -r nsalibselinux/include/selinux/selinux.h libselinux-1.17.12/include/selinux/selinux.h
dfa5faf
--- nsalibselinux/include/selinux/selinux.h	2004-09-14 09:31:35.000000000 -0400
dfa5faf
+++ libselinux-1.17.12/include/selinux/selinux.h	2004-09-15 16:36:13.000000000 -0400
dfa5faf
@@ -197,6 +197,7 @@
dfa5faf
    policy root directory. */
dfa5faf
 extern const char *selinux_binary_policy_path(void);
dfa5faf
 extern const char *selinux_failsafe_context_path(void);
dfa5faf
+extern const char *selinux_removable_context_path(void);
dfa5faf
 extern const char *selinux_default_context_path(void);
dfa5faf
 extern const char *selinux_user_contexts_path(void);
dfa5faf
 extern const char *selinux_file_context_path(void);
dfa5faf
diff --exclude-from=exclude -N -u -r nsalibselinux/src/compat_file_path.h libselinux-1.17.12/src/compat_file_path.h
dfa5faf
--- nsalibselinux/src/compat_file_path.h	2004-09-14 09:31:35.000000000 -0400
dfa5faf
+++ libselinux-1.17.12/src/compat_file_path.h	2004-09-15 16:41:01.000000000 -0400
dfa5faf
@@ -8,3 +8,5 @@
dfa5faf
 S_(DEFAULT_TYPE, SECURITYDIR "/default_type")
dfa5faf
 S_(BOOLEANS, SECURITYDIR "/booleans")
dfa5faf
 S_(MEDIA_CONTEXTS, SECURITYDIR "/default_media")
dfa5faf
+S_(REMOVABLE_CONTEXT, SECURITYDIR "/removable_context")
9a368c5
+
dfa5faf
diff --exclude-from=exclude -N -u -r nsalibselinux/src/file_path_suffixes.h libselinux-1.17.12/src/file_path_suffixes.h
dfa5faf
--- nsalibselinux/src/file_path_suffixes.h	2004-09-14 09:31:35.000000000 -0400
dfa5faf
+++ libselinux-1.17.12/src/file_path_suffixes.h	2004-09-15 16:38:30.000000000 -0400
dfa5faf
@@ -8,3 +8,4 @@
dfa5faf
 S_(DEFAULT_TYPE, "/contexts/default_type")
dfa5faf
 S_(BOOLEANS, "/booleans")
dfa5faf
 S_(MEDIA_CONTEXTS, "/contexts/files/media")
dfa5faf
+S_(REMOVABLE_CONTEXT, "/contexts/removable_context")
dfa5faf
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux_config.c libselinux-1.17.12/src/selinux_config.c
dfa5faf
--- nsalibselinux/src/selinux_config.c	2004-09-14 09:31:36.000000000 -0400
dfa5faf
+++ libselinux-1.17.12/src/selinux_config.c	2004-09-15 16:39:02.000000000 -0400
dfa5faf
@@ -25,7 +25,8 @@
dfa5faf
 #define DEFAULT_TYPE      6
dfa5faf
 #define BOOLEANS          7
dfa5faf
 #define MEDIA_CONTEXTS    8
dfa5faf
-#define NEL               9
dfa5faf
+#define REMOVABLE_CONTEXT 9
dfa5faf
+#define NEL               10
dfa5faf
 
dfa5faf
 /* New layout is relative to SELINUXDIR/policytype. */
dfa5faf
 static char *file_paths[NEL];
dfa5faf
@@ -192,6 +193,11 @@
dfa5faf
 }
dfa5faf
 hidden_def(selinux_failsafe_context_path)
dfa5faf
 
dfa5faf
+const char *selinux_removable_context_path() {
dfa5faf
+  return get_path(REMOVABLE_CONTEXT);
9a368c5
+}
dfa5faf
+hidden_def(selinux_removable_context_path)
9a368c5
+
dfa5faf
 const char *selinux_binary_policy_path() {
dfa5faf
   return get_path(BINPOLICY);
dfa5faf
 }
dfa5faf
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux_internal.h libselinux-1.17.12/src/selinux_internal.h
dfa5faf
--- nsalibselinux/src/selinux_internal.h	2004-08-25 08:44:17.000000000 -0400
dfa5faf
+++ libselinux-1.17.12/src/selinux_internal.h	2004-09-15 16:32:14.000000000 -0400
dfa5faf
@@ -16,6 +16,7 @@
dfa5faf
 hidden_proto(security_getenforce)
dfa5faf
 hidden_proto(selinux_default_context_path)
dfa5faf
 hidden_proto(selinux_failsafe_context_path)
dfa5faf
+hidden_proto(selinux_removable_context_path)
dfa5faf
 hidden_proto(selinux_file_context_path)
dfa5faf
 hidden_proto(selinux_user_contexts_path)
dfa5faf
 hidden_proto(selinux_booleans_path)