mmotm 2010-12-16 - breaks mlockall() call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Dec 2010 14:56:39 PST, akpm@xxxxxxxxxxxxxxxxxxxx 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?


Attachment: pgp4lgLPpcO81.pgp
Description: PGP signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]