Re: [PATCH rdma-next v1 1/3] overflow.h: Add arithmetic shift helper

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

 



On Tue, Jul 31, 2018 at 10:08:02AM -0700, Kees Cook wrote:
> On Mon, Jul 9, 2018 at 10:54 AM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> > On Sun, Jul 8, 2018 at 11:44 AM, Jason Gunthorpe <jgg@xxxxxxxxxxxx> wrote:
> >> On Sun, Jul 08, 2018 at 01:38:32PM +0300, Leon Romanovsky wrote:
> >>> From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> >>>
> >>> Add shift_overflow() helper to help driver authors to ensure that
> >>> shift operand doesn't cause to overflow.
> >>>
> >>> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> >>> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> >>> ---
> >>>  include/linux/overflow.h | 23 +++++++++++++++++++++++
> >>>  1 file changed, 23 insertions(+)
> >>
> >> Kees/Rasmus, if you are happy with this please ack, I can run it
> >> through the RDMA tree. Thanks
> >
> > Going through RDMA is fine by me. I'll let Rasmus ack this, assuming
> > the current threads resolve. :)
>
> Has this happened? I don't see the shift helper in linux-next yet.

No, I was requested to rewrite patch with tests and I didn't have time
to do so. Maybe someday, I will have enough time to do it, but don't see
it is happening in near future.

Thanks

>
> -Kees
>
> --
> Kees Cook
> Pixel Security

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux