mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Make debug tip more clear in the code
PiperOrigin-RevId: 529620411
This commit is contained in:
committed by
gVisor bot
parent
ff424dce7f
commit
153f0217e6
@@ -54,7 +54,9 @@ func Install(rules SyscallRules, denyRules SyscallRules) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Uncomment to get stack trace when there is a violation.
|
||||
// *** DEBUG TIP ***
|
||||
// If you suspect the process is getting killed due to a seccomp violation, uncomment the line
|
||||
// below to get a panic stack trace when there is a violation.
|
||||
// defaultAction = linux.BPFAction(linux.SECCOMP_RET_TRAP)
|
||||
|
||||
log.Infof("Installing seccomp filters for %d syscalls (action=%v)", len(rules), defaultAction)
|
||||
|
||||
Reference in New Issue
Block a user