sunrpc: mark all struct svc_procinfo instances as const
authorChristoph Hellwig <hch@lst.de>
Fri, 12 May 2017 14:11:49 +0000 (16:11 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:02 +0000 (15:58 -0400)
commitb9c744c19c441f306239ac3e60a2a95b40d698f8
tree5ab3312dcbe23146d748739d39738efaf97fc439
parent0becc1181cdba562730be4d4b8a5fcb4368ef527
sunrpc: mark all struct svc_procinfo instances as const

struct svc_procinfo contains function pointers, and marking it as
constant avoids it being able to be used as an attach vector for
code injections.

Signed-off-by: Christoph Hellwig <hch@lst.de>
12 files changed:
fs/lockd/svc4proc.c
fs/lockd/svcproc.c
fs/nfs/callback_xdr.c
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3acl.c
fs/nfsd/nfs3proc.c
fs/nfsd/nfs4proc.c
fs/nfsd/nfsproc.c
fs/nfsd/nfssvc.c
include/linux/lockd/lockd.h
include/linux/sunrpc/svc.h
net/sunrpc/svc.c