android_kernel_motorola_sm6375/fs/cifs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Al Viro 831d8c1175
UPSTREAM: new helper: inode_wrong_type()
commit 6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85 upstream.

inode_wrong_type(inode, mode) returns true if setting inode->i_mode
to given value would've changed the inode type.  We have enough of
those checks open-coded to make a helper worthwhile.

Change-Id: I346cb7a2d1cec2ca16096962d8adc9d7f848fc94
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-05-08 21:46:14 +02:00
..
asn1.c
cache.c
cifs_debug.c
cifs_debug.h
cifs_dfs_ref.c
cifs_fs_sb.h
cifs_ioctl.h
cifs_spnego.c cifs: spnego: add ';' in HOST_KEY_LEN 2023-11-28 16:50:17 +00:00
cifs_spnego.h
cifs_unicode.c
cifs_unicode.h
cifs_uniupr.h
cifsacl.c
cifsacl.h
cifsencrypt.c
cifsfs.c cifs: Fix non-availability of dedup breaking generic/304 2023-12-13 18:18:17 +01:00
cifsfs.h
cifsglob.h cifs: Fix UAF in cifs_demultiplex_thread() 2025-08-28 16:21:36 +02:00
cifspdu.h
cifsproto.h
cifsroot.c
cifssmb.c cifs: Fix calling CIFSFindFirst() for root path without msearch 2025-08-28 16:21:27 +02:00
connect.c cifs: fix integer overflow in match_server() 2025-09-09 18:44:02 +02:00
dfs_cache.c
dfs_cache.h
dir.c
dns_resolve.c
dns_resolve.h
export.c
file.c
fscache.c
fscache.h
inode.c UPSTREAM: new helper: inode_wrong_type() 2026-05-08 21:46:14 +02:00
ioctl.c
Kconfig
link.c
Makefile
misc.c cifs: Fix cifs_query_path_info() for Windows NT servers 2025-07-17 18:24:49 +02:00
netmisc.c
nterr.c
nterr.h
ntlmssp.h
readdir.c smb: client: Reset all search buffer pointers when releasing buffer 2025-06-04 14:32:36 +02:00
rfc1002pdu.h
sess.c
smb1ops.c
smb2file.c
smb2glob.h
smb2inode.c
smb2maperror.c
smb2misc.c smb: client: fix NULL deref in asn1_ber_decoder() 2024-01-08 11:29:45 +01:00
smb2ops.c cifs: Fix buffer overflow when parsing NFS reparse points 2024-12-14 19:44:21 +01:00
smb2pdu.c smb: client: fix OOBs when building SMB2_IOCTL request 2024-11-08 16:20:50 +01:00
smb2pdu.h ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE 2024-01-08 11:29:42 +01:00
smb2proto.h smb: client: fix potential OOBs in smb2_parse_contexts() 2024-05-25 16:17:17 +02:00
smb2status.h
smb2transport.c
smbdirect.c smb: client: let recv_done() cleanup before notifying the callers. 2025-08-28 16:21:22 +02:00
smbdirect.h
smbencrypt.c
smberr.h
smbfsctl.h
trace.c
trace.h
transport.c cifs: Fix UAF in cifs_demultiplex_thread() 2025-08-28 16:21:36 +02:00
winucase.c
xattr.c