Re: remove function pointer casts and constify function tables

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

 



On Fri, 2017-05-12 at 18:16 +0200, Christoph Hellwig wrote:
> This series was inspired by two recent events:  talking to a academic
> researcher about the harm of function pointer casts for static
> analysis
> at a conference, and reading up the whole Grsecurity drama, including
> finding that their patchset does a lot of work to remove these casts
> in sunrpc and nfs (and in fact those seem the biggest culprit in the
> kernel), and constifying the operation vectors like so many others in
> the kernel, although done in a rather hacky and/or mechnical way.
> 
> Note that the first part of the series is about the RPC forechannel,
> and the latter about the backchannel, but due to bidirection
> operation
> in NFSv4 there is no really clean split between the client and server
> parts.
> 
> Changes from RFC:
>  - move procedure call counters into separate arrays
> 

How should we proceed to merge this series? Given that it is changing a
lot of function headers, but not actually changing functionality, might
it be possible to merge it out-of-band with the merge window (e.g. next
week) in order to minimise the amount of work needed to fix up future
patches?

-- 
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