android_kernel_xiaomi_sm8450/fs/nfsd
Chuck Lever 8ce03085cc NFSD: Fix strncpy() fortify warning
[ Upstream commit 5304877936c0a67e1a01464d113bae4c81eacdb6 ]

In function ‘strncpy’,
    inlined from ‘nfsd4_ssc_setup_dul’ at /home/cel/src/linux/manet/fs/nfsd/nfs4proc.c:1392:3,
    inlined from ‘nfsd4_interssc_connect’ at /home/cel/src/linux/manet/fs/nfsd/nfs4proc.c:1489:11:
/home/cel/src/linux/manet/include/linux/fortify-string.h:52:33: warning: ‘__builtin_strncpy’ specified bound 63 equals destination size [-Wstringop-truncation]
   52 | #define __underlying_strncpy    __builtin_strncpy
      |                                 ^
/home/cel/src/linux/manet/include/linux/fortify-string.h:89:16: note: in expansion of macro ‘__underlying_strncpy’
   89 |         return __underlying_strncpy(p, q, size);
      |                ^~~~~~~~~~~~~~~~~~~~

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-21 14:53:53 +02:00
..
acl.h nfsd: eliminate an unnecessary acl size limit 2019-08-28 21:13:45 -04:00
auth.c nfsd: auth: Fix gid sorting when rootsquash enabled 2018-01-22 20:13:07 -08:00
auth.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
blocklayout.c block: add a bdev_is_partition helper 2020-09-25 08:18:57 -06:00
blocklayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
blocklayoutxdr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cache.h nfsd4: make drc_slab global, not per-net 2020-06-01 17:44:45 -04:00
current_stateid.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
export.c nfsd: report per-export stats 2024-06-21 14:52:56 +02:00
export.h nfsd: report per-export stats 2024-06-21 14:52:56 +02:00
fault_inject.c nfsd: no need to check return value of debugfs_create functions 2019-07-03 16:57:17 +02:00
filecache.c NFSD: Ensure nf_inode is never dereferenced 2024-06-21 14:53:51 +02:00
filecache.h NFSD: Ensure nf_inode is never dereferenced 2024-06-21 14:53:51 +02:00
flexfilelayout.c NFSD: simplify struct nfsfh 2024-06-21 14:53:25 +02:00
flexfilelayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
flexfilelayoutxdr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
idmap.h nfsd: Remove duplicate define of IDMAP_NAMESZ/IDMAP_TYPE_xx 2015-07-20 14:58:46 -04:00
Kconfig NFSD: Remove CONFIG_NFSD_V3 2024-06-21 14:53:37 +02:00
lockd.c NFSD: simplify struct nfsfh 2024-06-21 14:53:25 +02:00
Makefile NFSD: Remove CONFIG_NFSD_V3 2024-06-21 14:53:37 +02:00
netns.h NFSD: limit the number of v4 clients to 1024 per 1GB of system memory 2024-06-21 14:53:52 +02:00
nfs2acl.c SUNRPC: Return true/false (not 1/0) from bool functions 2024-06-21 14:53:38 +02:00
nfs3acl.c SUNRPC: Change return value type of .pc_encode 2024-06-21 14:53:26 +02:00
nfs3proc.c NFSD: Refactor NFSv3 CREATE 2024-06-21 14:53:43 +02:00
nfs3xdr.c NFSD: Deprecate NFS_OFFSET_MAX 2024-06-21 14:53:36 +02:00
nfs4acl.c nfsd: check permissions when setting ACLs 2016-06-24 12:11:52 -04:00
nfs4callback.c NFSD: simplify struct nfsfh 2024-06-21 14:53:25 +02:00
nfs4idmap.c nfsd: Use seq_putc() in two functions 2020-07-13 17:28:46 -04:00
nfs4layouts.c nfsd: fix using the correct variable for sizeof() 2024-06-21 14:53:38 +02:00
nfs4proc.c NFSD: Fix strncpy() fortify warning 2024-06-21 14:53:53 +02:00
nfs4recover.c nfsd: Log client tracking type log message as info instead of warning 2024-06-21 14:53:04 +02:00
nfs4state.c NFSD: limit the number of v4 clients to 1024 per 1GB of system memory 2024-06-21 14:53:52 +02:00
nfs4xdr.c NFSD: Clean up nfsd4_encode_readlink() 2024-06-21 14:53:53 +02:00
nfscache.c nfsd: destroy percpu stats counters after reply cache shutdown 2024-06-21 14:53:44 +02:00
nfsctl.c nfsd: silence extraneous printk on nfsd.ko insertion 2024-06-21 14:53:52 +02:00
nfsd.h NFSD: limit the number of v4 clients to 1024 per 1GB of system memory 2024-06-21 14:53:52 +02:00
nfsfh.c NFSD: Remove CONFIG_NFSD_V3 2024-06-21 14:53:37 +02:00
nfsfh.h NFSD: Remove CONFIG_NFSD_V3 2024-06-21 14:53:37 +02:00
nfsproc.c nfsd: Retry once in nfsd_open on an -EOPENSTALE return 2024-06-21 14:53:33 +02:00
nfssvc.c NFSD: Remove CONFIG_NFSD_V3 2024-06-21 14:53:37 +02:00
nfsxdr.c SUNRPC: Change return value type of .pc_encode 2024-06-21 14:53:26 +02:00
pnfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
state.h NFSD: add courteous server support for thread with only delegation 2024-06-21 14:53:41 +02:00
stats.c nfsd: make nfsd_stats.th_cnt atomic_t 2024-06-21 14:53:29 +02:00
stats.h nfsd: make nfsd_stats.th_cnt atomic_t 2024-06-21 14:53:29 +02:00
trace.c NFSD: Add SPDX header for fs/nfsd/trace.c 2024-06-21 14:52:33 +02:00
trace.h NFSD: Move nfsd_file_trace_alloc() tracepoint 2024-06-21 14:53:51 +02:00
vfs.c NFSD: Clean up nfsd_open_verified() 2024-06-21 14:53:43 +02:00
vfs.h NFSD: Clean up nfsd_open_verified() 2024-06-21 14:53:43 +02:00
xdr3.h SUNRPC: Change return value type of .pc_encode 2024-06-21 14:53:26 +02:00
xdr4.h NFSD: Add an nfsd4_read::rd_eof field 2024-06-21 14:53:52 +02:00
xdr4cb.h NFSD CB_OFFLOAD xdr 2018-09-25 20:34:54 -04:00
xdr.h SUNRPC: Change return value type of .pc_encode 2024-06-21 14:53:26 +02:00