diff options
author | Andy Lutomirski | 2013-01-14 16:58:57 +0100 |
---|---|---|
committer | Karel Zak | 2013-02-05 10:35:33 +0100 |
commit | 5600c405d5f1b12cad94915014e7cb46bf8fb746 (patch) | |
tree | f453cc2e60983039c4a0ab4add394e94c8e3b9e4 /sys-utils/Makemodule.am | |
parent | libblkid: add blkid_probe_step_back() (diff) | |
download | kernel-qcow2-util-linux-5600c405d5f1b12cad94915014e7cb46bf8fb746.tar.gz kernel-qcow2-util-linux-5600c405d5f1b12cad94915014e7cb46bf8fb746.tar.xz kernel-qcow2-util-linux-5600c405d5f1b12cad94915014e7cb46bf8fb746.zip |
setpriv: run a program with different Linux privilege settings
This new command can set no_new_privs, uid, gid, groups, securebits,
inheritable caps, the cap bounding set, securebits, and selinux and
apparmor labels.
[kerolasa@iki.fi: a lot of small adjustment making the command to be good
fit to util-linux project]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r-- | sys-utils/Makemodule.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index 978d97f7d..86c529eae 100644 --- a/sys-utils/Makemodule.am +++ b/sys-utils/Makemodule.am @@ -318,3 +318,10 @@ if HAVE_AUDIT hwclock_LDADD += -laudit endif endif # BUILD_HWCLOCK + +if BUILD_SETPRIV +usrbin_exec_PROGRAMS += setpriv +dist_man_MANS += sys-utils/setpriv.1 +setpriv_SOURCES = sys-utils/setpriv.c +setpriv_LDADD = $(LDADD) -lcap-ng libcommon.la +endif |