Skip to content

Conversation

@lifubang
Copy link
Member

Set the process personality early to ensure it takes effect before
seccomp is initialized. If seccomp filters are applied first and they
block personality-related system calls (e.g., personality(2)),
subsequent attempts to set the personality will fail.

Please see:
#4726 (comment)

Set the process personality early to ensure it takes effect before
seccomp is initialized. If seccomp filters are applied first and they
block personality-related system calls (e.g., `personality(2)`),
subsequent attempts to set the personality will fail.

Signed-off-by: lifubang <[email protected]>
@lifubang lifubang requested a review from Copilot September 25, 2025 09:52

This comment was marked as spam.

@lifubang lifubang force-pushed the fix-Personality-seccomp branch from bf15ccc to 57f1bef Compare September 25, 2025 09:54
@lifubang lifubang requested a review from Copilot September 25, 2025 09:54

This comment was marked as spam.

@kolyshkin kolyshkin merged commit 7d81b21 into opencontainers:main Sep 25, 2025
36 checks passed
@kolyshkin
Copy link
Contributor

@lifubang do you think we need 1.4 backport for this one?

@lifubang lifubang added the backport/1.4-done A PR in main branch which has been backported to release-1.4 label Sep 27, 2025
@lifubang
Copy link
Member Author

@lifubang do you think we need 1.4 backport for this one?

Backport PR: #4903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.4-done A PR in main branch which has been backported to release-1.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants