1 2 3 4 5 6 7 8 9
.globl _chmod .globl chmod _chmod: chmod: movl $0xf, %eax lcall $7,$0 jb _cerror xor %eax, %eax ret