Commit Graph

3 Commits

Author SHA1 Message Date
Sascha Grunert ce384684c0
Switch to golang native error wrapping
We now use the golang error wrapping format specifier `%w` instead of
the deprecated github.com/pkg/errors package.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-07 11:41:47 +02:00
Sascha Grunert d2ed7bc155
Switch to containers/common for seccomp
seccomp/containers-golang is deprecated and we should switch to
containers/common/pkg/seccomp instead.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-28 19:28:06 +02:00
Nalin Dahyabhai d54f0eaf30 run: clear default seccomp filter if not enabled
When seccomp is not enabled, make sure to clear any default setting
which runtime-tools supplied for us.  Likewise, if SELinux is not
enabled, don't set a process label or a mount label.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #988
Approved by: rhatdan
2018-09-05 20:34:41 +00:00