Re: [PATCH 15/32] sunrpc: mark all struct rpc_procinfo instances as const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-05-09 at 11:19 +0200, Christoph Hellwig wrote:
> struct rpc_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@xxxxxx>
> ---
>  fs/lockd/clnt4xdr.c                  |  2 +-
>  fs/lockd/clntxdr.c                   |  2 +-
>  fs/lockd/mon.c                       |  2 +-
>  fs/nfs/internal.h                    |  6 +++---
>  fs/nfs/mount_clnt.c                  |  4 ++--
>  fs/nfs/nfs2xdr.c                     |  2 +-
>  fs/nfs/nfs3xdr.c                     |  4 ++--
>  fs/nfs/nfs4_fs.h                     |  2 +-
>  fs/nfs/nfs4xdr.c                     |  2 +-
>  fs/nfsd/nfs4callback.c               |  2 +-
>  include/linux/sunrpc/clnt.h          |  4 ++--
>  include/linux/sunrpc/sched.h         |  2 +-
>  net/sunrpc/auth_gss/gss_rpc_upcall.c |  2 +-
>  net/sunrpc/clnt.c                    |  4 ++--
>  net/sunrpc/rpcb_clnt.c               | 19 ++++++++++---------
>  net/sunrpc/stats.c                   |  2 +-
>  16 files changed, 31 insertions(+), 30 deletions(-)
> 
> 
Acked-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
-- 
Trond Myklebust
Linux NFS client maintainer, PrimaryData
trond.myklebust@xxxxxxxxxxxxxxx
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux