diff options
author | Guillem Jover <guillem@debian.org> | 2012-11-20 16:27:55 +0100 |
---|---|---|
committer | Stephen Smalley <sds@tycho.nsa.gov> | 2014-01-06 14:06:03 -0500 |
commit | a2737333c795cae2aa4e31deed95a8e155d64d4a (patch) | |
tree | 0c55602b96b3011422065358d2955205ae850739 /libselinux/utils/getdefaultcon.c | |
parent | 2ba1541f218234b2b9fd39dc6a766f5ff9d0908c (diff) | |
download | android_external_selinux-a2737333c795cae2aa4e31deed95a8e155d64d4a.tar.gz android_external_selinux-a2737333c795cae2aa4e31deed95a8e155d64d4a.tar.bz2 android_external_selinux-a2737333c795cae2aa4e31deed95a8e155d64d4a.zip |
libselinux: Refactor rpm_execcon() into a new setexecfilecon()
This new function allows a process to invoke helper programs with
a new execution context based on the filename, this is initially
intended for package managers so that they can easily execute
package scriptlets or maintainer scripts.
Base rpm_execcon() off this new function.
Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'libselinux/utils/getdefaultcon.c')
0 files changed, 0 insertions, 0 deletions