diff options
Diffstat (limited to 'newlib/libc/sys/sysvi386/setuid.s')
-rw-r--r-- | newlib/libc/sys/sysvi386/setuid.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/setuid.s b/newlib/libc/sys/sysvi386/setuid.s new file mode 100644 index 0000000..f24da1f --- /dev/null +++ b/newlib/libc/sys/sysvi386/setuid.s @@ -0,0 +1,9 @@ + .globl _setuid + .globl setuid +_setuid: +setuid: + movl $0x17, %eax + lcall $7,$0 + jb _cerror + xor %eax,%eax + ret |