Loading...
sys/umaskx_np.c Libc-1725.40.4 Libc-391
--- Libc/Libc-1725.40.4/sys/umaskx_np.c
+++ Libc/Libc-391/sys/umaskx_np.c
@@ -23,10 +23,9 @@
 #include <sys/types.h>
 #include <sys/acl.h>
 #include <errno.h>
+#include <sys/syscall.h>
 #include <unistd.h>
 #include <fcntl.h>
-
-extern int __umask_extended(int, acl_t);
 
 int
 umaskx_np(filesec_t fsec)
@@ -47,5 +46,5 @@
 		if (size == 0)
 			acl = NULL;
 	}
-	return __umask_extended(newmask, acl);
+	return syscall(SYS_umask_extended, newmask, acl);
 }