freebsd-dev/sbin
Ian Dowse 4784a46912 Replace the code for reading and writing the kernel message buffer
with a new implementation that has a mostly reentrant "addchar"
routine, supports multiple message buffers in the kernel, and hides
the implementation details from callers.

The new code uses a kind of sequence number to represend the current
read and write positions in the buffer. This approach (suggested
mainly by bde) permits the read and write pointers to be maintained
separately, which reduces the number of atomic operations that are
required. The "mostly reentrant" above refers to the way that while
it is now always safe to have any number of concurrent writers,
readers could see the message buffer after a writer has advanced
the pointers but before it has witten the new character.

Discussed on:	freebsd-arch
2003-06-22 02:18:31 +00:00
..
adjkerntz Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
atacontrol DOnt allow getting caps from other than master and slave device :) 2003-05-05 10:28:37 +00:00
atm Use size_t type vars in sizeof contexts. 2003-05-02 06:46:24 +00:00
badsect Add section number to .Xr 2003-06-08 12:40:50 +00:00
bsdlabel Augh! Fix the sparc64 build: 2003-06-07 22:02:01 +00:00
camcontrol Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcam 2003-06-14 05:28:01 +00:00
ccdconfig Be consistent about module names. 2003-06-09 21:50:41 +00:00
clri Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
comcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
conscontrol The .Nm utility 2002-07-06 19:34:18 +00:00
cxconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
devd mdoc(7) fixes: Expand contraction. 2003-05-17 22:21:27 +00:00
devfs Xref police: chmod(8) -> chmod(1). 2003-06-17 09:53:03 +00:00
dhclient Hook omshell(1) up to the build. 2003-03-25 03:16:53 +00:00
disklabel Add a newline at end of file. 2003-05-19 19:52:29 +00:00
dmesg Replace the code for reading and writing the kernel message buffer 2003-06-22 02:18:31 +00:00
dump Add section number to .Xr 2003-06-08 12:51:28 +00:00
dumpfs Marshal newfs -L (filesystem volume names), the names are not marshalled 2003-06-09 09:26:02 +00:00
dumpon Bring the dumpon(8) man page closer to reality: 2003-05-07 19:37:51 +00:00
fdisk Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fdisk_pc98 Oops, DIOCGPC98 should be DIOCSPC98. 2003-05-01 14:30:59 +00:00
ffsinfo style clean. 2003-06-11 23:24:31 +00:00
fsck Back out previous delta to fix fsck on filesystems without an fstab entry, 2003-04-25 01:12:35 +00:00
fsck_ffs Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
fsck_msdosfs mount_msdos -> mount_msdosfs 2003-06-08 12:53:07 +00:00
fsdb I forgot fsdb was still sharing files with fsck. 2002-09-16 14:18:43 +00:00
fsirand Create a new 32-bit fs_flags word in the superblock. Add code to move 2002-11-27 02:18:58 +00:00
gbde Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
gpt Assorted mdoc(7) fixes. 2003-06-02 11:19:24 +00:00
growfs Remove references to ffsinfo(8) for now. It was disconnected from 2003-06-17 19:21:43 +00:00
ifconfig mdoc(7) police: fix more breakages from rev. 1.69. 2003-05-14 16:22:16 +00:00
init Add section number to .Xr 2003-06-08 12:51:28 +00:00
ip6fw Make -N option work. 2003-03-25 11:27:46 +00:00
ipf Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfs add extra include path to get .h files from source being used to compile 2002-03-26 10:09:09 +00:00
ipfstat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipfw o Pass a correct argument to printf(3). 2003-06-16 09:44:53 +00:00
ipmon Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
ipnat Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
kldconfig Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldstat Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
kldunload Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
ldconfig Describe the pattern filenames must be in before they are added to the hints 2003-05-08 17:25:41 +00:00
mca o Replace 'struct uuid' with 'uuid_t', 2002-11-01 06:34:35 +00:00
md5 Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
mdconfig Add "-n" argument, which causes mdconfig to simply print the unit 2003-06-11 06:38:24 +00:00
mdmfs mdoc(7) fix: Add the forgotten paragraph command. 2003-05-17 22:31:48 +00:00
mknod Remove some more MAKEDEV information. 2003-03-25 18:43:10 +00:00
mksnap_ffs mdoc(7) fixes. 2003-05-24 19:53:08 +00:00
mount Fixed the markup in the recently added ENVIRONMENT section. 2003-05-17 22:35:35 +00:00
mount_cd9660 s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_ext2fs Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
mount_hpfs english(4) police. 2002-12-27 12:15:40 +00:00
mount_msdosfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nfs mdoc(7) markup overhaul. 2003-05-17 22:53:44 +00:00
mount_ntfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_nullfs The .Xr utility 2003-02-05 13:50:41 +00:00
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs This really isn't WARNS clean. 2002-12-30 09:38:46 +00:00
mount_std Take sizeof() the right string for fspath's iovec. The old string was the 2002-11-05 20:06:01 +00:00
mount_udf mount_udf(8) is currently not in 4.X, so obviously it did not first appear 2002-12-12 05:56:36 +00:00
mount_umapfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
mount_unionfs Uniformly refer to a file system as "file system". 2002-12-12 17:26:04 +00:00
natd If the -proxy_only option is used, the -alias_address/-interface 2003-06-13 22:15:42 +00:00
newfs When newfs'ing a partition with UFS2 that had previously been newfs'ed 2003-05-22 18:38:54 +00:00
newfs_msdos Additional PC98 option is not needed. 2003-01-30 15:09:21 +00:00
nfsiod Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nos-tun Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 19:46:20 +00:00
ping Fix SIGINFO handling: do not print incorrect timing statistics 2003-06-02 10:01:59 +00:00
ping6 corrected buffer lengths for memset() 2002-12-06 02:11:31 +00:00
quotacheck Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
raidctl Fixed troff(1) and mdoc(7) warnings. 2003-05-18 21:05:22 +00:00
rcorder mdoc(7) police: Fixed markup now that it was taken out of vendor branch. 2002-11-25 16:23:03 +00:00
reboot Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
restore Add section number to .Xr 2003-06-08 12:51:28 +00:00
route There is an undocument feature that ``route -vnd flush'' prints 2003-04-16 12:06:53 +00:00
routed The .Xr utility 2003-06-08 12:55:55 +00:00
rtsol Default to WARNS=2. 2001-12-04 02:19:58 +00:00
savecore Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
setkey Use NI_xxx macros. 2003-04-16 09:53:29 +00:00
shutdown Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
slattach Change this: 2003-01-08 06:43:27 +00:00
spppcontrol Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
startslip Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
sunlabel Simplify the GEOM OAM api: Drop the request type, and let everything 2003-06-01 13:47:51 +00:00
swapon Use __FBSDID() to quiet GCC 3.3 warnings. 2003-05-03 18:41:59 +00:00
sysctl Tighten up the string->integer conversion in sysctl(8): 2003-06-15 06:26:08 +00:00
tunefs Remove another reference to ffsinfo.8 2003-06-17 22:47:11 +00:00
umount mdoc(7) fixes: Fix the markup in the recently added ENVIRONMENT section. 2003-05-19 19:58:29 +00:00
vinum Remove label command. It has been deprecated since December 1998, and 2003-06-12 05:55:59 +00:00
Makefile Compile sunlabel on all archs. 2003-06-17 09:12:42 +00:00
Makefile.inc Default to WARNS=2. 2001-12-04 02:19:58 +00:00