From: Joshua Brindle <jbrindle@tresys.com>
To: SELinux List <SELinux@tycho.nsa.gov>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Subject: [PATCH] Add swig wrappers for libsemanage
Date: Mon, 14 Nov 2005 09:22:00 -0500 [thread overview]
Message-ID: <43789D88.2070005@tresys.com> (raw)
This adds wrappers for some functions in libsemanage. The only wrapped
interfaces at this point are query functions for modules, seuser, and
user's. These should be sufficient for genhomedircon, and we can add
more wrapped interfaces as necessary.
There is a test script that shows how the functions work in
libsemanage/src/pywrap-test.py
This patch also includes the generated files so that swig isn't required
to build the repository. However, if the libsemanage interfaces change,
or more interfaces are added to the swig interface file you must make
swigify in the libsemanage/src directory to regenerate the files, and
include them in any patch.
To build the wrappers you can use make install-pywrap from the root
directory, this behavior can be changed to be default, however, if these
wrappers are required for most systems.
The patch is rather large due to the generated file so here is a link:
http://sepolicy-server.sourceforge.net/1-swigify-libsemanage.diff
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
reply other threads:[~2005-11-14 14:22 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=43789D88.2070005@tresys.com \
--to=jbrindle@tresys.com \
--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.