]> granicus.if.org Git - strace/commit
Set SYSCALL_NEVER_FAILS flag for umask syscall
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 28 Dec 2015 00:44:47 +0000 (00:44 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 29 Dec 2015 01:15:06 +0000 (01:15 +0000)
commitdd039b74efd2b7ecb499a122e05465783716d577
tree065eb72981a3d7285211c64e4845949e4462c33a
parent552f2f62fd7ea37dd38342a5b2c865476661187f
Set SYSCALL_NEVER_FAILS flag for umask syscall

Linux kernel always ANDs umask argument with 0700 and therefore
this syscall never fails.

* linux/*/syscallent*.h (umask): Set NF flag.
24 files changed:
linux/32/syscallent.h
linux/64/syscallent.h
linux/alpha/syscallent.h
linux/arm/syscallent.h
linux/avr32/syscallent.h
linux/bfin/syscallent.h
linux/hppa/syscallent.h
linux/i386/syscallent.h
linux/ia64/syscallent.h
linux/m68k/syscallent.h
linux/microblaze/syscallent.h
linux/mips/syscallent-n32.h
linux/mips/syscallent-n64.h
linux/mips/syscallent-o32.h
linux/powerpc/syscallent.h
linux/powerpc64/syscallent.h
linux/s390/syscallent.h
linux/s390x/syscallent.h
linux/sh/syscallent.h
linux/sh64/syscallent.h
linux/sparc/syscallent.h
linux/x32/syscallent.h
linux/x86_64/syscallent.h
linux/xtensa/syscallent.h