Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pidfd_send_signal02 assumes we can't send signal to pid 1 #1088

Open
richiejp opened this issue Sep 27, 2023 · 0 comments
Open

pidfd_send_signal02 assumes we can't send signal to pid 1 #1088

richiejp opened this issue Sep 27, 2023 · 0 comments
Labels

Comments

@richiejp
Copy link
Contributor

The test assumes pid 1 is init and we can't send a signal to it. If we are in a pid namespace (e.g. a container) then pid 1 could be sh or even the LTP test and we can send signals to it.

Ideally the test would create a process which is explicitly forbidden from signalling another process instead of relying on system configuration.

@richiejp richiejp added the bug label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant