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: <131961.1292667059@localhost>
Date:	Sat, 18 Dec 2010 05:10:59 -0500
From:	Valdis.Kletnieks@...edu
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Michel Lespinasse <walken@...gle.com>
Cc:	linux-kernel@...r.kernel.org, mm-commits@...r.kernel.org,
	linux-mm@...ck.org
Subject: mmotm 2010-12-16 - breaks mlockall() call

On Thu, 16 Dec 2010 14:56:39 PST, akpm@...ux-foundation.org said:
> The mm-of-the-moment snapshot 2010-12-16-14-56 has been uploaded to
> 
>    http://userweb.kernel.org/~akpm/mmotm/

The patch mlock-only-hold-mmap_sem-in-shared-mode-when-faulting-in-pages.patch
causes this chunk of code from cryptsetup-luks to fail during the initramfs:

	if (mlockall(MCL_CURRENT | MCL_FUTURE)) {
                        log_err(ctx, _("WARNING!!! Possibly insecure memory. Are you root?\n"));
                        _memlock_count--;
                        return 0;
                }

Bisection fingered this patch, which was added after -rc4-mmotm1202, which
boots without tripping this log_err() call.  I haven't tried building a
-rc6-mmotm1216 with this patch reverted, because reverting it causes apply
errors for subsequent patches.

Ideas?



Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ