From: Ivan Gyurdiev <ivg2@cornell.edu>
To: SELinux List <SELinux@tycho.nsa.gov>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Subject: [SEMANAGE] Active dbase: missed handle.h changes
Date: Fri, 23 Dec 2005 06:20:46 -0500 [thread overview]
Message-ID: <43ABDD8E.7030800@cornell.edu> (raw)
[-- 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
reply other threads:[~2005-12-23 11:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43ABDD8E.7030800@cornell.edu \
--to=ivg2@cornell.edu \
--cc=SELinux@tycho.nsa.gov \
--cc=sds@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.