minix/servers/pm
Ben Gras 50b06261b6 Implementation of truncate(), ftruncate() and the F_FREESP fcntl().
Implemented by changing write_map to accept a WMAP_FREE flag. In that
case, it doesn't update the datablock (creating indirect zones as
necessary) pointer, but it frees the datablock if present. Also it
frees the single and double indirect blocks if unused.

This makes the implementation of truncate_inode() simpler.
truncate_inode() now accepts a truncation length which makes
implementing truncate() and ftruncate() simple.

This also allowed implementing the F_FREESP fcntl().
2006-01-11 17:14:51 +00:00
..
alloc.c Optionalize memory and vm verbose prints 2005-10-21 19:37:31 +00:00
break.c Al's patch 2005-09-23 20:46:17 +00:00
const.h Al's double-blank-line removal request 2005-08-22 15:23:47 +00:00
exec.c Andy's formatting changes. 2005-09-11 16:45:46 +00:00
forkexit.c Jorrit's fixes after reviewing Al's PM chapter 2005-09-01 10:16:07 +00:00
getset.c seteuid() and setegid() 2005-12-13 09:48:29 +00:00
glo.h Parsing of free memory chunks is now done at the process manager. 2005-06-17 09:10:30 +00:00
main.c Optionalize memory and vm verbose prints 2005-10-21 19:37:31 +00:00
Makefile Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util 2005-07-19 13:21:51 +00:00
misc.c load average measurement implementation, accessable through 2005-11-14 15:50:46 +00:00
mproc.h Removed PM signon for INET. Now daemonized in /usr/etc/rc. 2005-07-19 12:11:11 +00:00
param.h New signal handling behaviour at PM (services can be killed). 2005-10-12 15:07:38 +00:00
pm.h Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util 2005-07-19 13:21:51 +00:00
proto.h High watermark memory usage feature 2005-10-18 17:21:11 +00:00
signal.c SIGSTOP can't be masked (report by Jaap Weel). 2005-12-12 13:11:22 +00:00
table.c Implementation of truncate(), ftruncate() and the F_FREESP fcntl(). 2006-01-11 17:14:51 +00:00
time.c Andy's formatting changes. 2005-09-11 16:45:46 +00:00
timers.c Andy's formatting changes. 2005-09-11 16:45:46 +00:00
trace.c Renamed mm_exit to pm_exit (requested by Al) 2005-08-10 09:37:54 +00:00
type.h Removed 'system process' magic from PM and FS. 2005-05-13 08:57:08 +00:00
utility.c New signal handling behaviour at PM (services can be killed). 2005-10-12 15:07:38 +00:00