* [PATCH] Add swig wrappers for libsemanage
@ 2005-11-14 14:22 Joshua Brindle
0 siblings, 0 replies; only message in thread
From: Joshua Brindle @ 2005-11-14 14:22 UTC (permalink / raw)
To: SELinux List; +Cc: Stephen Smalley
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-14 14:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 14:22 [PATCH] Add swig wrappers for libsemanage Joshua Brindle
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.