aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2019-05-14 15:43:51 -0700
committerLinus Torvalds <[email protected]>2019-05-14 19:52:50 -0700
commitd8e7cb39acc66316106ef8bda9b76f9f3cbbcad0 (patch)
tree53183c2ac3231f2ea807a98893ba587768d61ef8 /tools/perf/scripts/python
parent852643165aea0999bb862b36511c5b9f6b11449f (diff)
fs/binfmt_elf.c: extract PROT_* calculations
There are two places where mapping protections are calculated: one for executable, another one for interpreter -- take them out. ELF read and execute permissions are interchanged with Linux PROT_READ and PROT_EXEC, microoptimizations are welcome! Link: http://lkml.kernel.org/r/20190417213413.GB26474@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions