Improved checking, documentation of modes (RHBZ#582901, RHBZ#582929).
authorRichard Jones <rjones@redhat.com>
Sat, 17 Apr 2010 12:33:14 +0000 (13:33 +0100)
committerRichard Jones <rjones@redhat.com>
Tue, 20 Apr 2010 07:43:42 +0000 (08:43 +0100)
commite240b51188e0e342a1d538b9f328843e6e32bb6f
tree265d168e1e011a0e5e479b4d422cd4f9c9987906
parent1239b34d4acc3095f9ef7c04d73854b4d8f80035
Improved checking, documentation of modes (RHBZ#582901, RHBZ#582929).

chmod: Disallow negative mode, document mode affected by umask.

mkdir-mode: Disallow negative mode, document that filesystems
may interpret the mode in different ways.

mknod: Disallow negative mode, document mode affected by umask.

umask: Check the range of umask mask value carefully.
(cherry picked from commit 61ab83d19009a8006dd73ebe16d22494b78be4d1)
daemon/dir.c
daemon/file.c
daemon/mknod.c
daemon/umask.c
src/generator.ml