Module: CapNG::Flags
- Defined in:
- ext/capng/enum-flags.c,
ext/capng/enum-flags.c
Overview
Define NO_FLAGS, DROP_SUPP_GRP, CLEAR_BOUNDING, and INIT_SUPP_GRP (if available) constants.
Constant Summary collapse
- NO_FLAG =
Simply change uid and retain specified capabilities and that’s all.
LONG2NUM(CAPNG_NO_FLAG)
- DROP_SUPP_GRP =
it will have no effect.
LONG2NUM(CAPNG_DROP_SUPP_GRP)
- CLEAR_BOUNDING =
Clear the bounding set regardless to the internal representation already setup prior to changing the uid/gid.
LONG2NUM(CAPNG_CLEAR_BOUNDING)
- INIT_SUPP_GRP =
Ubuntu Trusty’s libcap-ng-dev doesn’t have CAPNG_INIT_SUPP_GRP constant.
After changing id, initialize any supplement groups that may come with the new account. If given with Note