mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add TODO
PiperOrigin-RevId: 242531141 Change-Id: I2a3bd815bda09f392f511f47120d5d9e6e86a40d
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user