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:	Sat, 14 Jul 2007 22:47:02 +0200
From:	Olaf Hering <olaf@...fle.de>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: MLOCK_LIMIT needs PAGE_SIZE

commit 448580132dc7f55493269bb850c2955df9c7d778 in Aug 2004 changed
MLOCK_LIMIT from (32*1024) to (8 * PAGE_SIZE):

        [PATCH] sane mlock_limit

        As David M-T points out, the default per-user mlock limit should
        be at least a single page.

linux/resource.h appears to be a userspace header. PAGE_SIZE is
unavailable because asm/page.h is not included.
Will an extra #include asm/page.h cause any trouble for kernel builds?
It currently gets included via linux/time.h -> linux/seqlock.h ->
linux/spinlock.h -> something.

Userspace PAGE_SIZE will be discussed in another mail.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ