Prechádzať zdrojové kódy

Merge pull request #19218 from justincormack/i386_syscalls

Add i386 specific modify_ldt syscall to default seccomp filter
Jess Frazelle 9 rokov pred
rodič
commit
274558881a

+ 6 - 0
daemon/execdriver/native/seccomp_default.go

@@ -1564,5 +1564,11 @@ var defaultSeccompProfile = &configs.Seccomp{
 			Action: configs.Allow,
 			Args:   []*configs.Arg{},
 		},
+		// i386 specific syscalls
+		{
+			Name:   "modify_ldt",
+			Action: configs.Allow,
+			Args:   []*configs.Arg{},
+		},
 	},
 }