summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/rlimits.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/rlimits.cc')
-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));
}