Home
last modified time | relevance | path

Searched refs:rlimit (Results 1 – 25 of 243) sorted by relevance

12345678910

/third_party/pulseaudio/conf/
Ddaemon.conf64 ; rlimit-fsize = -1
65 ; rlimit-data = -1
66 ; rlimit-stack = -1
67 ; rlimit-core = -1
68 ; rlimit-as = -1
69 ; rlimit-rss = -1
70 ; rlimit-nproc = -1
71 ; rlimit-nofile = 256
72 ; rlimit-memlock = -1
73 ; rlimit-locks = -1
[all …]
/third_party/pulseaudio/src/daemon/
Ddaemon.conf.in69 ; rlimit-fsize = -1
70 ; rlimit-data = -1
71 ; rlimit-stack = -1
72 ; rlimit-core = -1
73 ; rlimit-as = -1
74 ; rlimit-rss = -1
75 ; rlimit-nproc = -1
76 ; rlimit-nofile = 256
77 ; rlimit-memlock = -1
78 ; rlimit-locks = -1
[all …]
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dresource.h22 struct rlimit { struct
49 int getrlimit (int, struct rlimit *);
50 int setrlimit (int, const struct rlimit *);
57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
104 #define rlimit64 rlimit
/third_party/musl/porting/uniproton/kernel/include/sys/
Dresource.h22 struct rlimit { struct
49 int getrlimit (int, struct rlimit *);
50 int setrlimit (int, const struct rlimit *);
57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
104 #define rlimit64 rlimit
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dresource.h22 struct rlimit { struct
49 int getrlimit (int, struct rlimit *);
50 int setrlimit (int, const struct rlimit *);
57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
104 #define rlimit64 rlimit
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dresource.h22 struct rlimit { struct
49 int getrlimit (int, struct rlimit *);
50 int setrlimit (int, const struct rlimit *);
57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
104 #define rlimit64 rlimit
/third_party/musl/ndk_musl_include/sys/
Dresource.h22 struct rlimit { struct
49 int getrlimit (int, struct rlimit *);
50 int setrlimit (int, const struct rlimit *);
57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
104 #define rlimit64 rlimit
/third_party/musl/include/sys/
Dresource.h22 struct rlimit { struct
49 int getrlimit (int, struct rlimit *);
50 int setrlimit (int, const struct rlimit *);
57 int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
104 #define rlimit64 rlimit
/third_party/musl/porting/liteos_a/user/src/misc/
Dsetrlimit.c9 static int __setrlimit(int resource, const struct rlimit *rlim) in __setrlimit()
12 struct rlimit tmp; in __setrlimit()
26 const struct rlimit *rlim;
38 int setrlimit(int resource, const struct rlimit *rlim) in setrlimit()
/third_party/rust/crates/nix/src/sys/
Dresource.rs14 use libc::{__rlimit_resource_t, rlimit};
25 use libc::rlimit;
202 let mut old_rlim = mem::MaybeUninit::<rlimit>::uninit(); in getrlimit()
213 let rlimit { rlim_cur, rlim_max } = unsafe { old_rlim.assume_init() }; in getrlimit() localVariable
253 let new_rlim = rlimit { in setrlimit()
259 … let res = unsafe { libc::setrlimit(resource as __rlimit_resource_t, &new_rlim as *const rlimit) }; in setrlimit()
261 let res = unsafe { libc::setrlimit(resource as c_int, &new_rlim as *const rlimit) }; in setrlimit()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dgetrlimit.c29 struct rlimit rl; in getrlimit_0100()
35 struct rlimit retrl; in getrlimit_0100()
49 struct rlimit limit; in getrlimit_0200()
/third_party/musl/src/linux/
Dprlimit.c7 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit, struct rlimit *old_limit) in prlimit()
9 struct rlimit tmp; in prlimit()
/third_party/ltp/testcases/cve/
Dstack_clash.c140 struct rlimit rlimit; in do_child() local
142 rlimit.rlim_cur = rlimit.rlim_max = RLIM_INFINITY; in do_child()
143 SAFE_SETRLIMIT(RLIMIT_STACK, &rlimit); in do_child()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dprlimit.c28 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0100()
30 struct rlimit old_limit = {.rlim_cur = 0, .rlim_max = 0}; in prlimit_0100()
48 struct rlimit new_limit = {.rlim_cur = lim, .rlim_max = lim}; in prlimit_0200()
/third_party/musl/libc-test/src/api/
Dsys_resource.c19 struct rlimit x; in f()
36 {int(*p)(int,struct rlimit*) = getrlimit;} in f()
39 {int(*p)(int,const struct rlimit*) = setrlimit;} in f()
/third_party/ltp/testcases/kernel/syscalls/sched_setscheduler/
Dsched_setscheduler03.c60 static void l_rlimit_show(const int type, struct rlimit *limit) in l_rlimit_show()
69 static void l_rlimit_setup(const int type, struct rlimit *limit) in l_rlimit_setup()
71 struct rlimit tmp_rlimit; in l_rlimit_setup()
108 struct rlimit limit; in setup()
/third_party/ltp/testcases/kernel/syscalls/mlock/
Dmlock02.c56 static struct rlimit original;
99 struct rlimit rl; in test_enomem1()
130 struct rlimit rl; in test_enomem2()
160 struct rlimit rl; in test_eperm()
/third_party/toybox/toys/posix/
Dulimit.c54 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
55 struct rlimit *old_limit);
62 struct rlimit rr; in ulimit_main()
/third_party/rust/crates/rustix/src/process/
Dmod.rs19 mod rlimit; module
67 pub use rlimit::prlimit;
69 pub use rlimit::{getrlimit, setrlimit, Resource, Rlimit};
/third_party/ltp/testcases/kernel/syscalls/getrlimit/
Dgetrlimit02.c23 static struct rlimit rlim;
28 struct rlimit *rlim; /* rlimit structure */
/third_party/python/Modules/
Dresource.c139 py2rlimit(PyObject *limits, struct rlimit *rl_out) in py2rlimit()
182 rlimit2py(struct rlimit rl) in rlimit2py()
204 struct rlimit rl; in resource_getrlimit_impl()
232 struct rlimit rl; in resource_setrlimit_impl()
281 struct rlimit old_limit, new_limit; in resource_prlimit_impl()
/third_party/ltp/testcases/kernel/syscalls/setrlimit/
Dsetrlimit02.c15 static struct rlimit rlim;
19 struct rlimit *rlim;
Dsetrlimit03.c27 static struct rlimit rlim1, rlim2;
31 struct rlimit *rlimt;
/third_party/curl/tests/libtest/
Dlib518.c54 static struct rlimit num_open;
102 static int rlimit(int keep_open) in rlimit() function
107 struct rlimit rl; in rlimit()
469 if(rlimit(FALSE)) { in test()
476 if(rlimit(TRUE)) { in test()
Dlib537.c54 static struct rlimit num_open;
102 static int rlimit(int keep_open) function
108 struct rlimit rl;
470 if(rlimit(FALSE)) {
477 if(rlimit(TRUE)) {

12345678910