nbareil/seccomp-nurse — Issue #4: seccomp-nurse not running on fedora 15 (normal host), also on debian lenny (ec2)
Author: sairam
Created: 2011-11-28 11:50:20+00:00
State: open

Hi,

I was trying to run seccomp-nurse on a Fedora 15 machine which is my desktop. I am unable to run it.
`make check` gives me the following error.

seccomp-nurse# make check
Checking there is no stack usage...
33:	8b 6f 18	mov 0x18(%edi),%ebp
make: *** [check] Error 1

After that I tried on an Amazon EC2 micro instance with Debian Lenny i386 image. I tried to run a program under it, but I did not get any error even if run in DEBUG mode.

I tried running it with python compiled with the following option :

./configure --disable-shared --with-system-ffi

Nothing turned up on debian , no error message , no segfault.
On Fedora 15, I started to see error messages with segfault.

I see the following error message in `/var/log/messages`

ld-linux.so.2[1904]: segfault at 0 ip 00f7c050 sp bff7a218 error 4 in sandbox.so[f7b000+2000]
abrt[1906]: invalid number '/var/spool/abrt'

```bash
Traceback (most recent call last):
File "./hybrid.py", line 626, in
Nov 28 17:16:21 crypsis hybrid.py: abrt: detected unhandled Python exception in ./hybrid.py
sandbox = HybridSandbox()
File "./hybrid.py", line 99, in __init__
memory_mappings = self.trustedthread.get_protected_sections()
File "/home/sairam/work/seccomp-nurse/trustedthread.py", line 59, in get_protected_sections
sandboxedapp = os.readlink('/proc/' + self.pid + '/exe')
OSError: [Errno 13] Permission denied: '/proc/1904/exe'
```