Whamcloud - gitweb
LU-13791 sec: enable FS capabilities 99/39399/4
authorLai Siyao <lai.siyao@whamcloud.com>
Sun, 12 Jul 2020 01:15:16 +0000 (09:15 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 13 Aug 2020 06:04:09 +0000 (06:04 +0000)
commitf05edf8e2b92e2c018aad130cd7a1dcc00a8eeee
tree63dec619a0fd47a6137516d9296f5f6282776c52
parent2eba3f9c3de506d0802d401dda5f45033b96587e
LU-13791 sec: enable FS capabilities

FS capabilities are not effective because they are dropped for
non-root users for historical reason: they are used to be enforced
before operations, but now they are checked in MDD layer only (see
mdd_fix_attr()).

Add sanity-sec 51.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I3e355f5df5eab5509b5e6774dbc8b82281a34039
Reviewed-on: https://review.whamcloud.com/39399
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lib.c
lustre/tests/sanity-sec.sh