New API calls: truncate, truncate_size, mkdir_mode, utimens, lchown.
authorRichard Jones <rjones@redhat.com>
Fri, 30 Oct 2009 16:10:45 +0000 (16:10 +0000)
committerRichard Jones <rjones@redhat.com>
Mon, 2 Nov 2009 16:37:51 +0000 (16:37 +0000)
commit2eb19f526164a978c373a760deb30854d56b62ce
tree33798414007f6d8bdf78e6cef6a354efad642f18
parent00425c073e5c0743ef425cd12108a85ac36b15f4
New API calls: truncate, truncate_size, mkdir_mode, utimens, lchown.

truncate, truncate_size: Used to truncate files to a particular
size, or to zero bytes.

mkdir_mode: Like mkdir but allows you to also specify the
initial permissions for the new directory.

utimens: Set timestamp on a file with nanosecond accuracy.

lchown: Corresponding to lchown(2) syscall (we already have chown).

The implementation is complicated by the fact that we had to
add an Int64 parameter type to the generator.
TODO
bindtests
daemon/Makefile.am
daemon/dir.c
daemon/file.c
daemon/truncate.c [new file with mode: 0644]
daemon/utimens.c [new file with mode: 0644]
perl/typemap
po/POTFILES.in
src/MAX_PROC_NR
src/generator.ml