diff options
author | Jamie Liu <jamieliu@google.com> | 2019-04-01 15:30:21 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-01 15:31:37 -0700 |
commit | 1a02ba3e6e1ee01e878efcff6a20ab7ff3083303 (patch) | |
tree | d3a7e42512d099a98e7e1f017252ba0765e87968 /pkg/sentry/device/BUILD | |
parent | 33c644bc0b8f60544264dcd5cc5f8c70436cd874 (diff) |
Trim trailing newline when reading /proc/[pid]/{uid,gid}_map in test.
This reveals a bug in the tests that require CAP_SET{UID,GID}: After the
child process enters the new user namespace, it ceases to have the
relevant capability in the parent user namespace, so the privileged
write must be done by the parent process. Change tests accordingly.
PiperOrigin-RevId: 241412765
Change-Id: I587c1f24aa6f2180fb2e5e5c0162691ba5bac1bc
Diffstat (limited to 'pkg/sentry/device/BUILD')
0 files changed, 0 insertions, 0 deletions