Skip to content

seccomp: add support for seccomp notify#190

Merged
rhatdan merged 2 commits intocontainers:masterfrom
giuseppe:seccomp-notify
Jun 2, 2021
Merged

seccomp: add support for seccomp notify#190
rhatdan merged 2 commits intocontainers:masterfrom
giuseppe:seccomp-notify

Conversation

@giuseppe
Copy link
Copy Markdown
Member

add support for seccomp notify and add a basic support for emulating
mknod and mknodat. The handler implementation is likely going to
change, for now it is just a PoC to show how it would work.

Requires: containers/crun#438
Requires: libseccomp-2.5

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jul 27, 2020

This pull request introduces 2 alerts when merging 0ed1348 into 3c396d4 - view on LGTM.com

new alerts:

  • 2 for Local variable hides global variable

@giuseppe giuseppe force-pushed the seccomp-notify branch 10 times, most recently from 8b9239c to 14cfa57 Compare August 5, 2020 06:21
@giuseppe giuseppe marked this pull request as ready for review August 25, 2020 07:31
@giuseppe giuseppe force-pushed the seccomp-notify branch 2 times, most recently from 389ea32 to 2b8da9d Compare August 25, 2020 07:48
@giuseppe
Copy link
Copy Markdown
Member Author

@haircommander LGTY?

@haircommander
Copy link
Copy Markdown
Collaborator

sorry, a couple of nits. I prefer it where a callee is defined below the caller. that allows the file to be read top down.

@TomSweeneyRedHat
Copy link
Copy Markdown
Member

Other than @haircommander 's comments
LGTM

@saschagrunert
Copy link
Copy Markdown
Member

@giuseppe please rebase to get the static build fixed.

@giuseppe giuseppe force-pushed the seccomp-notify branch 2 times, most recently from 47d6aa7 to 8dc536c Compare September 28, 2020 10:16
@giuseppe giuseppe force-pushed the seccomp-notify branch 2 times, most recently from e207e16 to e577f9f Compare April 26, 2021 16:58
@giuseppe
Copy link
Copy Markdown
Member Author

adapted to follow the OCI runtime specs, needs: https://github.com/giuseppe/libpod/tree/seccomp-notify

@giuseppe
Copy link
Copy Markdown
Member Author

also needs: containers/crun#652

@giuseppe giuseppe force-pushed the seccomp-notify branch 4 times, most recently from 9e8f5c2 to d26cdcb Compare April 27, 2021 13:37
@giuseppe giuseppe marked this pull request as ready for review April 29, 2021 07:25
@giuseppe
Copy link
Copy Markdown
Member Author

@haircommander @rhatdan adapted to follow the OCI specs

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented May 6, 2021

@giuseppe needs a rebase.

@giuseppe
Copy link
Copy Markdown
Member Author

I am not sure the CI failures are related to this PR

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
add support for seccomp notify and add a basic support for emulating
mknod and mknodat.  The handler implementation is likely going to
change, for now it is just a PoC to show how it would work.

Requires: containers/crun#438
Requires: libseccomp-2.5

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe
Copy link
Copy Markdown
Member Author

giuseppe commented Jun 1, 2021

kubernetes e2e is green as well

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Jun 1, 2021

LGTM
@haircommander PTAL

@haircommander
Copy link
Copy Markdown
Collaborator

I would like to get #267 in and then we can merge this

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants