blob: a077867c0c4f85ce74b88fe5b6b8c571bba9d966 [file] [log] [blame]
Raghu Gandham1fa0d842012-01-27 17:51:42 -08001/* autogenerated by gensyscalls.py */
Elliott Hughes5c2772f2013-03-21 22:15:06 -07002#include <asm/unistd.h>
Raghu Gandham1fa0d842012-01-27 17:51:42 -08003 .text
Elliott Hughes232163c2013-10-09 17:35:36 -07004 .globl setresuid
Raghu Gandham1fa0d842012-01-27 17:51:42 -08005 .align 4
Elliott Hughes232163c2013-10-09 17:35:36 -07006 .ent setresuid
Raghu Gandham1fa0d842012-01-27 17:51:42 -08007
Elliott Hughes232163c2013-10-09 17:35:36 -07008setresuid:
Raghu Gandham1fa0d842012-01-27 17:51:42 -08009 .set noreorder
10 .cpload $t9
11 li $v0, __NR_setresuid
12 syscall
13 bnez $a3, 1f
14 move $a0, $v0
15 j $ra
16 nop
171:
18 la $t9,__set_errno
19 j $t9
20 nop
21 .set reorder
Elliott Hughes232163c2013-10-09 17:35:36 -070022 .end setresuid