Merge pull request #7714 from hoyosjs/patch-1
Add ptrace readby and tracedby to default AppArmor profile
This commit is contained in:
commit
4b8002e5d1
@ -84,7 +84,9 @@ profile {{.Name}} flags=(attach_disconnected,mediate_deleted) {
|
|||||||
deny /sys/kernel/security/** rwklx,
|
deny /sys/kernel/security/** rwklx,
|
||||||
|
|
||||||
{{if ge .Version 208095}}
|
{{if ge .Version 208095}}
|
||||||
ptrace (trace,read) peer={{.Name}},
|
# allow processes within the container to trace each other,
|
||||||
|
# provided all other LSM and yama setting allow it.
|
||||||
|
ptrace (trace,tracedby,read,readby) peer={{.Name}},
|
||||||
{{end}}
|
{{end}}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user