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)
This commit is contained in:
parent
14a563a89f
commit
fb42667d02
@ -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 @@ u_int maxcpus = 1;
|
||||
size_t coherency_unit = ALIGNBYTES + 1;
|
||||
#endif
|
||||
|
||||
int dovfsusermount = 0;
|
||||
|
||||
/*
|
||||
* Various mbuf-related parameters. These can also be changed at run-time
|
||||
* with sysctl.
|
||||
|
@ -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 @@ static int change_owner(struct vnode *, uid_t, gid_t, struct lwp *, int);
|
||||
|
||||
void checkdirs(struct vnode *);
|
||||
|
||||
int dovfsusermount = 0;
|
||||
|
||||
/*
|
||||
* Virtual File System System Calls
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user