[PATCH v3 0/3] ksmbd: bound smb_check_perm_dacl() ACE walks by DACL size
Hang Nan <[email protected]>
| Newsgroups | org.kernel.vger.linux-cifs |
|---|---|
| Message-ID | <[email protected]> |
Changes in v3: - Split the KUnit tests into patch 1 and patch 2. - Add patch 3. - Build the KUnit tests as a separate .ko instead of linking them into ksmbd.ko. The following patch from v2 have already been merged into #ksmbd-for-next-next: https://lore.kernel.org/linux-cifs/CAKYAXd9XHJSNfrFr+F8thNxFnXqGGcKpS1b1qR4DNuu82+j_VQ@mail.gmail.com/ Hang Nan (3): ksmbd: add KUnit test for the DACL walk boundary ksmbd: test smb_check_perm_dacl() DACL walk boundary ksmbd: test maximal-access DACL walk boundary fs/smb/server/Kconfig | 15 ++ fs/smb/server/Makefile | 1 + fs/smb/server/smbacl.c | 2 + fs/smb/server/smbacl_test.c | 301 ++++++++++++++++++++++++++++++++++++ fs/smb/server/vfs.c | 2 + 5 files changed, 321 insertions(+) create mode 100644 fs/smb/server/smbacl_test.c -- 2.55.0