All of lore.kernel.org
 help / color / mirror / Atom feed
* [SEMANAGE] Active dbase: missed handle.h changes
@ 2005-12-23 11:20 Ivan Gyurdiev
  0 siblings, 0 replies; only message in thread
From: Ivan Gyurdiev @ 2005-12-23 11:20 UTC (permalink / raw)
  To: SELinux List; +Cc: Stephen Smalley

[-- Attachment #1: Type: text/plain, Size: 48 bytes --]

I need to work on reducing my exclusion list...

[-- Attachment #2: libsemanage5.1.active_handle.diff --]
[-- Type: text/x-patch, Size: 964 bytes --]

diff -Naurp --exclude-from excludes old/libsemanage/src/handle.h new/libsemanage/src/handle.h
--- old/libsemanage/src/handle.h	2005-11-09 09:52:55.000000000 -0500
+++ new/libsemanage/src/handle.h	2005-12-23 06:13:45.000000000 -0500
@@ -76,7 +76,7 @@ struct semanage_handle {
 	struct semanage_policy_table* funcs;
 
 	/* Object databases */
-#define DBASE_COUNT      9
+#define DBASE_COUNT      10
 
 #define DBASE_LOCAL_USERS       0
 #define DBASE_LOCAL_PORTS       1
@@ -88,6 +88,8 @@ struct semanage_handle {
 #define DBASE_POLICY_PORTS      6
 #define DBASE_POLICY_INTERFACES 7
 #define DBASE_POLICY_BOOLEANS   8
+
+#define DBASE_ACTIVE_BOOLEANS   9
 	dbase_config_t dbase[DBASE_COUNT];
 };
 
@@ -136,5 +138,10 @@ dbase_config_t* semanage_bool_dbase_poli
 	return &handle->dbase[DBASE_POLICY_BOOLEANS];
 }
 
+static inline
+dbase_config_t* semanage_bool_dbase_active(semanage_handle_t* handle) {
+	return &handle->dbase[DBASE_ACTIVE_BOOLEANS];
+}
+
 #endif
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-23 11:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-23 11:20 [SEMANAGE] Active dbase: missed handle.h changes Ivan Gyurdiev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.