freebsd-dev/sys/kern
Peter Wemm bb6a234e47 Put on my asbestos underwear and commit the patch that I posted to -arch
some time ago that changes kern.randompid from a boolean to a randomness
range for the next pid assigment.  Too high causes a lot of extra work
to scan for free pids, and too low merely wastes randomness entropy.  It's
still possible to select a completely random range by using PID_MAX (100k)
or -1 as a shortcut to mean "the whole range".
Also, don't waste randomness when doing a wraparound.
1999-12-06 11:13:50 +00:00
..
bus_if.m * Add struct resource_list* argument to resource_list_alloc and 1999-10-12 21:35:51 +00:00
device_if.m $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
imgact_aout.c s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
imgact_elf.c s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
imgact_gzip.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
imgact_shell.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
inflate.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
init_main.c struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
init_sysent.c Cop on a bit and regenerate things correctly. 1999-11-18 20:45:04 +00:00
kern_acct.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_clock.c Fixed some comments in statclock(). The previous commit made it clearer 1999-11-27 14:37:34 +00:00
kern_conf.c Report swapdevices as cdevs rather than bdevs. 1999-11-29 21:37:18 +00:00
kern_descrip.c Only bother converting the stat structure if we intend to return it, 1999-11-18 08:08:28 +00:00
kern_environment.c Change the prototype of the strto* routines to make the second 1999-11-24 01:03:08 +00:00
kern_exec.c Add a sysctl to control if argv is disclosed to the world: 1999-11-26 08:27:16 +00:00
kern_exit.c Scheduler fixes equivalent to the ones logged in the following NetBSD 1999-11-28 12:12:14 +00:00
kern_fork.c Put on my asbestos underwear and commit the patch that I posted to -arch 1999-12-06 11:13:50 +00:00
kern_intr.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_jail.c Add a version number field to the jail(2) argument so that future changes 1999-09-19 08:36:03 +00:00
kern_kthread.c Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
kern_ktrace.c This is a partial commit of the patch from PR 14914: 1999-11-16 10:56:05 +00:00
kern_linker.c Tempt fate and stop index from converting a const char * into a char *. 1999-11-21 04:26:48 +00:00
kern_lock.c Correct a locking error in apause: It should always hold 1999-11-11 03:02:03 +00:00
kern_lockf.c Commit the remaining part of PR14914: 1999-11-16 16:28:58 +00:00
kern_malloc.c KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
kern_mib.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_module.c A hack basically.. We have a bunch of code that used to call 1999-11-08 06:53:30 +00:00
kern_ntptime.c pps_shiftmax only exists #ifdef PPS_SYNC 1999-08-30 16:21:32 +00:00
kern_physio.c Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the 1999-10-30 06:32:05 +00:00
kern_proc.c Add a sysctl to control if argv is disclosed to the world: 1999-11-26 08:27:16 +00:00
kern_prot.c Introduce the new function 1999-11-21 19:03:20 +00:00
kern_random.c Trim some unused #includes 1999-10-11 15:00:09 +00:00
kern_resource.c Add a bit of sanity checking and problem avoidance in case the 1999-11-29 11:29:04 +00:00
kern_shutdown.c Convert dumpon to work on character devices instead of block devices. 1999-11-28 16:25:17 +00:00
kern_sig.c Introduce the new function 1999-11-21 19:03:20 +00:00
kern_subr.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
kern_switch.c Fix a typo and a bug. 1999-08-19 16:06:08 +00:00
kern_synch.c Don't make the ktrace hook in tsleep() deref a null curproc after a panic. 1999-11-30 09:01:46 +00:00
kern_syscalls.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
kern_sysctl.c Separate some common sysctl code into sysctl_find_oid() and calling 1999-12-01 02:25:19 +00:00
kern_tc.c Fixed some comments in statclock(). The previous commit made it clearer 1999-11-27 14:37:34 +00:00
kern_threads.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
kern_time.c Change useracc() and kernacc() to use VM_PROT_{READ|WRITE|EXECUTE} for the 1999-10-30 06:32:05 +00:00
kern_timeout.c Restructure TCP timeout handling: 1999-08-30 21:17:07 +00:00
kern_xxx.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ksched.c 1. Add new defs for mins and maxs for the POSIX flavor priorities. They 1998-05-19 21:11:53 +00:00
link_aout.c Take a shot at implementing the fix for PR 15014 for the a.out kernel 1999-11-28 12:06:29 +00:00
link_elf_obj.c Fix an embarresing mistake in the kld symbol lookup for DDB. It should 1999-11-28 11:59:18 +00:00
link_elf.c Fix an embarresing mistake in the kld symbol lookup for DDB. It should 1999-11-28 11:59:18 +00:00
Make.tags.inc Update to know about current kernel directory layout. 1999-02-28 22:14:16 +00:00
makedevops.pl Fix some bugs in user-end output and add a reference to the original 1999-11-22 14:40:04 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00
makesyscalls.sh Add $FreeBSD$ tags to generated files otherwise the checker won't let them 1999-09-10 23:34:30 +00:00
md5c.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
p1003_1b.c Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
posix4_mib.c * Change sysctl from using linker_set to construct its tree using SLISTs. 1999-02-16 10:49:55 +00:00
subr_autoconf.c Removal of sys/device.h 1999-10-05 21:19:41 +00:00
subr_blist.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
subr_bus.c correct incomplete last change 1999-12-03 09:10:04 +00:00
subr_clist.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_devstat.c This is a partial commit of the patch from PR 14914: 1999-11-16 10:56:05 +00:00
subr_disk.c Conditionalise unwanted chattyness. 1999-11-19 23:34:01 +00:00
subr_disklabel.c Removed diskerr()'s unused d_name arg and updated callers. This fixes 1999-09-13 12:59:41 +00:00
subr_diskmbr.c Fix a warning. 1999-11-09 21:35:10 +00:00
subr_diskslice.c Add missing 't' in printf message. 1999-09-25 14:43:40 +00:00
subr_dkbad.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_eventhandler.c Commit the remaining part of PR14914: 1999-11-16 16:28:58 +00:00
subr_log.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
subr_module.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
subr_param.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_prf.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
subr_prof.c Unremove used includes. 1999-10-12 02:54:23 +00:00
subr_rman.c Commit the remaining part of PR14914: 1999-11-16 16:28:58 +00:00
subr_scanf.c Change the prototype of the strto* routines to make the second 1999-11-24 01:03:08 +00:00
subr_smp.c Moved scheduling-related code to kern_synch.c so that it is easier to fix 1999-11-27 12:32:27 +00:00
subr_trap.c Passing "0" or "FALSE" as the fourth argument to vm_fault is wrong. It 1999-11-09 01:44:28 +00:00
subr_xxx.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
sys_generic.c Missed the second argument of fdrop(). 1999-10-14 10:50:06 +00:00
sys_pipe.c Update pipe code for fo_stat() entry point - pipe_stat() is now no longer 1999-11-08 03:28:49 +00:00
sys_process.c Introduce the new function 1999-11-21 19:03:20 +00:00
sys_socket.c Update socket file type for fo_stat(). soo_stat() becomes a fileops 1999-11-08 03:31:01 +00:00
syscalls.c Cop on a bit and regenerate things correctly. 1999-11-18 20:45:04 +00:00
syscalls.master modfind(char *) -> modfind(const char *) 1999-11-17 21:32:40 +00:00
sysv_ipc.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_msg.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_sem.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sysv_shm.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
tty_compat.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_conf.c Now that Netgraph is in the system there are some cleanups we can do. 1999-10-23 04:28:11 +00:00
tty_cons.c Remove cdevsw_add() - the necessary make_dev() is already there. 1999-11-18 06:37:00 +00:00
tty_pty.c Revert peter's commit to remove cdevsw_add() - it was a bit premature 1999-11-21 02:54:54 +00:00
tty_snoop.c Remove cdevsw_add() - the make_dev() calls are already there. 1999-11-18 06:39:47 +00:00
tty_subr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_tb.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
tty_tty.c Remove five now unused fields from struct cdevsw. They should never 1999-09-25 18:24:47 +00:00
tty.c This is a partial commit of the patch from PR 14914: 1999-11-16 10:56:05 +00:00
uipc_domain.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
uipc_mbuf.c The functions m_copym() and m_copypacket() return read-only copies, 1999-12-01 22:31:32 +00:00
uipc_proto.c Trim unused options (or #ifdef for undoc options). 1999-10-11 15:19:12 +00:00
uipc_sockbuf.c Implement RLIMIT_SBSIZE in the kernel. This is a per-uid sockbuf total 1999-10-09 20:42:17 +00:00
uipc_socket2.c Implement RLIMIT_SBSIZE in the kernel. This is a per-uid sockbuf total 1999-10-09 20:42:17 +00:00
uipc_socket.c KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
uipc_syscalls.c General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
uipc_usrreq.c This is a partial commit of the patch from PR 14914: 1999-11-16 10:56:05 +00:00
vfs_aio.c Convert various pieces of code to use vn_isdisk() rather than checking 1999-11-22 10:33:55 +00:00
vfs_bio.c Collect read and write counts for filesystems. This new code 1999-12-01 02:09:30 +00:00
vfs_cache.c Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
vfs_cluster.c useracc() the prequel: 1999-10-29 18:09:36 +00:00
vfs_conf.c Make BOOTP work again. 1999-11-29 18:51:04 +00:00
vfs_default.c Make vop_panic() a little more informative. 1999-11-07 15:09:49 +00:00
vfs_export.c Remove vfs_getrootfsid() function (a temporary hack added a few months 1999-11-29 22:25:36 +00:00
vfs_extattr.c struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
vfs_init.c Move a couple of globals here where they are initialised, rather than 1999-11-01 23:54:07 +00:00
vfs_lookup.c Before we start to mess with the VFS name-cache clean things up a little bit: 1999-10-03 12:18:29 +00:00
vfs_mount.c Make BOOTP work again. 1999-11-29 18:51:04 +00:00
vfs_subr.c Remove vfs_getrootfsid() function (a temporary hack added a few months 1999-11-29 22:25:36 +00:00
vfs_syscalls.c struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
vfs_vnops.c Ensure that garbage from the kernel stack does not wind up being 1999-11-18 08:14:20 +00:00
vnode_if.pl Update this to be able to output ASSERT_VOP_(UN)LOCKED() based on the 1999-09-26 18:31:51 +00:00
vnode_if.sh Update this to be able to output ASSERT_VOP_(UN)LOCKED() based on the 1999-09-26 18:31:51 +00:00
vnode_if.src Remove WILLRELE from VOP_SYMLINK 1999-11-13 20:58:17 +00:00