Skip to content

Commit 0ababfc

Browse files
authored
Merge pull request #753 from ManaSugi/seccomp-seprate-condition
seccomp: Separate conditions for personality syscall into single rule
2 parents e18fb05 + c3bea2c commit 0ababfc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

generate/seccomp/seccomp_default.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,23 @@ func DefaultProfile(rs *specs.Spec) *rspec.LinuxSeccomp {
354354
Value: 0x0,
355355
Op: rspec.OpEqualTo,
356356
},
357+
},
358+
},
359+
{
360+
Names: []string{"personality"},
361+
Action: rspec.ActAllow,
362+
Args: []rspec.LinuxSeccompArg{
357363
{
358364
Index: 0,
359365
Value: 0x0008,
360366
Op: rspec.OpEqualTo,
361367
},
368+
},
369+
},
370+
{
371+
Names: []string{"personality"},
372+
Action: rspec.ActAllow,
373+
Args: []rspec.LinuxSeccompArg{
362374
{
363375
Index: 0,
364376
Value: 0xffffffff,

0 commit comments

Comments
 (0)