Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Add options for quota.
details: https://anonhg.NetBSD.org/src/rev/ef77d9c4cb08
branches: trunk
changeset: 842160:ef77d9c4cb08
user: christos <christos%NetBSD.org@localhost>
date: Tue Jun 18 16:22:54 2019 +0000
description:
Add options for quota.
diffstat:
sys/compat/netbsd32/netbsd32_netbsd.c | 5 +++--
sys/compat/netbsd32/netbsd32_quota.c | 10 ++++++++--
2 files changed, 11 insertions(+), 4 deletions(-)
diffs (61 lines):
diff -r 07fd619ceebd -r ef77d9c4cb08 sys/compat/netbsd32/netbsd32_netbsd.c
--- a/sys/compat/netbsd32/netbsd32_netbsd.c Tue Jun 18 16:06:45 2019 +0000
+++ b/sys/compat/netbsd32/netbsd32_netbsd.c Tue Jun 18 16:22:54 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_netbsd.c,v 1.224 2019/06/18 16:05:30 pgoyette Exp $ */
+/* $NetBSD: netbsd32_netbsd.c,v 1.225 2019/06/18 16:22:54 christos Exp $ */
/*
* Copyright (c) 1998, 2001, 2008, 2018 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.224 2019/06/18 16:05:30 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.225 2019/06/18 16:22:54 christos Exp $");
/*
* below are all the standard NetBSD system calls, in the 32bit
@@ -52,6 +52,7 @@
#include "opt_compat_netbsd.h"
#include "opt_compat_43.h"
#include "opt_sysv.h"
+#include "opt_quota.h"
#include "opt_syscall_debug.h"
#include "opt_quota.h"
#endif
diff -r 07fd619ceebd -r ef77d9c4cb08 sys/compat/netbsd32/netbsd32_quota.c
--- a/sys/compat/netbsd32/netbsd32_quota.c Tue Jun 18 16:06:45 2019 +0000
+++ b/sys/compat/netbsd32/netbsd32_quota.c Tue Jun 18 16:22:54 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_quota.c,v 1.1 2018/12/24 20:44:39 mrg Exp $ */
+/* $NetBSD: netbsd32_quota.c,v 1.2 2019/06/18 16:22:54 christos Exp $ */
/*
* Copyright (c) 1998, 2001, 2008, 2018 Matthew R. Green
@@ -29,7 +29,11 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_quota.c,v 1.1 2018/12/24 20:44:39 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_quota.c,v 1.2 2019/06/18 16:22:54 christos Exp $");
+
+#ifdef _KERNEL_OPT
+#include "opt_quota.h"
+#endif
#include <sys/param.h>
#include <sys/systm.h>
@@ -42,6 +46,7 @@
#include <compat/netbsd32/netbsd32_syscallargs.h>
#include <compat/netbsd32/netbsd32_conv.h>
+#ifdef QUOTA
int
netbsd32___quotactl(struct lwp *l, const struct netbsd32___quotactl_args *uap, register_t *retval)
{
@@ -135,3 +140,4 @@
return do_sys_quotactl(SCARG_P32(uap, path), &args);
}
+#endif
Home |
Main Index |
Thread Index |
Old Index