android_kernel_samsung_univ.../fs/cifs
Kees Cook 7367f9dece lib: update single-char callers of strtobool()
commit 1404297ebf76fd91a41de215fc8c94c2619e5fdb upstream.

Some callers of strtobool() were passing a pointer to unterminated
strings.  In preparation of adding multi-character processing to
kstrtobool(), update the callers to not pass single-character pointers,
and switch to using the new kstrtobool_from_user() helper where
possible.

Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Amitkumar Karwar <akarwar@marvell.com>
Cc: Nishant Sarmukadam <nishants@marvell.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Steve French <sfrench@samba.org>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[removed mwifiex driver change as it was correct and not needed for 4.4.y]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-28 03:01:30 -04:00
..
asn1.c
cache.c
cifs_debug.c lib: update single-char callers of strtobool() 2016-10-28 03:01:30 -04:00
cifs_debug.h lib: update single-char callers of strtobool() 2016-10-28 03:01:30 -04:00
cifs_dfs_ref.c Fix that several functions handle incorrect value of mapchars 2015-05-10 19:56:35 -05:00
cifs_fs_sb.h fs/cifs: make share unaccessible at root level mountable 2016-08-20 18:09:20 +02:00
cifs_ioctl.h Add way to query server fs info for smb3 2015-08-20 10:19:25 -05:00
cifs_spnego.c KEYS: Merge the type-specific data with the payload data 2015-10-21 15:18:36 +01:00
cifs_spnego.h
cifs_unicode.c File names with trailing period or space need special case conversion 2016-07-27 09:47:39 -07:00
cifs_unicode.h File names with trailing period or space need special case conversion 2016-07-27 09:47:39 -07:00
cifs_uniupr.h
cifsacl.c KEYS: Merge the type-specific data with the payload data 2015-10-21 15:18:36 +01:00
cifsacl.h
cifsencrypt.c cifs: fix crash due to race in hmac(md5) handling 2016-08-20 18:09:20 +02:00
cifsfs.c lib: update single-char callers of strtobool() 2016-10-28 03:01:30 -04:00
cifsfs.h Fix cifs_uniqueid_to_ino_t() function for s390x 2016-03-09 15:34:50 -08:00
cifsglob.h lib: update single-char callers of strtobool() 2016-10-28 03:01:30 -04:00
cifspdu.h Add way to query server fs info for smb3 2015-08-20 10:19:25 -05:00
cifsproto.h Fix that several functions handle incorrect value of mapchars 2015-05-10 19:56:35 -05:00
cifssmb.c CIFS: Fix SMB2+ interim response processing for read requests 2016-03-09 15:34:50 -08:00
connect.c fs/cifs: make share unaccessible at root level mountable 2016-08-20 18:09:20 +02:00
dir.c cifs: Check for existing directory when opening file with O_CREAT 2016-08-20 18:09:20 +02:00
dns_resolve.c
dns_resolve.h
export.c
file.c mm, fs: introduce mapping_gfp_constraint() 2015-11-06 17:50:42 -08:00
fscache.c
fscache.h
inode.c fs/cifs: make share unaccessible at root level mountable 2016-08-20 18:09:20 +02:00
ioctl.c Allow copy offload (CopyChunk) across shares 2015-11-09 09:28:48 -06:00
Kconfig Allow parsing vers=3.11 on cifs mount 2015-06-27 20:23:32 -07:00
link.c Merge branch 'for-linus-1' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-06-22 12:51:21 -07:00
Makefile
misc.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
netmisc.c
nterr.c
nterr.h
ntlmssp.h cifs: dynamic allocation of ntlmssp blob 2016-07-27 09:47:39 -07:00
readdir.c cifs_dbg() outputs an uninitialized buffer in cifs_readdir() 2016-02-25 12:01:17 -08:00
rfc1002pdu.h
sess.c cifs: dynamic allocation of ntlmssp blob 2016-07-27 09:47:39 -07:00
smb1ops.c Fix that several functions handle incorrect value of mapchars 2015-05-10 19:56:35 -05:00
smb2file.c Add resilienthandles mount parm 2015-11-03 10:10:36 -06:00
smb2glob.h remove directory incorrectly tries to set delete on close on non-empty directories 2016-06-01 12:15:48 -07:00
smb2inode.c remove directory incorrectly tries to set delete on close on non-empty directories 2016-06-01 12:15:48 -07:00
smb2maperror.c
smb2misc.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
smb2ops.c CIFS: Fix a possible invalid memory access in smb2_query_symlink() 2016-08-20 18:09:20 +02:00
smb2pdu.c cifs: dynamic allocation of ntlmssp blob 2016-07-27 09:47:39 -07:00
smb2pdu.h [SMB3] Send durable handle v2 contexts when use of persistent handles required 2015-11-03 09:26:27 -06:00
smb2proto.h remove directory incorrectly tries to set delete on close on non-empty directories 2016-06-01 12:15:48 -07:00
smb2status.h
smb2transport.c
smbencrypt.c
smberr.h
smbfsctl.h [SMB3] Send durable handle v2 contexts when use of persistent handles required 2015-11-03 09:26:27 -06:00
transport.c cifs: fix race between call_async() and reconnect() 2016-02-25 12:01:17 -08:00
winucase.c
xattr.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00