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>
Sat, 17 Apr 2010 12:36:26 +0000 (13:36 +0100)
commit61ab83d19009a8006dd73ebe16d22494b78be4d1
treead14a0f005867ceea391da618792c59c9b395728
parent42fc0e02b094ef3b19dae115276a0a33116af6d5
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.
daemon/dir.c
daemon/file.c
daemon/mknod.c
daemon/umask.c
src/generator.ml