]> git.ipfire.org Git - thirdparty/linux.git/commit
cifs: add IOCTL for QUERY_INFO passthrough to userspace
authorRonnie Sahlberg <lsahlber@redhat.com>
Mon, 8 Oct 2018 00:19:58 +0000 (19:19 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Oct 2018 02:16:05 +0000 (21:16 -0500)
commitf5b05d622a3e99e6a97a189fe500414be802a05c
tree173d227ce653e9a9ee4fbaffb4a7f4c7e2ea715e
parent8c1beb9801293b175cfa0341e5df89581a87dc02
cifs: add IOCTL for QUERY_INFO passthrough to userspace

This allows userspace tools to query the raw info levels for cifs files
and process the response in userspace.
In particular this is useful for many of those data where there is no
corresponding native data structure in linux.
For example querying the security descriptor for a file and extract the
SIDs.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_ioctl.h
fs/cifs/cifsglob.h
fs/cifs/ioctl.c
fs/cifs/smb2inode.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2proto.h