lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 16 Jul 2021 23:07:26 +0900
From:   Archie <highsky@...il.com>
To:     linux-kernel@...r.kernel.org
Subject: Restoration of the pgprot_t prot parameter in __vmalloc()

Hello everyone,

I made a regex kernel module (https://github.com/smcho-kr/kpcre)
several years ago and it needs executable pages for its JIT
compilation.
I recently discovered that from the 5.8 kernel, the __vmalloc()
function's third parameter - pgprot_t prot - has been removed.
The regex module doesn't work inside the newer kernels because I can't
set "PAGE_KERNEL_EXEC" in __vmalloc().
Would it be possible to revert __vmalloc() back to the old version?

Thank you.

Archie

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ