Home
last modified time | relevance | path

Searched refs:prlimit (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_resource.py149 self.assertRaises(TypeError, resource.prlimit)
150 self.assertRaises(ProcessLookupError, resource.prlimit,
153 self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS), limit)
154 self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS, limit),
168 self.assertEqual(resource.prlimit(0, resource.RLIMIT_AS, BadSeq()),
/external/toybox/toys/posix/
Dulimit.c54 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
81 if (get && prlimit(TT.P, map[i], 0, &rr)) perror_exit("-%c", flags[i]); in ulimit_main()
116 if (prlimit(TT.P, map[i], &rr, 0)) perror_exit(0); in ulimit_main()
/external/toybox/scripts/
Dgenconfig.sh104 int prlimit(pid_t pid, int resource, const struct rlimit *new_limit,
106 int main(int argc, char *argv[]) { prlimit(0, 0, 0, 0); }
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_linux_mipsx.go159 err = prlimit(0, resource, nil, rlim)
187 err = prlimit(0, resource, rlim, nil)
Dsyscall_linux_arm.go184 err = prlimit(0, resource, nil, rlim)
212 err = prlimit(0, resource, rlim, nil)
Dsyscall_linux_386.go109 err = prlimit(0, resource, nil, rlim)
137 err = prlimit(0, resource, rlim, nil)
Dzsyscall_linux_s390x.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_386.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_arm64.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_sparc64.go993 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_amd64.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_arm.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_mips.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_mipsle.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_mips64.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_mips64le.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_ppc64le.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
Dzsyscall_linux_ppc64.go978 func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error) { func
/external/python/cpython3/Modules/
Dresource.c279 retval = prlimit(pid, resource, &new_limit, &old_limit); in resource_prlimit_impl()
282 retval = prlimit(pid, resource, NULL, &old_limit); in resource_prlimit_impl()
/external/elfutils/tests/
Dlfs-symbols61 prlimit
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc811 INTERCEPTOR(int, prlimit, int pid, int resource, void *new_rlimit, in INTERCEPTOR() argument
814 return REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
817 int res = REAL(prlimit)(pid, resource, new_rlimit, old_rlimit); in INTERCEPTOR()
834 #define MSAN_MAYBE_INTERCEPT_PRLIMIT INTERCEPT_FUNCTION(prlimit)
/external/toybox/generated/
Dnewtoys.h196 USE_ULIMIT(OLDTOY(prlimit, ulimit, TOYFLAG_USR|TOYFLAG_BIN))
/external/python/cpython3/Doc/library/
Dresource.rst79 .. function:: prlimit(pid, resource[, limits])
/external/python/cpython3/Misc/NEWS.d/
D3.6.1rc1.rst605 Fixed a crash in resource.prlimit() when passing a sequence that doesn't own
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2838 result = prlimit(getpid(), RLIMIT_DATA, &limit, &limit2); in TEST()
2844 result = prlimit(getpid(), RLIMIT_DATA, nullptr, &limit); in TEST()
2849 result = prlimit(getpid(), RLIMIT_DATA, &limit, nullptr); in TEST()

12