I'm using grsec-2.0 ACL system and I have the following ACL in default role. Why does it not allow it to ptrace processes I start in my home directory. Claims that it is not allowed to ptrace them.
subject /usr/bin/gdb Or
/usr/bin h
/bin h
/usr/sbin h
/sbin h
/usr/bin/gdb rxi
/bin/bash rxi
Error in syslog
grsec: From 194.100.219.29: denied ptrace of /home/cmouse/projects/turing/turing(turing:17324) by /usr/bin/gdb[gdb:27973] uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:8422] uid/euid:1000/1000 gid/egid:1000/1000
Error in GDB
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x8048d1e: file turing.c, line 229.
(gdb) run
Starting program: /home/cmouse/projects/turing/turing
Couldn't get registers: Operation not permitted.
$ strace ./turing
execve("./turing", ["./turing"], [/* 19 vars */]) = 0
trace: ptrace(PTRACE_SYSCALL, ...): Operation not permitted
Any help would be greatly appreciated