Deleted Added
sdiff udiff text old ( 181913 ) new ( 183322 )
full compact
1/*-
2 * Copyright (c) 1995 Terrence R. Lambert
3 * All rights reserved.
4 *
5 * Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
6 * The Regents of the University of California. All rights reserved.
7 * (c) UNIX System Laboratories, Inc.
8 * All or some portions of this file are derived from material licensed

--- 28 unchanged lines hidden (view full) ---

37 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
38 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 * SUCH DAMAGE.
40 *
41 * @(#)init_main.c 8.9 (Berkeley) 1/21/94
42 */
43
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/sys/kern/init_main.c 183322 2008-09-24 10:14:37Z kib $");
46
47#include "opt_ddb.h"
48#include "opt_init_path.h"
49#include "opt_mac.h"
50
51#include <sys/param.h>
52#include <sys/kernel.h>
53#include <sys/exec.h>

--- 263 unchanged lines hidden (view full) ---

317{
318
319 if (boothowto & RB_VERBOSE)
320 bootverbose++;
321}
322SYSINIT(boot_verbose, SI_SUB_TUNABLES, SI_ORDER_ANY, set_boot_verbose, NULL);
323
324struct sysentvec null_sysvec = {
325 .sv_size = 0,
326 .sv_table = NULL,
327 .sv_mask = 0,
328 .sv_sigsize = 0,
329 .sv_sigtbl = NULL,
330 .sv_errsize = 0,
331 .sv_errtbl = NULL,
332 .sv_transtrap = NULL,
333 .sv_fixup = NULL,
334 .sv_sendsig = NULL,
335 .sv_sigcode = NULL,
336 .sv_szsigcode = NULL,
337 .sv_prepsyscall = NULL,
338 .sv_name = "null",
339 .sv_coredump = NULL,
340 .sv_imgact_try = NULL,
341 .sv_minsigstksz = 0,
342 .sv_pagesize = PAGE_SIZE,
343 .sv_minuser = VM_MIN_ADDRESS,
344 .sv_maxuser = VM_MAXUSER_ADDRESS,
345 .sv_usrstack = USRSTACK,
346 .sv_psstrings = PS_STRINGS,
347 .sv_stackprot = VM_PROT_ALL,
348 .sv_copyout_strings = NULL,
349 .sv_setregs = NULL,
350 .sv_fixlimit = NULL,
351 .sv_maxssiz = NULL
352};
353
354/*
355 ***************************************************************************
356 ****
357 **** The two following SYSINIT's are proc0 specific glue code. I am not
358 **** convinced that they can not be safely combined, but their order of
359 **** operation has been maintained as the same as the original init_main.c

--- 407 unchanged lines hidden ---