commit | a2737333c795cae2aa4e31deed95a8e155d64d4a | [log] [tgz] |
---|---|---|
author | Guillem Jover <guillem@debian.org> | Tue Nov 20 16:27:55 2012 +0100 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Mon Jan 06 14:06:03 2014 -0500 |
tree | 0c55602b96b3011422065358d2955205ae850739 | |
parent | 2ba1541f218234b2b9fd39dc6a766f5ff9d0908c [diff] |
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>