Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/common Include all of the vfs syscalls in the sys...



details:   https://anonhg.NetBSD.org/src/rev/20cb75e02b78
branches:  trunk
changeset: 969689:20cb75e02b78
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Feb 27 18:19:16 2020 +0000

description:
Include all of the vfs syscalls in the syscall_package, not just oquota.

Should fix PR kern/55025

XXX pullup-9

diffstat:

 sys/compat/common/vfs_syscalls_43.c |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r cbb636baf388 -r 20cb75e02b78 sys/compat/common/vfs_syscalls_43.c
--- a/sys/compat/common/vfs_syscalls_43.c       Thu Feb 27 17:42:33 2020 +0000
+++ b/sys/compat/common/vfs_syscalls_43.c       Thu Feb 27 18:19:16 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfs_syscalls_43.c,v 1.64 2019/01/27 02:08:39 pgoyette Exp $    */
+/*     $NetBSD: vfs_syscalls_43.c,v 1.65 2020/02/27 18:19:16 pgoyette Exp $    */
 
 /*
  * Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls_43.c,v 1.64 2019/01/27 02:08:39 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls_43.c,v 1.65 2020/02/27 18:19:16 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -79,7 +79,16 @@
 static void cvtstat(struct stat *, struct stat43 *);
 
 static struct syscall_package vfs_syscalls_43_syscalls[] = {
-       { SYS_compat_43_oquota, 0, (sy_call_t *)compat_43_sys_quota },
+       { SYS_compat_43_oquota,     0, (sy_call_t *)compat_43_sys_quota },
+       { SYS_compat_43_stat43,     0, (sy_call_t *)compat_43_sys_stat },
+       { SYS_compat_43_lstat43,    0, (sy_call_t *)compat_43_sys_lstat },
+       { SYS_compat_43_fstat43,    0, (sy_call_t *)compat_43_sys_fstat },
+       { SYS_compat_43_otruncate,  0, (sy_call_t *)compat_43_sys_ftruncate },
+       { SYS_compat_43_oftruncate, 0, (sy_call_t *)compat_43_sys_ftruncate },
+       { SYS_compat_43_olseek,     0, (sy_call_t *)compat_43_sys_lseek },
+       { SYS_compat_43_ocreat,     0, (sy_call_t *)compat_43_sys_creat },
+       { SYS_compat_43_ogetdirentries, 0,
+           (sy_call_t *)compat_43_sys_getdirentries },
        { 0, 0, NULL }
 };
 



Home | Main Index | Thread Index | Old Index