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>