summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-04-08 13:47:34 -0700
committerShentubot <shentubot@google.com>2019-04-08 13:48:40 -0700
commit218a7b54494b263001ed791ca13857c12d37ded6 (patch)
treea1606e200438f240596dc57038582e01ed8ed0b9 /test/syscalls/linux
parent70906f1d2428ec6e616fe9dada4a41f4ef4024a9 (diff)
Add TODO
PiperOrigin-RevId: 242531141 Change-Id: I2a3bd815bda09f392f511f47120d5d9e6e86a40d
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r--test/syscalls/linux/rlimits.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/syscalls/linux/rlimits.cc b/test/syscalls/linux/rlimits.cc
index 0072285f9..dc31bad9a 100644
--- a/test/syscalls/linux/rlimits.cc
+++ b/test/syscalls/linux/rlimits.cc
@@ -30,7 +30,8 @@ TEST(RlimitTest, SetRlimitHigher) {
struct rlimit rl = {};
EXPECT_THAT(getrlimit(RLIMIT_NOFILE, &rl), SyscallSucceeds());
- // Even with CAP_SYS_RESOURCE, gVisor does not allow setting a higher rlimit.
+ // TODO: Even with CAP_SYS_RESOURCE, gVisor does not allow
+ // setting a higher rlimit.
rl.rlim_max++;
EXPECT_THAT(setrlimit(RLIMIT_NOFILE, &rl), SyscallFailsWithErrno(EPERM));
}