Home
last modified time | relevance | path

Searched refs:create_user_ns (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Ddeny_namespace.c32 static int create_user_ns(void) in create_user_ns() function
56 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()
/linux-6.12.1/include/linux/
Duser_namespace.h169 extern int create_user_ns(struct cred *new);
200 static inline int create_user_ns(struct cred *new) in create_user_ns() function
/linux-6.12.1/kernel/
Duser_namespace.c82 int create_user_ns(struct cred *new) in create_user_ns() function
186 err = create_user_ns(cred); in unshare_userns()
Dcred.c317 ret = create_user_ns(new); in copy_creds()