Lines Matching refs:CAPNG_EFFECTIVE
405 if (CAPNG_EFFECTIVE & type)
420 if (CAPNG_EFFECTIVE & type)
477 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_SETPCAP)) {
576 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_SETPCAP) == 0 &&
579 CAPNG_EFFECTIVE|CAPNG_PERMITTED, CAP_SETPCAP);
581 if (gid == -1 || capng_have_capability(CAPNG_EFFECTIVE, CAP_SETGID))
585 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
588 if (uid == -1 || capng_have_capability(CAPNG_EFFECTIVE, CAP_SETUID))
592 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
640 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
643 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
647 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
783 if (which == CAPNG_EFFECTIVE)
798 if (which == CAPNG_EFFECTIVE)