Skip to content

seccomp: remove the unused query_module(2)#40995

Merged
justincormack merged 1 commit intomoby:masterfrom
KentaTada:remove-unused-syscall
May 28, 2020
Merged

seccomp: remove the unused query_module(2)#40995
justincormack merged 1 commit intomoby:masterfrom
KentaTada:remove-unused-syscall

Conversation

@KentaTada
Copy link
Copy Markdown
Contributor

- What I did
Removed the unused query_module(2) from seccomp default settings.

- How I did it

- How to verify it

- Description for the changelog
query_module(2) is only in kernels before Linux 2.6.
http://man7.org/linux/man-pages/man2/query_module.2.html
So, this syscall should not be set here.

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

query_module(2) is only in kernels before Linux 2.6.

Signed-off-by: Kenta Tada <[email protected]>
@AkihiroSuda
Copy link
Copy Markdown
Member

@justincormack PTAL?

@thaJeztah
Copy link
Copy Markdown
Member

Today is a bank holiday in the UK, so we should probably check with Justin tomorrow.

@justincormack justincormack merged commit 1aafcbb into moby:master May 28, 2020
@thaJeztah thaJeztah added this to the 20.03.0 milestone Jun 8, 2020
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