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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.20.1612061053470.1657@knanqh.ubzr>
Date:   Tue, 6 Dec 2016 10:57:21 -0500 (EST)
From:   Nicolas Pitre <nicolas.pitre@...aro.org>
To:     Maninder Singh <maninder1.s@...sung.com>
cc:     Russell King - ARM Linux <linux@...linux.org.uk>,
        ssantosh@...nel.org, panand@...hat.com,
        Arnd Bergmann <arnd@...db.de>, chris.brandt@...esas.com,
        Vaneet Narang <v.narang@...sung.com>,
        linux-kernel@...r.kernel.org, ajeet.y@...sung.com,
        linux-arm-kernel@...ts.infradead.org, pankaj.m@...sung.com
Subject: Re: [PATCH 1/1] arm/module: maximum utilization of module area.

On Tue, 6 Dec 2016, Maninder Singh wrote:

> This patch defines new macro MODULE_START to ensure kernel text
> and module remains within 32 MB of address range.
> 
> Tried this patch by inserting 20 MB size module on 4.1 kernel:-
> 
> Earlier:-
> ==========
> sh# insmod size.ko
> ....
> insmod: ERROR: could not insert module size.ko: Cannot allocate memory
> sh#
> 
> With this patch
> ===============
> sh# insmod size.ko
> ...
> sh# lsmod
> Module                  Size  Used by
> size                20972425  0

Could you please try enabling CONFIG_ARM_MODULE_PLTS instead of this 
patch?


Nicolas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ