kdbus: porting to to 5.4 11/251411/4
authorŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 21 Dec 2020 15:34:08 +0000 (16:34 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 15 Jan 2021 10:11:22 +0000 (10:11 +0000)
commitf6778ac21f0a92f8b92754b6acc3b511a3e0d7b6
treee948769cbbe44b841012dfb919a30bc3bd5fb571
parent581755641c4d99db3beb87bc52e4986b6220ef64
kdbus: porting to to 5.4

The following changes were made to adapt kdbus driver to 5.4 kernel

- use KERNEL_DS instead of get_ds()
- remove ITER_KVEC flag
- remove 'type' argument from access_ok()
- use memfd_fcntl() instead of shmem_get_seals()
- use uapi/linux/mount.h

Fixes: 736706bee329 ("get rid of legacy 'get_ds()' function")
Fixes: aa563d7bca6e ("iov_iter: Separate type from direction and use accessor functions")
Fixes: 96d4f267e40f ("Remove 'type' argument from access_ok() function")
Fixes: 5aadc431a593 ("shmem: rename functions that are memfd-related")
Fixes: 5d752600a8c3 ("mm: restructure memfd code")
Fixes: e262e32d6bde ("vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled")
Change-Id: I8d2b3db1c83bb21114554ba9eb38e5e439f5c141
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
ipc/kdbus/fs.c
ipc/kdbus/message.c
ipc/kdbus/pool.c