diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d9779973..fffec3f8 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,5 +2,4 @@ ### How Has This Been Tested? - - + diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml new file mode 100644 index 00000000..e7903b5d --- /dev/null +++ b/.github/workflows/general.yml @@ -0,0 +1,11 @@ +name: general + +on: [push, pull_request] + +jobs: + whitespace-errors: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: check + run: git diff-index --check --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904 diff --git a/debian/watch b/debian/watch index 76042d21..390ce43d 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,3 @@ version=4 https://lkrg.org/download/lkrg-(.+).tar.gz opts=pgpsigurlmangle=s/$/.sign/ https://lkrg.org/download/lkrg-(.+).tar.gz - diff --git a/scripts/copy-builtin.sh b/scripts/copy-builtin.sh index a4230b97..29fb8cd7 100755 --- a/scripts/copy-builtin.sh +++ b/scripts/copy-builtin.sh @@ -46,7 +46,7 @@ lkrg-objs += modules/print_log/p_lkrg_debug_log.o endif $(sed -n '/^$(TARGET)-objs += .* \\/,/[^\]$/ {s|src/||; s|$(TARGET)|lkrg|; p}' "$BASEDIR/../Makefile") - + EOC ) diff --git a/src/modules/exploit_detection/p_exploit_detection.h b/src/modules/exploit_detection/p_exploit_detection.h index 1e8895cc..379a769c 100644 --- a/src/modules/exploit_detection/p_exploit_detection.h +++ b/src/modules/exploit_detection/p_exploit_detection.h @@ -532,7 +532,7 @@ static inline int p_ed_kill_task_by_task(struct task_struct *p_task) { case 0: do { struct p_ed_process *p_tmp; - + if ( (p_tmp = p_find_ed_by_pid(task_pid_nr(current))) != NULL) { p_update_ed_process(p_tmp, p_task, 1); p_print_log(P_LOG_ALERT, "ALLOW: Task: Accepting unexpected changes for pid %u, name %s",