From 45a93005050582034707be07e85d120d522f7f38 Mon Sep 17 00:00:00 2001 From: mvs Date: Mon, 16 May 2022 07:36:04 +0000 Subject: [PATCH] Unlock umask(2). sys_umask() only modifies `fd_cmask', which modification is already protected by `fd_lock' rwlock(9). ok bluhm@ --- sys/kern/syscalls.master | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index db4c2c8b067..52bf617c0ae 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ -; $OpenBSD: syscalls.master,v 1.223 2022/02/24 07:41:51 mvs Exp $ +; $OpenBSD: syscalls.master,v 1.224 2022/05/16 07:36:04 mvs Exp $ ; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -146,7 +146,7 @@ char *buf, size_t count); } 59 STD { int sys_execve(const char *path, \ char * const *argp, char * const *envp); } -60 STD { mode_t sys_umask(mode_t newmask); } +60 STD NOLOCK { mode_t sys_umask(mode_t newmask); } 61 STD { int sys_chroot(const char *path); } 62 STD { int sys_getfsstat(struct statfs *buf, size_t bufsize, \ int flags); } -- 2.20.1