mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-09 12:38:15 +00:00
23 lines
993 B
Diff
23 lines
993 B
Diff
--- a/daemon/config/config.go 2022-06-03 10:30:24.000000000 -0700
|
|
+++ b/daemon/config/config.go 2022-06-07 14:29:36.755713207 -0700
|
|
@@ -60,7 +60,7 @@
|
|
// by [minAPIVersion].
|
|
defaultMinAPIVersion = "1.24"
|
|
// SeccompProfileDefault is the built-in default seccomp profile.
|
|
- SeccompProfileDefault = "builtin"
|
|
+ SeccompProfileDefault = "unconfined"
|
|
// SeccompProfileUnconfined is a special profile name for seccomp to use an
|
|
// "unconfined" seccomp profile.
|
|
SeccompProfileUnconfined = "unconfined"
|
|
--- a/daemon/daemon_unix.go 2022-06-03 10:30:24.000000000 -0700
|
|
+++ b/daemon/daemon_unix.go 2022-06-07 14:34:55.315558083 -0700
|
|
@@ -1463,8 +1463,6 @@
|
|
|
|
func (daemon *Daemon) setupSeccompProfile(cfg *config.Config) error {
|
|
switch profile := cfg.SeccompProfile; profile {
|
|
- case "", config.SeccompProfileDefault:
|
|
- daemon.seccompProfilePath = config.SeccompProfileDefault
|
|
case config.SeccompProfileUnconfined:
|
|
daemon.seccompProfilePath = config.SeccompProfileUnconfined
|
|
default:
|