Home
last modified time | relevance | path

Searched refs:set_userns_rlimit_max (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/kernel/
Duser_namespace.c142 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_NPROC, enforced_nproc_rlimit()); in create_user_ns()
143 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_MSGQUEUE, rlimit(RLIMIT_MSGQUEUE)); in create_user_ns()
144 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_SIGPENDING, rlimit(RLIMIT_SIGPENDING)); in create_user_ns()
145 set_userns_rlimit_max(ns, UCOUNT_RLIMIT_MEMLOCK, rlimit(RLIMIT_MEMLOCK)); in create_user_ns()
Dfork.c931 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_NPROC, RLIM_INFINITY); in fork_init()
932 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MSGQUEUE, RLIM_INFINITY); in fork_init()
933 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_SIGPENDING, RLIM_INFINITY); in fork_init()
934 set_userns_rlimit_max(&init_user_ns, UCOUNT_RLIMIT_MEMLOCK, RLIM_INFINITY); in fork_init()
/linux-6.1.9/include/linux/
Duser_namespace.h143 static inline void set_userns_rlimit_max(struct user_namespace *ns, in set_userns_rlimit_max() function