01:22
sscox has joined #strace
03:46
parport0 has quit [Ping timeout: 240 seconds]
03:59
parport0 has joined #strace
05:57
parport0 has quit [Ping timeout: 268 seconds]
05:59
parport0 has joined #strace
08:05
emachado has joined #strace
08:05
<
mator >
wanted to test "Allow seccomp filter to work without -f" but it doesn't support sparc :)
08:06
<
mator >
seccomp_bpf.c:1609:3: error: #error "Do not know how to find your architecture's registers and syscalls"
08:06
<
mator >
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
08:06
<
mator >
~/linux-2.6/tools/testing/selftests/seccomp$ make
09:18
emachado has quit [Ping timeout: 240 seconds]
09:20
<
pchaigno >
mator: it looks like you just need to extend that code with the macros for sparc
09:20
<
pchaigno >
ARCH_REGS should be pt_regs, but I don't know which registers hold the syscall number and return code on sparc
09:25
emachado has joined #strace
09:48
<
ldv >
strace knows :)
09:48
<
mator >
pchaigno, i've no idea as well
10:56
sscox has quit [Ping timeout: 268 seconds]
19:05
emachado has quit [Quit: Leaving]
21:06
<
jrtc27 >
ie follows the normal integer calling convention, with the syscall number separate in g1, and the carry status bit indicates whether the return value is an error code