lkml.org 
[lkml]   [2015]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: bpf: undefined shift in __bpf_prog_run
    From
    From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
    Date: Fri, 4 Dec 2015 11:10:15 -0800

    > just don't generate random bpf programs with such shifts.

    Agreed, it is exactly the same as if the compiler emitted real cpu
    shift instructions with undefined behavior.

    The creator of the BPF code in question is what should be fixed.


    \
     
     \ /
      Last update: 2015-12-04 21:01    [W:2.992 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site