There was only one not-clean part of patch:
patching file kernel/ptrace.c
Hunk #3 succeeded at 517 (offset 21 lines).
it is patched by: 21502:diff -urNp linux-2.6.16.15/kernel/ptrace.c linux-2.6.16.15/kernel/ptrace.c
- Code: Select all
@@ -495,6 +496,11 @@ asmlinkage long sys_ptrace(long request,
if (ret < 0)
goto out_put_task_struct;
+ if (gr_handle_ptrace(child, request)) {
+ ret = -EPERM;
+ goto out_put_task_struct;
+ }
+
ret = arch_ptrace(child, request, addr, data);
if (ret < 0)
goto out_put_task_struct;
and in my humble opinion it looks ok, and the new kernel boots o.k.
and seem to work fine so far