MAIN: redirecting stdout, stdin and stderr to /dev/null when server is daemonized by '-d' at startup.
In particular, holding a tty was a blocking issue in Clustered environment as ganesha was started via ssh (ssh did not return properly).
Log: update log header when server is daemonized.
FSAL_LUSTRE: Fix readlinks:
 - Change size from 1024 to PATH_MAX (coherent with the rest of the code)
 - readlink one less byte so we can't overflow when writing the final \0

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: CID#23140, CID#23141: buffer overrun calling getpw{nam,uid}_r

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: CID#23114: fix strncpy(.., .., strlen(..))

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: CID#23116: lock: missing state_status assignment

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: CID#23122: access2fsal converting readonly access improperly

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P/RDMA: Fix use of uninitialized variable

(+ add use of errno when msk_reg_mr fails)
Thanks to Grégoire Pichon (Bull) for this.

Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
9P: getattr: use values instead of pointers.

Pointers cause copying garbage when the pointed value is a u32 used as a u64.