Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-compat]: src/sys/compat/aoutm68k Conditionalize some compat_30 ...
details: https://anonhg.NetBSD.org/src/rev/c1037d7201f5
branches: pgoyette-compat
changeset: 830812:c1037d7201f5
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Sep 29 01:37:26 2018 +0000
description:
Conditionalize some compat_30 syscalls appropriately
diffstat:
sys/compat/aoutm68k/syscalls.master | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r 7deadb5611e3 -r c1037d7201f5 sys/compat/aoutm68k/syscalls.master
--- a/sys/compat/aoutm68k/syscalls.master Fri Sep 28 09:36:20 2018 +0000
+++ b/sys/compat/aoutm68k/syscalls.master Sat Sep 29 01:37:26 2018 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.41 2018/01/06 16:41:23 kamil Exp $
+ $NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -271,7 +271,11 @@
94 UNIMPL setdopt
95 NOARGS { int|sys||fsync(int fd); }
96 NOARGS { int|sys||setpriority(int which, int who, int prio); }
+#if defined(COMPAT_30) || !defined(_KERNEL)
97 NOARGS { int|compat_30_sys||socket(int domain, int type, int protocol); }
+#else
+97 EXCL compat_30_sys_socket
+#endif
98 NOARGS { int|sys||connect(int s, const struct sockaddr *name, \
int namelen); }
#if defined(COMPAT_43) || !defined(_KERNEL)
@@ -442,8 +446,12 @@
#endif
159 UNIMPL
160 UNIMPL
+#if defined(COMPAT_30) || !defined(_KERNEL)
161 NOARGS { int|compat_30_sys||getfh(const char *fname, \
struct compat_30_fhandle *fhp); }
+#else
+161 EXCL compat_30_sys_getfh
+#endif
#if defined(COMPAT_09) || !defined(_KERNEL)
162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \
int len); } ogetdomainname
@@ -726,8 +734,12 @@
#endif
296 NOARGS { int|sys||__getcwd(char *bufp, size_t length); }
297 NOARGS { int|sys||fchroot(int fd); }
+#if defined(COMPAT_30) || ! defined(_KERNEL)
298 NOARGS { int|compat_30_sys||fhopen(const \
struct compat_30_fhandle *fhp, int flags); }
+#else
+298 EXCL compat_30_sys_fhopen
+#endif
299 STD { int|aoutm68k_sys||fhstat(const struct \
compat_30_fhandle *fhp, \
struct aoutm68k_stat *sb); }
Home |
Main Index |
Thread Index |
Old Index