David van Moolenbroek 26f817243b VFS: reimplement truncate mtime/ctime fix
POSIX mandates that a file's modification and change time be left
untouched upon truncate/ftruncate iff the file size does not change.
However, an open(O_TRUNC) call must always update the modification and
change time of the file, even if it was already zero-sized. VFS uses
the file systems' truncate call to implement O_TRUNC. This patch
replaces git-255ae85, which did not take into account the open case.
The size check is now moved into VFS, so that individual file systems
need not check for this case anymore.
2012-04-20 11:35:59 +02:00
2010-10-25 08:32:14 +00:00
2012-03-14 16:54:30 +01:00
2011-11-18 11:11:04 +01:00
2012-04-17 16:58:58 +02:00
2012-04-19 16:57:58 +02:00
2012-04-03 01:15:36 +02:00
2012-04-16 05:21:20 +02:00
2012-04-16 05:21:20 +02:00
2012-04-11 20:02:15 +02:00
2012-04-17 16:58:58 +02:00
2012-04-17 16:58:58 +02:00
2012-04-16 05:21:20 +02:00
2010-01-21 10:16:05 +00:00
2012-04-01 03:45:02 +02:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%