NetBSD/libexec
perseant b397c875ae Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.
2003-02-17 23:48:08 +00:00
..
atrun use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
comsat Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
cron
fingerd Remove some unneeded backslashes. 2002-09-29 13:57:57 +00:00
ftpd "Utilize" has exactly the same meaning as "use," but it is more 2003-02-04 23:07:28 +00:00
getNAME Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
getty Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
hpropd add DPADD 2002-10-23 01:11:09 +00:00
identd undo mallocvar.h change! 2003-02-02 02:31:14 +00:00
kadmind correct libvers DPADD 2002-10-23 01:04:25 +00:00
kpasswdd add DPADD 2002-10-23 01:06:11 +00:00
ld.aout_so Fix problem where dlclose() falls into infinite loop. 2003-01-16 08:45:56 +00:00
ld.elf_so If fstat info was passed, and from it it can be seen that the file size 2003-02-06 12:38:17 +00:00
lfs_cleanerd Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now 2003-02-17 23:48:08 +00:00
mail.local die if strdup fails 2002-11-16 15:41:17 +00:00
makekey Whitespace nit. 2002-01-15 02:23:28 +00:00
makewhatis use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
rexecd Avoid conflict with reserved identifier "log". 2002-12-06 01:59:22 +00:00
rlogind null commit 2002-09-23 12:44:34 +00:00
rmail End .Bl with .El. While here, sort options and improve markup a bit. 2002-09-29 14:04:59 +00:00
rpc.rquotad Remove bug section, we now support group quotas. 2003-02-14 14:58:42 +00:00
rpc.rstatd update to new dkstats.c interface; no changes to how this program works. 2002-11-02 01:59:24 +00:00
rpc.rusersd PR/18929: Kimmo Suominen: rpc.rusersd ignores utmpx 2002-11-04 22:03:38 +00:00
rpc.rwalld Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
rpc.sprayd Whitespace nits. 2002-01-15 02:27:15 +00:00
rshd revert previous; this *DOES* use -lutil 2002-11-30 21:56:34 +00:00
talkd verify strvis() buffer length is enough. make sure string termination before 2002-11-20 21:01:57 +00:00
telnetd Begin new sentences on new lines. 2002-09-29 14:05:52 +00:00
tftpd use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk 2002-09-18 06:24:33 +00:00
utmp_update Make this work finally, by prepending _PATH_DEV to the tty name. 2002-12-18 15:20:47 +00:00
uucpd Avoid conflict with reserved identifer "log". 2002-12-06 02:03:18 +00:00
Makefile don't build kfd; there are security issues with heimdal 0.4e, and we 2002-09-10 22:17:04 +00:00
Makefile.inc Format string cleanups by sommerfeld. 2000-10-10 19:54:37 +00:00