Module Name: src
Committed By: pooka
Date: Sat May 2 14:13:28 UTC 2009
Modified Files:
src/sys/conf: param.c
src/sys/kern: vfs_syscalls.c
Log Message:
Move dovfsusermount from vfs_syscalls.c to param.c: secmodel bsd44
depends on it and we can't isolate it in vfs.
(no, it doesn't really belong in param.c, but I couldn't figure out
a better place for it)
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/conf/param.c
cvs rdiff -u -r1.393 -r1.394 src/sys/kern/vfs_syscalls.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/conf/param.c
diff -u src/sys/conf/param.c:1.60 src/sys/conf/param.c:1.61
--- src/sys/conf/param.c:1.60 Fri Mar 6 20:31:54 2009
+++ src/sys/conf/param.c Sat May 2 14:13:28 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: param.c,v 1.60 2009/03/06 20:31:54 joerg Exp $ */
+/* $NetBSD: param.c,v 1.61 2009/05/02 14:13:28 pooka Exp $ */
/*
* Copyright (c) 1980, 1986, 1989 Regents of the University of California.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: param.c,v 1.60 2009/03/06 20:31:54 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: param.c,v 1.61 2009/05/02 14:13:28 pooka Exp $");
#include "opt_hz.h"
#include "opt_rtc_offset.h"
@@ -131,6 +131,8 @@
size_t coherency_unit = ALIGNBYTES + 1;
#endif
+int dovfsusermount = 0;
+
/*
* Various mbuf-related parameters. These can also be changed at run-time
* with sysctl.
Index: src/sys/kern/vfs_syscalls.c
diff -u src/sys/kern/vfs_syscalls.c:1.393 src/sys/kern/vfs_syscalls.c:1.394
--- src/sys/kern/vfs_syscalls.c:1.393 Wed Apr 29 01:03:43 2009
+++ src/sys/kern/vfs_syscalls.c Sat May 2 14:13:28 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_syscalls.c,v 1.393 2009/04/29 01:03:43 dyoung Exp $ */
+/* $NetBSD: vfs_syscalls.c,v 1.394 2009/05/02 14:13:28 pooka Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.393 2009/04/29 01:03:43 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_syscalls.c,v 1.394 2009/05/02 14:13:28 pooka Exp $");
#ifdef _KERNEL_OPT
#include "opt_fileassoc.h"
@@ -117,8 +117,6 @@
void checkdirs(struct vnode *);
-int dovfsusermount = 0;
-
/*
* Virtual File System System Calls
*/