From: KF <dotslash@globalintersec.com>
To: core@english.noops.org
Subject: Re: [0dd] parisc-linux syscalls ??

Fyodor hit the nail right on the head and explained why I was having all
the trouble...I missed the %r20 in unistd.h =]

%r20 and 0x100 for linux
%r22 and 0xc0000004 for hpux

elguapo@hp712:~$ cat test2.s
.globl main
main:
ldi 0,%r26
ble 0x100(%sr2,%r0)
ldi 23,%r20
nop
elguapo@hp712:~$ cc -o test2 test2.s
elguapo@hp712:~$ strace ./test2
...
setuid(0)                               = -1 EPERM (Operation not permitted)
setuid(0)                               = -1 EPERM (Operation not permitted)
setuid(0)                               = -1 EPERM (Operation not permitted)
setuid(0)                               = -1 EPERM (Operation not permitted)
setuid(0)                               = -1 EPERM (Operation not permitted)

Now I at least have something to work from ... I should be able to write
up a simple bOf tutorial for parisc-linux shortly. I thank you guys much.

-KF

