summaryrefslogtreecommitdiff
path: root/linux/sh64/syscallent.h
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2015-12-28 00:44:47 +0000
committerDmitry V. Levin <ldv@altlinux.org>2015-12-29 01:15:06 +0000
commitdd039b74efd2b7ecb499a122e05465783716d577 (patch)
tree065eb72981a3d7285211c64e4845949e4462c33a /linux/sh64/syscallent.h
parent552f2f62fd7ea37dd38342a5b2c865476661187f (diff)
downloadstrace-dd039b74efd2b7ecb499a122e05465783716d577.tar.gz
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.
Diffstat (limited to 'linux/sh64/syscallent.h')
-rw-r--r--linux/sh64/syscallent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/sh64/syscallent.h b/linux/sh64/syscallent.h
index 1ccdcadac..2d2c70b6e 100644
--- a/linux/sh64/syscallent.h
+++ b/linux/sh64/syscallent.h
@@ -86,7 +86,7 @@
[ 57] = { 2, 0, SEN(setpgid), "setpgid" },
[ 58] = { 2, 0, SEN(ulimit), "ulimit" },
[ 59] = { 1, 0, SEN(oldolduname), "oldolduname" },
-[ 60] = { 1, 0, SEN(umask), "umask" },
+[ 60] = { 1, NF, SEN(umask), "umask" },
[ 61] = { 1, TF, SEN(chroot), "chroot" },
[ 62] = { 2, 0, SEN(ustat), "ustat" },
[ 63] = { 2, TD, SEN(dup2), "dup2" },