View | Details | Raw Unified | Return to bug 148680
Collapse All | Expand All

(-)sys/kern/subr_log.c (-1 / +1 lines)
Lines 87-93 Link Here
87
/* Times per second to check for a pending syslog wakeup. */
87
/* Times per second to check for a pending syslog wakeup. */
88
static int	log_wakeups_per_second = 5;
88
static int	log_wakeups_per_second = 5;
89
SYSCTL_INT(_kern, OID_AUTO, log_wakeups_per_second, CTLFLAG_RW,
89
SYSCTL_INT(_kern, OID_AUTO, log_wakeups_per_second, CTLFLAG_RW,
90
    &log_wakeups_per_second, 0, "");
90
    &log_wakeups_per_second, 0, "Times per second to check for a pending syslog wakeup");
91
91
92
/*ARGSUSED*/
92
/*ARGSUSED*/
93
static	int
93
static	int
(-)sys/kern/kern_thread.c (-1 / +1 lines)
Lines 72-78 Link Here
72
72
73
int max_threads_hits;
73
int max_threads_hits;
74
SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_hits, CTLFLAG_RD,
74
SYSCTL_INT(_kern_threads, OID_AUTO, max_threads_hits, CTLFLAG_RD,
75
	&max_threads_hits, 0, "");
75
	&max_threads_hits, 0, "max_threads_per_proc rearched counter");
76
76
77
TAILQ_HEAD(, thread) zombie_threads = TAILQ_HEAD_INITIALIZER(zombie_threads);
77
TAILQ_HEAD(, thread) zombie_threads = TAILQ_HEAD_INITIALIZER(zombie_threads);
78
static struct mtx zombie_lock;
78
static struct mtx zombie_lock;
(-)sys/kern/kern_shutdown.c (-2 / +2 lines)
Lines 603-609 Link Here
603
static int poweroff_delay = POWEROFF_DELAY;
603
static int poweroff_delay = POWEROFF_DELAY;
604
604
605
SYSCTL_INT(_kern_shutdown, OID_AUTO, poweroff_delay, CTLFLAG_RW,
605
SYSCTL_INT(_kern_shutdown, OID_AUTO, poweroff_delay, CTLFLAG_RW,
606
	&poweroff_delay, 0, "");
606
	&poweroff_delay, 0, "Delay before poweroff to write disks caches (usecs)");
607
607
608
static void
608
static void
609
poweroff_wait(void *junk, int howto)
609
poweroff_wait(void *junk, int howto)
Lines 623-629 Link Here
623
 */
623
 */
624
static int kproc_shutdown_wait = 60;
624
static int kproc_shutdown_wait = 60;
625
SYSCTL_INT(_kern_shutdown, OID_AUTO, kproc_shutdown_wait, CTLFLAG_RW,
625
SYSCTL_INT(_kern_shutdown, OID_AUTO, kproc_shutdown_wait, CTLFLAG_RW,
626
    &kproc_shutdown_wait, 0, "");
626
    &kproc_shutdown_wait, 0, "Shutdown wait for system procs and threads");
627
627
628
void
628
void
629
kproc_shutdown(void *arg, int howto)
629
kproc_shutdown(void *arg, int howto)
(-)sys/kern/vfs_syscalls.c (-1 / +5 lines)
Lines 878-884 Link Here
878
static int chroot_allow_open_directories = 1;
878
static int chroot_allow_open_directories = 1;
879
879
880
SYSCTL_INT(_kern, OID_AUTO, chroot_allow_open_directories, CTLFLAG_RW,
880
SYSCTL_INT(_kern, OID_AUTO, chroot_allow_open_directories, CTLFLAG_RW,
881
     &chroot_allow_open_directories, 0, "");
881
     &chroot_allow_open_directories, 0, "This sysctl determines if we will allow a process to chroot(2) if it\n"
882
	"has a directory open:\n"
883
	"0: disallowed for all processes\n"
884
	"1: allowed for processes that were not already chroot(2)'ed\n"
885
	"2: allowed for all processes");
882
886
883
/*
887
/*
884
 * Change notion of root (``/'') directory.
888
 * Change notion of root (``/'') directory.

Return to bug 148680