Skip to content

Commit

Permalink
Added security_path_notify test to PR workflow (#3926)
Browse files Browse the repository at this point in the history
  • Loading branch information
oshaked1 authored Dec 11, 2024
1 parent 637d140 commit 09e7d60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ env:
PROCTREE_DATA_SOURCE
DNS_DATA_SOURCE
WRITABLE_DATA_SOURCE
SECURITY_PATH_NOTIFY
SET_FS_PWD
SUSPICIOUS_SYSCALL_SOURCE
jobs:
Expand Down
6 changes: 6 additions & 0 deletions tests/e2e-inst-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,12 @@ for TEST in $TESTS; do
fi
"${TESTS_DIR}"/ftrace_hook.sh
;;
SECURITY_PATH_NOTIFY)
if ! grep -qw "security_path_notify" /proc/kallsyms; then
info "skip security_path_notify test on kernel $(uname -r) (security hook doesn't exist)"
continue
fi
;;
SUSPICIOUS_SYSCALL_SOURCE)
if cat /proc/kallsyms | grep -qP "trace.*vma_store"; then
info "skip suspicious_syscall_source test on kernel $(uname -r) (VMAs stored in maple tree)"
Expand Down

0 comments on commit 09e7d60

Please sign in to comment.