Searched refs:noroot (Results 1 – 2 of 2) sorted by relevance
52 const unsigned int noroot = SECBIT_NOROOT | SECBIT_NOROOT_LOCKED; in _init_caps() local 54 if ((cap_get_secbits() & noroot) != noroot) in _init_caps() 55 EXPECT_EQ(0, cap_set_secbits(noroot)); in _init_caps()
43 const unsigned int noroot = SECBIT_NOROOT | SECBIT_NOROOT_LOCKED; in drop_privileges() local 46 if ((cap_get_secbits() & noroot) != noroot) in drop_privileges() 47 EXPECT_EQ(0, cap_set_secbits(noroot)); in drop_privileges()