Searched refs:create_user_ns (Results 1 – 4 of 4) sorted by relevance
32 static int create_user_ns(void) in create_user_ns() function56 ASSERT_OK(create_user_ns(), "priv new user ns"); in test_userns_create_bpf()60 ASSERT_EQ(create_user_ns(), EPERM, "unpriv new user ns"); in test_userns_create_bpf()73 ASSERT_OK(create_user_ns(), "no-bpf unpriv new user ns"); in test_unpriv_userns_create_no_bpf()
169 extern int create_user_ns(struct cred *new);200 static inline int create_user_ns(struct cred *new) in create_user_ns() function
82 int create_user_ns(struct cred *new) in create_user_ns() function186 err = create_user_ns(cred); in unshare_userns()
317 ret = create_user_ns(new); in copy_creds()