diff options
author | Michael Pratt <mpratt@google.com> | 2019-04-08 13:47:34 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-08 13:48:40 -0700 |
commit | 218a7b54494b263001ed791ca13857c12d37ded6 (patch) | |
tree | a1606e200438f240596dc57038582e01ed8ed0b9 /test/syscalls/linux | |
parent | 70906f1d2428ec6e616fe9dada4a41f4ef4024a9 (diff) |
Add TODO
PiperOrigin-RevId: 242531141
Change-Id: I2a3bd815bda09f392f511f47120d5d9e6e86a40d
Diffstat (limited to 'test/syscalls/linux')
-rw-r--r-- | test/syscalls/linux/rlimits.cc | 3 |
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)); } |