Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat Remove lfs syscall support from compat. I can't ...
details: https://anonhg.NetBSD.org/src/rev/9948b49d4a18
branches: trunk
changeset: 752621:9948b49d4a18
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Mar 02 16:00:03 2010 +0000
description:
Remove lfs syscall support from compat. I can't really imagine
anyone wanting to run lfs megamaid as a e.g. FreeBSD binary.
Besides, the real action has been in fcntl() for >5 years now.
The only place where the compat syscalls might have made the tiniest
bit of sense was netbsd32, but they were unimplemented there.
diffstat:
sys/compat/aoutm68k/syscalls.master | 12 +-----------
sys/compat/darwin/syscalls.master | 3 +--
sys/compat/freebsd/syscalls.master | 14 +-------------
sys/compat/netbsd32/syscalls.master | 19 +------------------
4 files changed, 4 insertions(+), 44 deletions(-)
diffs (131 lines):
diff -r 9d41a7d53c19 -r 9948b49d4a18 sys/compat/aoutm68k/syscalls.master
--- a/sys/compat/aoutm68k/syscalls.master Tue Mar 02 15:46:19 2010 +0000
+++ b/sys/compat/aoutm68k/syscalls.master Tue Mar 02 16:00:03 2010 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.33 2009/01/13 22:27:43 pooka Exp $
+ $NetBSD: syscalls.master,v 1.34 2010/03/02 16:00:03 pooka Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -508,20 +508,10 @@
181 NOARGS { int|sys||setgid(gid_t gid); }
182 NOARGS { int|sys||setegid(gid_t egid); }
183 NOARGS { int|sys||seteuid(uid_t euid); }
-#if defined(LFS) || !defined(_KERNEL)
-184 NOARGS { int|sys||lfs_bmapv(fsid_t *fsidp, \
- struct block_info *blkiov, int blkcnt); }
-185 NOARGS { int|sys||lfs_markv(fsid_t *fsidp, \
- struct block_info *blkiov, int blkcnt); }
-186 NOARGS { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); }
-187 NOARGS { int|compat_50_sys||lfs_segwait(fsid_t *fsidp, \
- struct timeval50 *tv); }
-#else
184 EXCL lfs_bmapv
185 EXCL lfs_markv
186 EXCL lfs_segclean
187 EXCL lfs_segwait
-#endif
#if defined(COMPAT_12) || !defined(_KERNEL)
188 STD { int|aoutm68k_compat_12_sys||stat(const char *path, \
struct aoutm68k_stat12 *ub); } stat12
diff -r 9d41a7d53c19 -r 9948b49d4a18 sys/compat/darwin/syscalls.master
--- a/sys/compat/darwin/syscalls.master Tue Mar 02 15:46:19 2010 +0000
+++ b/sys/compat/darwin/syscalls.master Tue Mar 02 16:00:03 2010 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.38 2009/01/13 22:27:43 pooka Exp $
+ $NetBSD: syscalls.master,v 1.39 2010/03/02 16:00:03 pooka Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -41,7 +41,6 @@
#include "opt_sysv.h"
#include "opt_compat_43.h"
-#include "fs_lfs.h"
#include "fs_nfs.h"
#include <sys/param.h>
diff -r 9d41a7d53c19 -r 9948b49d4a18 sys/compat/freebsd/syscalls.master
--- a/sys/compat/freebsd/syscalls.master Tue Mar 02 15:46:19 2010 +0000
+++ b/sys/compat/freebsd/syscalls.master Tue Mar 02 16:00:03 2010 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.62 2009/01/13 22:27:43 pooka Exp $
+ $NetBSD: syscalls.master,v 1.63 2010/03/02 16:00:03 pooka Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -37,8 +37,6 @@
#include "opt_sysv.h"
#include "opt_compat_43.h"
#include "opt_posix.h"
-
-#include "fs_lfs.h"
#endif
#include <sys/param.h>
@@ -360,20 +358,10 @@
181 NOARGS { int|sys||setgid(gid_t gid); }
182 NOARGS { int|sys||setegid(gid_t egid); }
183 NOARGS { int|sys||seteuid(uid_t euid); }
-#ifdef LFS
-184 NOARGS { int|sys||lfs_bmapv(fsid_t *fsidp, \
- struct block_info *blkiov, int blkcnt); }
-185 NOARGS { int|sys||lfs_markv(fsid_t *fsidp, \
- struct block_info *blkiov, int blkcnt); }
-186 NOARGS { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); }
-187 NOARGS { int|compat_50_sys||lfs_segwait(fsid_t *fsidp, \
- struct timeval50 *tv); }
-#else
184 UNIMPL
185 UNIMPL
186 UNIMPL
187 UNIMPL
-#endif
188 NOARGS { int|compat_12_sys||stat(const char *path, \
struct stat12 *ub); }
189 NOARGS { int|compat_12_sys||fstat(int fd, \
diff -r 9d41a7d53c19 -r 9948b49d4a18 sys/compat/netbsd32/syscalls.master
--- a/sys/compat/netbsd32/syscalls.master Tue Mar 02 15:46:19 2010 +0000
+++ b/sys/compat/netbsd32/syscalls.master Tue Mar 02 16:00:03 2010 +0000
@@ -1,4 +1,4 @@
- $NetBSD: syscalls.master,v 1.81 2009/12/14 00:47:11 matt Exp $
+ $NetBSD: syscalls.master,v 1.82 2010/03/02 16:00:03 pooka Exp $
; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -384,21 +384,10 @@
181 STD { int|netbsd32||setgid(gid_t gid); }
182 STD { int|netbsd32||setegid(gid_t egid); }
183 STD { int|netbsd32||seteuid(uid_t euid); }
-#if defined(LFS) || !defined(_KERNEL_OPT)
-184 STD { int|netbsd32||lfs_bmapv(netbsd32_fsid_tp_t fsidp, \
- netbsd32_block_infop_t blkiov, int blkcnt); }
-185 STD { int|netbsd32||lfs_markv(netbsd32_fsid_tp_t fsidp, \
- netbsd32_block_infop_t blkiov, int blkcnt); }
-186 STD { int|netbsd32||lfs_segclean(netbsd32_fsid_tp_t fsidp, \
- netbsd32_u_long segment); }
-187 COMPAT_50 { int|netbsd32||lfs_segwait(netbsd32_fsid_tp_t fsidp, \
- netbsd32_timeval50p_t tv); }
-#else
184 EXCL netbsd32_lfs_bmapv
185 EXCL netbsd32_lfs_markv
186 EXCL netbsd32_lfs_segclean
187 EXCL netbsd32_lfs_segwait
-#endif
188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \
netbsd32_stat12p_t ub); }
189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); }
@@ -895,13 +884,7 @@
421 STD { int|netbsd32|50|adjtime( \
const netbsd32_timevalp_t delta, \
netbsd32_timevalp_t olddelta); }
-#if defined(LFS) || !defined(_KERNEL_OPT)
-422 STD { int|netbsd32|50|lfs_segwait( \
- netbsd32_fsid_tp_t fsidp, \
- netbsd32_timevalp_t tv); }
-#else
422 EXCL __lfs_segwait50
-#endif
423 STD { int|netbsd32|50|futimes(int fd, \
const netbsd32_timevalp_t tptr); }
424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \
Home |
Main Index |
Thread Index |
Old Index