freebsd-nq/sys/kern
John Baldwin 19e9205a23 Simplify the pager support in DDB. Allowing different db commands to
install custom pager functions didn't actually happen in practice (they
all just used the simple pager and passed in a local quit pointer).  So,
just hardcode the simple pager as the only pager and make it set a global
db_pager_quit flag that db commands can check when the user hits 'q' (or a
suitable variant) at the pager prompt.  Also, now that it's easy to do so,
enable paging by default for all ddb commands.  Any command that wishes to
honor the quit flag can do so by checking db_pager_quit.  Note that the
pager can also be effectively disabled by setting $lines to 0.

Other fixes:
- 'show idt' on i386 and pc98 now actually checks the quit flag and
  terminates early.
- 'show intr' now actually checks the quit flag and terminates early.
2006-07-12 21:22:44 +00:00
..
bus_if.m Create bus_enumerate_hinted_children. This routine will allow drivers 2006-07-08 17:06:15 +00:00
clock_if.m
cpufreq_if.m
device_if.m
genassym.sh
imgact_aout.c Correct two vm object reference leaks in error cases. 2006-03-16 08:51:59 +00:00
imgact_elf32.c
imgact_elf64.c
imgact_elf.c Avoid a vm object reference leak in a rarely used code path. 2006-01-21 20:11:49 +00:00
imgact_gzip.c
imgact_shell.c
inflate.c
init_main.c The VERBOSE_SYSINIT stuff sees the DDB define a lot better if we include 2006-05-14 07:11:28 +00:00
init_sysent.c Regen. 2006-07-11 20:55:23 +00:00
kern_acct.c Audit path passed to the acct() system call. 2006-06-05 13:02:34 +00:00
kern_acl.c Move POSIX.1e-specific utility routines from kern_acl.c to 2006-07-06 23:37:39 +00:00
kern_alq.c - Conditionalize Giant around VFS operations for ALQ, ktrace, and 2006-03-28 21:30:22 +00:00
kern_clock.c Unexpand an instance of TAILQ_EMPTY() 2006-06-14 03:14:26 +00:00
kern_condvar.c Fix a sleep queue race for KSE thread. 2006-02-23 00:13:58 +00:00
kern_conf.c Make the printfs relating to purging threads from a device less intrusive. 2006-05-17 06:37:14 +00:00
kern_context.c
kern_cpu.c - Print message about cpufreq and timecounter TSC 2006-03-03 02:06:04 +00:00
kern_descrip.c Add a kern_close() so that the ABIs can close a file descriptor w/o having 2006-07-08 20:03:39 +00:00
kern_environment.c Use a sleep mutex instead of an sx lock for the kernel environment. This 2006-07-09 21:42:58 +00:00
kern_event.c Use fget() in kqueue_register() instead of doing all the work by hand. 2006-06-12 21:46:23 +00:00
kern_exec.c In execve(), audit the path name being executed. In the future, it 2006-05-28 08:28:47 +00:00
kern_exit.c Close race between vmspace_exitfree() and exit1() and races between 2006-05-29 21:28:56 +00:00
kern_fork.c - Use suser_cred(9) instead of checking cr_ruid directly. 2006-06-27 11:28:50 +00:00
kern_idle.c
kern_intr.c Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
kern_jail.c
kern_kse.c Close some races between procfs/ptrace and exit(2): 2006-02-22 18:57:50 +00:00
kern_kthread.c Don't do a PHOLD() in kthread_create() w/o a matching PRELE() in 2006-02-22 17:21:45 +00:00
kern_ktr.c Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
kern_ktrace.c Use suser_cred(9) instead of checking cr_uid directly. 2006-06-27 11:29:38 +00:00
kern_linker.c Explicitly use STAILQ_REMOVE_HEAD() when we know we are removing the head 2006-07-10 19:28:57 +00:00
kern_lock.c
kern_lockf.c
kern_mac.c Don't call vn_finished_write() if vn_start_write() failed. 2006-03-19 20:43:07 +00:00
kern_malloc.c Fix bug in malloc_uninit(): 2006-03-03 22:36:52 +00:00
kern_mbuf.c Move some functions and definitions from uipc_socket2.c to uipc_socket.c: 2006-06-10 14:34:07 +00:00
kern_mib.c
kern_module.c Address a problem I missed in removing Giant from the kernel linker. Not 2006-06-26 18:34:45 +00:00
kern_mtxpool.c
kern_mutex.c Bah, fix fat finger in last. Invert the ~ on MTX_FLAGMASK as it's 2006-06-03 21:11:33 +00:00
kern_ntptime.c
kern_physio.c
kern_pmc.c
kern_poll.c Change msleep() and tsleep() to not alter the calling thread's priority 2006-04-17 18:20:38 +00:00
kern_proc.c CPU time accounting speedup (step 2) 2006-02-11 09:33:07 +00:00
kern_prot.c Add kern_setgroups() and kern_getgroups() and use them to implement 2006-07-06 21:32:20 +00:00
kern_resource.c Go over calcru and friends once more. 2006-03-11 10:48:19 +00:00
kern_rwlock.c Implement rw_try_upgrade() and rw_downgrade(). rw_try_upgrade() makes a 2006-04-19 21:06:52 +00:00
kern_sema.c
kern_shutdown.c On shutdown try to turn off all swap devices. This way GEOM providers are 2006-04-10 10:03:41 +00:00
kern_sig.c Remove various bits of conditional Alpha code and fixup a few comments. 2006-05-12 05:04:46 +00:00
kern_subr.c
kern_switch.c Add scheduler CORE, the work I have done half a year ago, recent, 2006-06-13 13:12:56 +00:00
kern_sx.c Add a new file (kern/subr_lock.c) for holding code related to struct 2006-01-17 16:55:17 +00:00
kern_synch.c Use scheduler API sched_relinquish() to implement yield() syscall. 2006-06-15 06:41:57 +00:00
kern_syscalls.c
kern_sysctl.c Kill an XXX remark that has been untrue since rev. 1.150 of this file. 2006-06-16 07:36:18 +00:00
kern_tc.c Add a kern.timecounter.tc sysctl tree that contains the mask, 2006-06-16 20:29:05 +00:00
kern_thr.c Use newkg to check if SCHED_OTHER is already inherited. 2006-07-12 07:02:28 +00:00
kern_thread.c o Fix typo in the comment. 2006-06-30 08:10:55 +00:00
kern_time.c Let kernel POSIX timer code and mqueue code to use integer as a resource 2006-03-01 06:29:34 +00:00
kern_timeout.c Use the recently added msleep_spin() function to simplify the 2006-02-23 19:13:12 +00:00
kern_umtx.c Move flag TDF_UMTXQ into structure umtxq, this eliminates the requirement 2006-05-18 08:43:46 +00:00
kern_uuid.c
kern_xxx.c
ksched.c Return priority range 0..PRI_MAX_TIMESHARE-PRI_MIN_TIMESHARE for 2006-07-12 05:54:17 +00:00
link_elf_obj.c Replace the kld_mtx mutex with a kld_sx sx lock and expand it's scope to 2006-06-21 20:42:08 +00:00
link_elf.c Replace the kld_mtx mutex with a kld_sx sx lock and expand it's scope to 2006-06-21 20:42:08 +00:00
linker_if.m
Make.tags.inc
Makefile
makesyscalls.sh
md4c.c
md5c.c Fix a panic on sparc64 related to inproper aligment - we cannot assume, 2006-03-30 18:45:50 +00:00
p1003_1b.c Oops, remove debugger line. 2006-07-11 06:15:46 +00:00
posix4_mib.c
sched_4bsd.c o Fix grammar in the comment, indent macros. No functional changes. 2006-07-02 20:53:52 +00:00
sched_core.c Fix a bug when accumulating run time, if a thread calls yield() syscall, 2006-06-29 12:29:20 +00:00
sched_ule.c Add scheduler API sched_relinquish(), the API is used to implement 2006-06-15 06:37:39 +00:00
serdev_if.m MFp4: Add the ipend() method to the serdev I/F to allow umbrella 2006-04-23 22:12:39 +00:00
subr_acl_posix1e.c Move POSIX.1e-specific utility routines from kern_acl.c to 2006-07-06 23:37:39 +00:00
subr_autoconf.c
subr_blist.c
subr_bus.c Create bus_enumerate_hinted_children. This routine will allow drivers 2006-07-08 17:06:15 +00:00
subr_clist.c
subr_clock.c Remove more straggling CPU_ macro references 2006-05-11 17:53:26 +00:00
subr_devstat.c
subr_disk.c Unexpand TAILQ_FIRST(foo) == NULL to TAILQ_EMPTY(foo). 2006-05-29 05:43:26 +00:00
subr_eventhandler.c
subr_firmware.c If linker_release_module() fails then we still hold a reference on 2006-06-25 12:36:21 +00:00
subr_hints.c Use a sleep mutex instead of an sx lock for the kernel environment. This 2006-07-09 21:42:58 +00:00
subr_kdb.c Add a funny sysctl: debug.kdb.trap_code . 2006-06-18 12:27:59 +00:00
subr_kobj.c
subr_lock.c Add a basic reader/writer lock implementation to the kernel. This 2006-01-27 23:13:26 +00:00
subr_log.c
subr_mbpool.c
subr_mchain.c
subr_module.c
subr_msgbuf.c
subr_param.c
subr_pcpu.c
subr_power.c
subr_prf.c Simplify the pager support in DDB. Allowing different db commands to 2006-07-12 21:22:44 +00:00
subr_prof.c
subr_rman.c Add a convenience function rman_init_from_resource for initializing 2006-06-12 04:06:21 +00:00
subr_rtc.c Remove more straggling CPU_ macro references 2006-05-11 17:53:26 +00:00
subr_sbuf.c
subr_scanf.c
subr_sleepqueue.c Print td_name instead of p_comm if td_name is non-empty for 2006-04-21 20:40:43 +00:00
subr_smp.c
subr_stack.c Correct typos 2006-05-28 22:15:28 +00:00
subr_taskqueue.c When starting up threads in taskqueue_start_threads create them 2006-05-24 22:11:07 +00:00
subr_trap.c Test before modifying p_sflag to avoid unconditionally cache line 2006-02-10 14:59:16 +00:00
subr_turnstile.c Add some new commands to hopefully make it easier to diagnose lock-related 2006-04-25 20:28:17 +00:00
subr_unit.c
subr_witness.c Use db_lookup_thread() to lookup the thread for the passed in address 2006-04-25 20:24:23 +00:00
sys_generic.c - Split ioctl() up into ioctl() and kern_ioctl(). The kern_ioctl() assumes 2006-07-08 20:12:14 +00:00
sys_pipe.c Move some functions and definitions from uipc_socket2.c to uipc_socket.c: 2006-06-10 14:34:07 +00:00
sys_process.c Close some races between procfs/ptrace and exit(2): 2006-02-22 18:57:50 +00:00
sys_socket.c
syscalls.c Regen. 2006-07-11 20:55:23 +00:00
syscalls.master - Add conditional VFS Giant locking to getdents_common() (linux ABIs), 2006-07-11 20:52:08 +00:00
sysv_ipc.c
sysv_msg.c Move some functions and definitions from uipc_socket2.c to uipc_socket.c: 2006-06-10 14:34:07 +00:00
sysv_sem.c Use proper format specifier for pointers in debug printfs (turned off 2006-07-12 11:41:53 +00:00
sysv_shm.c Move some functions and definitions from uipc_socket2.c to uipc_socket.c: 2006-06-10 14:34:07 +00:00
tty_compat.c Move the old BSD4.3 tty compatibility from (!BURN_BRIDGES && COMPAT_43) 2006-01-10 09:19:10 +00:00
tty_conf.c
tty_cons.c If the console has no cncheckc method, use cngetc instead. 2006-05-26 11:00:20 +00:00
tty_pts.c Also check use_pty in the ptmx clone lookup; this means that when ptmx 2006-04-28 21:39:57 +00:00
tty_pty.c Don't destroy the slave /dev entry until someone figures out why devfs seems 2006-02-02 20:35:45 +00:00
tty_subr.c
tty_tty.c
tty.c Move the old BSD4.3 tty compatibility from (!BURN_BRIDGES && COMPAT_43) 2006-01-10 09:19:10 +00:00
uipc_accf.c
uipc_cow.c
uipc_domain.c Several protocol switch functions (pru_abort, pru_detach, pru_sosetlabel) 2006-07-11 23:18:28 +00:00
uipc_mbuf2.c
uipc_mbuf.c Move some functions and definitions from uipc_socket2.c to uipc_socket.c: 2006-06-10 14:34:07 +00:00
uipc_mqueue.c Change msleep() and tsleep() to not alter the calling thread's priority 2006-04-17 18:20:38 +00:00
uipc_proto.c Remove UNIX domain socket raw socket support. This feature is documented 2006-04-09 16:29:47 +00:00
uipc_sem.c Convert remaining functions to ANSI C function declarations. 2006-01-22 00:30:46 +00:00
uipc_sockbuf.c Several protocol switch functions (pru_abort, pru_detach, pru_sosetlabel) 2006-07-11 23:18:28 +00:00
uipc_socket2.c Several protocol switch functions (pru_abort, pru_detach, pru_sosetlabel) 2006-07-11 23:18:28 +00:00
uipc_socket.c Several protocol switch functions (pru_abort, pru_detach, pru_sosetlabel) 2006-07-11 23:18:28 +00:00
uipc_syscalls.c - Split out kern_accept(), kern_getpeername(), and kern_getsockname() for 2006-07-10 21:38:17 +00:00
uipc_usrreq.c Reduce periods of simultaneous acquisition of various socket buffer 2006-07-11 21:49:54 +00:00
vfs_acl.c Move POSIX.1e-specific utility routines from kern_acl.c to 2006-07-06 23:37:39 +00:00
vfs_aio.c Make lio ident more consistant with aio ident. 2006-06-02 17:45:48 +00:00
vfs_bio.c - Properly check against B_DELWRI and B_NEEDSGIANT. This check was 2006-04-04 06:44:21 +00:00
vfs_cache.c Axe Giant from vn_fullpath(9). The vnode -> pathname lookup should be 2006-06-16 05:09:28 +00:00
vfs_cluster.c Remove unused leaked debug function prototype. 2006-03-21 01:04:24 +00:00
vfs_default.c - GETWRITEMOUNT now returns a referenced mountpoint to prevent its 2006-03-31 03:52:24 +00:00
vfs_export.c
vfs_extattr.c - Add conditional VFS Giant locking to getdents_common() (linux ABIs), 2006-07-11 20:52:08 +00:00
vfs_hash.c In vfs_hash_get(): mount point should never be changed 2006-04-18 08:05:08 +00:00
vfs_init.c Remove duplicate security checks already performed in kern_kldload(). 2006-06-26 18:33:32 +00:00
vfs_lookup.c Lock giant when assigning ni_vp and keep vfslocked state valid. 2006-04-29 07:13:49 +00:00
vfs_mount.c - Expand the scope of Giant some in mount(2) to protect the vfsp structure 2006-06-27 14:46:31 +00:00
vfs_subr.c Back out my rev. 1.674. The better fix (rev. 1.637) is already in tree. 2006-07-05 16:33:25 +00:00
vfs_syscalls.c - Add conditional VFS Giant locking to getdents_common() (linux ABIs), 2006-07-11 20:52:08 +00:00
vfs_vnops.c Simplify the code and remove two mutex operations. 2006-06-24 22:55:43 +00:00
vnode_if.src Remove two locking assertion entries that: 2006-05-31 14:06:06 +00:00