Whamcloud - gitweb
LU-8955 ptlrpc: manage SELinux policy info for metadata ops 42/34642/4
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 16 Aug 2016 08:17:40 +0000 (17:17 +0900)
committerOleg Drokin <green@whamcloud.com>
Tue, 16 Apr 2019 20:50:40 +0000 (20:50 +0000)
commit88bb40aa14d9b72fcae168307fd76cc4dd40dc18
tree112ba4da3c0adea5be6178195fc375363e5f65f2
parent70aea00ecb39d097677d7852f3676abf088adb0d
LU-8955 ptlrpc: manage SELinux policy info for metadata ops

Add SELinux policy info for following metedata operations:
- create
- open
- unlink
- rename
- getxattr
- setxattr
- setattr
- getattr
- symlink
- hardlink

On server side, get SELinux policy info from nodemap and compare
it with the one received from client.

Lustre-change: https://review.whamcloud.com/24424
Lustre-commit: 0a773f04b28860c3748f9f1460818b8461c96ad1

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I16493d7c5713180fb065623b735d7348fc3f9140
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34642
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre_req_layout.h
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_lib.c
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_reint.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_xattr.c
lustre/ptlrpc/layout.c