2009-03-04 04:28:35 +01:00
|
|
|
/* autogenerated by gensyscalls.py */
|
2013-03-22 21:50:44 +01:00
|
|
|
#include <asm/unistd.h>
|
2013-03-12 22:57:30 +01:00
|
|
|
#include <linux/err.h>
|
2011-02-17 19:47:44 +01:00
|
|
|
#include <machine/asm.h>
|
2009-03-04 04:28:35 +01:00
|
|
|
|
2011-02-17 19:47:44 +01:00
|
|
|
ENTRY(fchownat)
|
2009-03-04 04:28:35 +01:00
|
|
|
mov ip, sp
|
|
|
|
.save {r4, r5, r6, r7}
|
|
|
|
stmfd sp!, {r4, r5, r6, r7}
|
|
|
|
ldmfd ip, {r4, r5, r6}
|
|
|
|
ldr r7, =__NR_fchownat
|
|
|
|
swi #0
|
|
|
|
ldmfd sp!, {r4, r5, r6, r7}
|
2013-03-12 22:57:30 +01:00
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
|
|
|
b __set_errno
|
2011-02-17 19:47:44 +01:00
|
|
|
END(fchownat)
|