Skip to content
Commit b0a9cef6 authored by Valentin Schneider's avatar Valentin Schneider
Browse files

HACK: kernel/module: allow W^X sections

Shouldn't be required, but loading the proto module gives me:

  Module mpam_proto section 23 has invalid WRITE|EXEC flags

and readelf indeed says:

  Section Headers:
    [Nr] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
    ...
    [23] .text.ftrace_trampoline PROGBITS        0000000000000402 0011c1 000001 00 WAX  0   0  1

AIUI this needs fixing, but for now let's just bandaid the thing.
parent a2a83b12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment