From dd039b74efd2b7ecb499a122e05465783716d577 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 28 Dec 2015 00:44:47 +0000 Subject: 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. --- linux/sh64/syscallent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/sh64/syscallent.h') 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" }, -- cgit v1.2.1