linux/fs/ksmbd
Namjae Jeon 8b758859df ksmbd: reorder and document on-disk and netlink structures in headers
Reorder and document on-disk and netlink structures in headers.

This is a userspace ABI to communicate data between ksmbd and user IPC
daemon using netlink. This is added to track and cache user account DB
and share configuration info from userspace.

 - KSMBD_EVENT_HEARTBEAT_REQUEST(ksmbd_heartbeat)
   This event is to check whether user IPC daemon is alive. If user IPC
   daemon is dead, ksmbd keep existing connection till disconnecting and
   new connection will be denied.

 - KSMBD_EVENT_STARTING_UP(ksmbd_startup_request)
   This event is to receive the information that initializes the ksmbd
   server from the user IPC daemon and to start the server. The global
   section parameters are given from smb.conf as initialization
   information.

 - KSMBD_EVENT_SHUTTING_DOWN(ksmbd_shutdown_request)
   This event is to shutdown ksmbd server.

 - KSMBD_EVENT_LOGIN_REQUEST/RESPONSE(ksmbd_login_request/response)
   This event is to get user account info to user IPC daemon.

 - KSMBD_EVENT_SHARE_CONFIG_REQUEST/RESPONSE
   (ksmbd_share_config_request/response)
   This event is to get net share configuration info.

 - KSMBD_EVENT_TREE_CONNECT_REQUEST/RESPONSE
   (ksmbd_tree_connect_request/response)
   This event is to get session and tree connect info.

 - KSMBD_EVENT_TREE_DISCONNECT_REQUEST(ksmbd_tree_disconnect_request)
   This event is to send tree disconnect info to user IPC daemon.

 - KSMBD_EVENT_LOGOUT_REQUEST(ksmbd_logout_request)
   This event is to send logout request to user IPC daemon.

 - KSMBD_EVENT_RPC_REQUEST/RESPONSE(ksmbd_rpc_command)
   This event is to make DCE/RPC request like srvsvc, wkssvc, lsarpc,
   samr to be processed in userspace.

 - KSMBD_EVENT_SPNEGO_AUTHEN_REQUEST/RESPONSE
   (ksmbd_spnego_authen_request/response)
   This event is to make kerberos authentication to be processed in
   userspace.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
2021-06-30 14:47:24 +09:00
..
mgmt ksmbd: reorder and document on-disk and netlink structures in headers 2021-06-30 14:47:24 +09:00
asn1.c
asn1.h
auth.c
auth.h
connection.c
connection.h
crypto_ctx.c
crypto_ctx.h
glob.h
Kconfig
ksmbd_netlink.h ksmbd: reorder and document on-disk and netlink structures in headers 2021-06-30 14:47:24 +09:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c ksmbd: reorder and document on-disk and netlink structures in headers 2021-06-30 14:47:24 +09:00
ksmbd_work.h ksmbd: replace request and respone buffer macro with inline functions 2021-06-29 15:06:03 +09:00
Makefile
misc.c
misc.h
ndr.c ksmbd: replace PAYLOAD_HEAD with inline function 2021-06-29 15:05:46 +09:00
ndr.h
nterr.h
ntlmssp.h
oplock.c ksmbd: remove SMB1 oplock level macros 2021-06-30 14:43:51 +09:00
oplock.h ksmbd: remove SMB1 oplock level macros 2021-06-30 14:43:51 +09:00
server.c
server.h ksmbd: change server config string index to enumeration 2021-06-30 14:44:01 +09:00
smb2misc.c ksmbd: Relax credit_charge check in smb2_validate_credit_charge() 2021-06-29 15:06:23 +09:00
smb2ops.c ksmbd: reorder and document on-disk and netlink structures in headers 2021-06-30 14:47:24 +09:00
smb2pdu.c ksmbd: use ksmbd_vfs_lock_parent to get stable parent dentry 2021-06-29 15:07:51 +09:00
smb2pdu.h
smb_common.c ksmbd: opencode to remove FP_INODE macro 2021-06-29 15:07:48 +09:00
smb_common.h ksmbd: remove and replace macros with inline functions in smb_common.h 2021-06-29 15:05:54 +09:00
smbacl.c ksmbd: reorder and document on-disk and netlink structures in headers 2021-06-30 14:47:24 +09:00
smbacl.h ksmbd: change sid types to enumeration 2021-06-30 14:43:56 +09:00
smbfsctl.h
smbstatus.h
transport_ipc.c ksmbd: remove macros in transport_ipc.c 2021-06-29 15:05:34 +09:00
transport_ipc.h
transport_rdma.c ksmbd: replace SMB_DIRECT_TRANS macro with inline function 2021-06-29 15:05:59 +09:00
transport_rdma.h
transport_tcp.c
transport_tcp.h
unicode.c
unicode.h
uniupr.h
vfs_cache.c ksmbd: opencode to remove FP_INODE macro 2021-06-29 15:07:48 +09:00
vfs_cache.h ksmbd: opencode to remove ATTR_FP macro 2021-06-29 15:07:56 +09:00
vfs.c ksmbd: use ksmbd_vfs_lock_parent to get stable parent dentry 2021-06-29 15:07:51 +09:00
vfs.h ksmbd: reorder and document on-disk and netlink structures in headers 2021-06-30 14:47:24 +09:00
xattr.h ksmbd: reorder and document on-disk and netlink structures in headers 2021-06-30 14:47:24 +09:00