summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-06-17 20:39:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-06-17 20:39:15 +0000
commitbca5a28b4734025b47828589f2a0704cc7e1d9e9 (patch)
tree57d5b74e5e6f068540be54d646435082518267d9
parent0dcdcebbf73dcfd26c6a290073e55a5df51f531e (diff)
remove undelete syscall
-rw-r--r--sys/compat/bsdos/syscalls.master4
-rw-r--r--sys/compat/freebsd/syscalls.master8
-rw-r--r--sys/compat/netbsd/syscalls.master4
-rw-r--r--sys/kern/syscalls.master4
-rw-r--r--sys/kern/vfs_syscalls.c15
5 files changed, 9 insertions, 26 deletions
diff --git a/sys/compat/bsdos/syscalls.master b/sys/compat/bsdos/syscalls.master
index db626b903f3..f5524cf221a 100644
--- a/sys/compat/bsdos/syscalls.master
+++ b/sys/compat/bsdos/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.15 2004/07/13 21:04:28 millert Exp $
+ $OpenBSD: syscalls.master,v 1.16 2005/06/17 20:39:14 millert Exp $
; OpenBSD COMPAT_BSDOS system call name/number "master" file.
; (See syscalls.conf to see what it is processed into.)
@@ -362,7 +362,7 @@
size_t newlen); }
203 NOARGS { int sys_mlock(caddr_t addr, size_t len); }
204 NOARGS { int sys_munlock(caddr_t addr, size_t len); }
-205 NOARGS { int sys_undelete(char *path); }
+205 UNIMPL sys_undelete
206 UNIMPL
207 UNIMPL
208 UNIMPL
diff --git a/sys/compat/freebsd/syscalls.master b/sys/compat/freebsd/syscalls.master
index b1a3a696c40..33888edf388 100644
--- a/sys/compat/freebsd/syscalls.master
+++ b/sys/compat/freebsd/syscalls.master
@@ -1,4 +1,4 @@
- $OpenBSD: syscalls.master,v 1.27 2005/02/19 21:19:28 matthieu Exp $
+ $OpenBSD: syscalls.master,v 1.28 2005/06/17 20:39:14 millert Exp $
; $NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp $
; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -389,11 +389,7 @@
size_t newlen); }
203 NOARGS { int sys_mlock(caddr_t addr, size_t len); }
204 NOARGS { int sys_munlock(caddr_t addr, size_t len); }
-#ifdef FREEBSD_BASED_ON_44LITE_R2
-205 STD { int freebsd_sys_undelete(char *path); }
-#else
-205 UNIMPL undelete
-#endif
+205 UNIMPL sys_undelete
206 UNIMPL futimes
207 NOARGS { int sys_getpgid(pid_t pid); }
208 UNIMPL reboot
diff --git a/sys/compat/netbsd/syscalls.master b/sys/compat/netbsd/syscalls.master
index 78d7a886e14..543e0b8b6d9 100644
--- a/sys/compat/netbsd/syscalls.master
+++ b/sys/compat/netbsd/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.24 2004/07/13 21:04:29 millert Exp $
+; $OpenBSD: syscalls.master,v 1.25 2005/06/17 20:39:14 millert Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -421,7 +421,7 @@
size_t newlen); }
203 NOARGS { int sys_mlock(const void *addr, size_t len); }
204 NOARGS { int sys_munlock(const void *addr, size_t len); }
-205 NOARGS { int sys_undelete(const char *path); }
+205 UNIMPL sys_undelete
206 NOARGS { int sys_futimes(int fd, \
const struct timeval *tptr); }
207 NOARGS { int sys_getpgid(pid_t pid); }
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 7f94a67832e..5afb67aa9bd 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.76 2004/07/15 14:35:34 deraadt Exp $
+; $OpenBSD: syscalls.master,v 1.77 2005/06/17 20:39:14 millert Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -387,7 +387,7 @@
size_t newlen); }
203 STD { int sys_mlock(const void *addr, size_t len); }
204 STD { int sys_munlock(const void *addr, size_t len); }
-205 STD { int sys_undelete(const char *path); }
+205 UNIMPL sys_undelete
206 STD { int sys_futimes(int fd, \
const struct timeval *tptr); }
207 STD { pid_t sys_getpgid(pid_t pid); }
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 4d3eeae1c1c..80f4e5bccdb 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls.c,v 1.124 2005/05/27 23:44:05 marius Exp $ */
+/* $OpenBSD: vfs_syscalls.c,v 1.125 2005/06/17 20:39:14 millert Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
@@ -1404,19 +1404,6 @@ out:
}
/*
- * Delete a whiteout from the filesystem.
- */
-/* ARGSUSED */
-int
-sys_undelete(p, v, retval)
- struct proc *p;
- void *v;
- register_t *retval;
-{
- return (ENOSYS);
-}
-
-/*
* Delete a name from the filesystem.
*/
/* ARGSUSED */