OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MoveToNewUserNS
(Results
1 - 4
of
4
) sorted by null
/external/libchrome/sandbox/linux/services/
credentials_unittest.cc
69
SANDBOX_TEST(Credentials,
MoveToNewUserNS
) {
71
bool moved_to_new_ns = Credentials::
MoveToNewUserNS
();
90
bool moved_to_new_ns = Credentials::
MoveToNewUserNS
();
101
if (!Credentials::
MoveToNewUserNS
()) return;
116
if (!Credentials::
MoveToNewUserNS
() ||
128
if (!Credentials::
MoveToNewUserNS
()) return;
150
if (!Credentials::
MoveToNewUserNS
()) return;
166
if (!Credentials::
MoveToNewUserNS
()) return;
173
CHECK(!Credentials::
MoveToNewUserNS
());
178
if (!Credentials::
MoveToNewUserNS
())
[
all
...]
credentials.h
70
// in using this method right before calling
MoveToNewUserNS
(), simply call
71
//
MoveToNewUserNS
() immediately. This method is only useful to test the
82
static bool
MoveToNewUserNS
() WARN_UNUSED_RESULT;
88
// CAP_SYS_CHROOT can be acquired by using the
MoveToNewUserNS
() API.
namespace_sandbox_unittest.cc
115
CHECK(sandbox::Credentials::
MoveToNewUserNS
());
157
CHECK(sandbox::Credentials::
MoveToNewUserNS
());
179
CHECK(sandbox::Credentials::
MoveToNewUserNS
());
201
CHECK(sandbox::Credentials::
MoveToNewUserNS
());
credentials.cc
252
// enter a new user namespace with
MoveToNewUserNS
().
281
bool Credentials::
MoveToNewUserNS
() {
Completed in 53 milliseconds