Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/amd64 Fix setuid/setgid return type (v...
details: https://anonhg.NetBSD.org/src/rev/5ffb6e4ccca7
branches: trunk
changeset: 341225:5ffb6e4ccca7
user: njoly <njoly%NetBSD.org@localhost>
date: Tue Oct 27 07:15:38 2015 +0000
description:
Fix setuid/setgid return type (void -> int) to match native.
diffstat:
sys/compat/linux/arch/amd64/syscalls.master | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 8288f428f79a -r 5ffb6e4ccca7 sys/compat/linux/arch/amd64/syscalls.master
--- a/sys/compat/linux/arch/amd64/syscalls.master Tue Oct 27 06:30:10 2015 +0000
+++ b/sys/compat/linux/arch/amd64/syscalls.master Tue Oct 27 07:15:38 2015 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.55 2015/05/31 10:49:27 njoly Exp $
+ $NetBSD: syscalls.master,v 1.56 2015/10/27 07:15:38 njoly Exp $
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
@@ -259,8 +259,8 @@
102 NOARGS { uid_t|sys||getuid(void); }
103 UNIMPL syslog
104 NOARGS { gid_t|sys||getgid(void); }
-105 NOARGS { void|sys||setuid(uid_t uid); }
-106 NOARGS { void|sys||setgid(gid_t gid); }
+105 NOARGS { int|sys||setuid(uid_t uid); }
+106 NOARGS { int|sys||setgid(gid_t gid); }
107 NOARGS { uid_t|sys||geteuid(void); }
108 NOARGS { gid_t|sys||getegid(void); }
109 NOARGS { int|sys||setpgid(int pid, int pgid); }
Home |
Main Index |
Thread Index |
Old Index