[SELinux commit]SELinux userland upstream repository branch, master, updated. 20080909-39-g0a515c4
sds at oss.tresys.com
sds at oss.tresys.com
Wed Nov 12 08:18:29 CST 2008
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SELinux userland upstream repository".
The branch, master has been updated
via 0a515c461000f9b1f74b79714ccf0d1d4b775c8a (commit)
from 223bb406d85e29482ed075c4b4d8b2dd6cc743f8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0a515c461000f9b1f74b79714ccf0d1d4b775c8a
Author: Stephen Smalley <sds at tycho.nsa.gov>
Date: Mon Nov 10 15:32:56 2008 -0500
libsemanage: Add semanage_mls_enabled interface
Add a semanage_mls_enabled() interface to libsemanage so that
semanage/seobject can be rewritten to use it to test whether MLS is
enabled for a given policy store rather than checking the runtime MLS
enabled status, which can be misleading when using semanage on a
SELinux-disabled host or when using semanage on a store other than the
active one. Sample usage:
from semanage import *
handle = semanage_handle_create()
rc = semanage_connect(handle)
rc = semanage_mls_enabled(handle)
Signed-off-by: Stephen Smalley <sds at tycho.nsa.gov>
-----------------------------------------------------------------------
Summary of changes:
libsemanage/include/semanage/handle.h | 3 +++
libsemanage/src/direct_api.c | 19 +++++++++++++++++++
libsemanage/src/direct_api.h | 2 ++
libsemanage/src/handle.c | 14 ++++++++++++++
libsemanage/src/libsemanage.map | 1 +
libsemanage/src/semanage.py | 1 +
libsemanage/src/semanageswig_wrap.c | 23 +++++++++++++++++++++++
7 files changed, 63 insertions(+), 0 deletions(-)
hooks/post-receive
--
SELinux userland upstream repository
More information about the selinux-commits
mailing list