freebsd-dev/bin
Julian Elischer 7ab24ea3b9 Introduce a way to make pure kernal threads.
kthread_add() takes the same parameters as the old kthread_create()
plus a pointer to a process structure, and adds a kernel thread
to that process.

kproc_kthread_add() takes the parameters for kthread_add,
plus a process name and a pointer to a pointer to a process instead of just
a pointer, and if the proc * is NULL, it creates the process to the
specifications required, before adding the thread to it.

All other old kthread_xxx() calls return, but act on (struct thread *)
instead of (struct proc *). One reason to change the name is so that
any old kernel modules that are lying around and expect kthread_create()
to make a process will not just accidentally link.

fix top to show  kernel threads by their thread name in -SH mode
add a tdnam formatting option to ps to show thread names.

make all idle threads actual kthreads and put them into their own idled process.
make all interrupt threads kthreads and put them in an interd process
(mainly for aesthetic and accounting reasons)
rename proc 0 to be 'kernel' and it's swapper thread is now 'swapper'

man page fixes to follow.
2007-10-26 08:00:41 +00:00
..
cat One more nit. 2006-12-23 09:25:23 +00:00
chflags Fix probably copy&paste from chmod(1) - we change file flags here, not mode. 2007-05-28 04:23:09 +00:00
chio
chmod - Mention umask(2) when first referring to it. 2006-12-22 07:28:38 +00:00
cp Fix typo. 2006-11-02 19:10:05 +00:00
csh Work around a vendor issue that was causing the builtin malloc to be 2007-05-16 21:22:38 +00:00
date Correct the referenced securelevel document, it's now securelevel 7. 2007-06-02 20:15:59 +00:00
dd
df Significantly reduce the memory leak as noted in BUGS section for 2007-07-04 00:00:41 +00:00
domainname Use a standard section name. 2006-12-18 15:45:01 +00:00
echo
ed Don't include encryption features of ed(1) when building for the 2007-07-02 14:00:25 +00:00
expr Fix markup. 2007-03-04 19:52:07 +00:00
getfacl Use owner name and owning group name instead of uid and gid 2007-09-19 02:04:47 +00:00
hostname Style(9) fixes, thanks to Ruslan. 2006-12-08 07:47:08 +00:00
kenv
kill Fix markup. 2007-03-04 09:15:12 +00:00
ln
ls Avoid a spurious warning for each whiteout found during "ls -lW". 2006-10-18 10:58:27 +00:00
mkdir More markup fixes. 2006-12-27 11:28:00 +00:00
mv Replace a fairly opaque sentence with a much clearer wording from NetBSD. 2007-05-12 22:18:27 +00:00
pax Remove unnecessary free argument casts. 2007-05-25 17:53:38 +00:00
ps Introduce a way to make pure kernal threads. 2007-10-26 08:00:41 +00:00
pwd
rcp In the error handling path, don't call close(fd) if the error we're 2007-05-22 04:21:00 +00:00
realpath
rm Give a hint to the reader as to what the "whiteout" actually means. 2006-12-26 13:57:40 +00:00
rmail
rmdir Fix markup. 2006-12-27 12:14:56 +00:00
setfacl Implement the -h flag (set an ACL on a symbolic link). 2007-02-26 00:42:17 +00:00
sh The exit status of a case statement where none of the patterns is matched 2007-10-04 16:14:48 +00:00
sleep
stty
sync
test Simplify some markup. 2006-12-14 10:42:46 +00:00
uuidgen Move uuidgen(1) from /usr/bin/ to /bin/. It will be used in rc.d/hostid 2007-04-09 19:16:48 +00:00
Makefile
Makefile.inc