Skip to content

[22.06 backport] profiles: seccomp: add syscalls related to PKU in default policy#43812

Merged
cpuguy83 merged 1 commit into
moby:22.06from
thaJeztah:22.06_backport_43481_support_pku
Jul 18, 2022
Merged

[22.06 backport] profiles: seccomp: add syscalls related to PKU in default policy#43812
cpuguy83 merged 1 commit into
moby:22.06from
thaJeztah:22.06_backport_43481_support_pku

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Jul 15, 2022

Add pkey_alloc(2), pkey_free(2) and pkey_mprotect(2) in seccomp default profile.
pkey_alloc(2), pkey_free(2) and pkey_mprotect(2) can only configure
the calling process's own memory, so they are existing "safe for everyone" syscalls.

close issue: #43481

(cherry picked from commit e258d66)

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Add pkey_alloc(2), pkey_free(2) and pkey_mprotect(2) in seccomp default profile.
pkey_alloc(2), pkey_free(2) and pkey_mprotect(2) can only configure
the calling process's own memory, so they are existing "safe for everyone" syscalls.

close issue: moby#43481

Signed-off-by: zhubojun <[email protected]>
(cherry picked from commit e258d66)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@cpuguy83 cpuguy83 merged commit 48a1449 into moby:22.06 Jul 18, 2022
@thaJeztah thaJeztah deleted the 22.06_backport_43481_support_pku branch July 19, 2022 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants