Skip to content

Commit

Permalink
Fix TestSecurityProfileSyscallDrift functional tests
Browse files Browse the repository at this point in the history
Add a few syscalls to the list of security profile allowed events
as they are issued by the Go runtime or in init functions
  • Loading branch information
lebauce committed Jan 9, 2025
1 parent 9ac7eb4 commit 4b03fba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/security/tests/security_profile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2287,9 +2287,12 @@ func generateSyscallTestProfile(add ...model.Syscall) *dumpsv1.SecurityProfile {
267, // SysReadlinkat
273, // SysSetRobustList
281, // SysEpollPwait
290, // SysEventfd2
291, // SysEpollCreate1
293, // SysPipe2
302, // SysPrlimit64
317, // SysSeccomp
321, // SysBpf
334, // SysRseq
435, // SysClone3
439, // SysFaccessat2
Expand Down

0 comments on commit 4b03fba

Please sign in to comment.