Lines Matching full:prlimit64
22 /* The host glibc we're currently building with doesn't have prlimit64 yet. */
23 static int prlimit64(pid_t, int resource, const struct rlimit64* new_limit, struct rlimit64* old_limit) {
41 // Read with getrlimit, getrlimit64, and prlimit64.
42 // (prlimit is prlimit64 on LP64 and unimplemented on 32-bit.)
48 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, NULL, &pr_l64));
63 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, NULL, &pr_l64));
73 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, NULL, &pr_l64));
78 // Write with prlimit64 and read back with everything.
80 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, &l64, NULL));
83 ASSERT_EQ(0, prlimit64(0, RLIMIT_CORE, NULL, &pr_l64));