summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-06-17 20:36:10 +0000
committermillert <millert@openbsd.org>2005-06-17 20:36:10 +0000
commitf074ddc2fcda1ff7e59a9dd31c13444415758a2c (patch)
treea8d6b120c95169f5f1e9a098ba39f94869147628
parentExtended Attributes was a piece to get to ACLs, however ACLs have not (diff)
downloadwireguard-openbsd-f074ddc2fcda1ff7e59a9dd31c13444415758a2c.tar.xz
wireguard-openbsd-f074ddc2fcda1ff7e59a9dd31c13444415758a2c.zip
remove undelete syscall
-rw-r--r--lib/libc/sys/Makefile.inc14
-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
6 files changed, 22 insertions, 27 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 1d3a5e0188c..53a1ac48ce2 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.73 2005/06/17 20:37:31 drahn Exp $
+# $OpenBSD: Makefile.inc,v 1.72 2005/06/17 20:36:10 millert Exp $
# $NetBSD: Makefile.inc,v 1.35 1995/10/16 23:49:07 jtc Exp $
# @(#)Makefile.inc 8.1 (Berkeley) 6/17/93
@@ -59,6 +59,10 @@ ASM= accept.o access.o acct.o adjtime.o bind.o chdir.o chflags.o chmod.o \
utimes.o vadvise.o wait4.o write.o writev.o xfspioctl.o __semctl.o \
__syscall.o __sysctl.o
+ASM+= extattrctl.o extattr_set_file.o extattr_get_file.o \
+ extattr_delete_file.o extattr_set_fd.o extattr_get_fd.o \
+ extattr_delete_fd.o
+
GASM= ${ASM:.o=.go}
PASM= ${ASM:.o=.po}
SASM= ${ASM:.o=.so}
@@ -224,6 +228,14 @@ MAN+= accept.2 access.2 acct.2 adjtime.2 bind.2 brk.2 chdir.2 chflags.2 \
statfs.2 swapctl.2 symlink.2 sync.2 sysarch.2 syscall.2 truncate.2 \
umask.2 unlink.2 utimes.2 vfork.2 wait.2 write.2
+MAN+= extattr_get_file.2
+MLINKS+=extattr_get_file.2 extattr_set_file.2 \
+ extattr_get_file.2 extattr_delete_file.2 \
+ extattr_get_file.2 extattr_get_fd.2 \
+ extattr_get_file.2 extattr_set_fd.2 \
+ extattr_get_file.2 extattr_delete_fd.2 \
+ extattr_get_file.2 extattr.2
+
MAN+= msgctl.2 shmctl.2 shmat.2 semop.2 semget.2 semctl.2 msgsnd.2 msgrcv.2 \
msgget.2 shmget.2
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 */