Repository navigation
Enable process_vm_readv and process_vm_writev for kernel >= 4.8 - #42083
Conversation
|
I signed the commit with my own name rather than my Github username, as suggested by |
59dce92 to
71d8a1c
Compare
|
I ran |
|
oh! while you're updating; could you squash the commits so that there's only a single commit in the PR? |
These syscalls were disabled in moby#18971 due to them requiring CAP_PTRACE. CAP_PTRACE was blocked by default due to a ptrace related exploit. This has been patched in the Linux kernel (version 4.8) and thus `ptrace` has been re-enabled. However, these associated syscalls seem to have been left behind. This commit brings them in line with `ptrace`, and re-enables it for kernel > 4.8. Signed-off-by: clubby789 <[email protected]>
4bc4f99 to
d39b075
Compare
|
All squashed now, not sure about the remaining failures, or if they're related to my changes. |
|
Thanks! No failures don't look related; looks like a flaky test; I triggered CI again |
|
@justincormack @tonistiigi PTAL; looks like a follow-up to #38137, which did the same for
(assuming the same security fixes apply to |
These syscalls were disabled in #18971 due to them requiring CAP_PTRACE. CAP_PTRACE was blocked by default due to a ptrace related exploit. This has been patched in the Linux kernel (version 4.8) and thus
ptracehas been re-enabled. However, these associated syscalls seem to have been left behind. This commit brings them in line withptrace, and re-enables it for kernel > 4.8.- What I did
Re-enabled
process_vm_readvandprocess_vm_writev- How I did it
Added them to the
ptraceprofile in the seccomp defaults.- How to verify it
- Description for the changelog
Re-enabled
process_vm_readvandprocess_vm_writevby default for kernel >= 4.8