From 218a7b54494b263001ed791ca13857c12d37ded6 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 8 Apr 2019 13:47:34 -0700 Subject: Add TODO PiperOrigin-RevId: 242531141 Change-Id: I2a3bd815bda09f392f511f47120d5d9e6e86a40d --- test/syscalls/linux/rlimits.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); } -- cgit v1.2.3