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] [day] [month] [year] [list]
Date:	Wed, 11 Apr 2012 02:59:57 +0400
From:	Cyrill Gorcunov <gorcunov@...nvz.org>
To:	Konstantin Khlebnikov <khlebnikov@...nvz.org>
Cc:	linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Kees Cook <keescook@...omium.org>,
	Pavel Emelyanov <xemul@...allels.com>,
	Oleg Nesterov <oleg@...hat.com>, Tejun Heo <tj@...nel.org>,
	Matt Helsley <matthltc@...ibm.com>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Subject: Re: [PATCH mm RESEND] c/r: prctl: update prctl_set_mm_exe_file()
 after mm->num_exe_file_vmas removal

On Sat, Apr 07, 2012 at 11:08:02PM +0400, Konstantin Khlebnikov wrote:
> [ fix for "c-r-prctl-add-ability-to-set-new-mm_struct-exe_file-v2" from mm tree ]
> 
> After removing mm->num_exe_file_vmas kernel keeps mm->exe_file until final mmput(),
> it never becomes NULL while task is alive.
> 
> We can check for other mapped files in mm instead of checking mm->num_exe_file_vmas,
> and mark mm with flag MMF_EXE_FILE_CHANGED in order to forbid second changing of mm->exe_file.
> 
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...nvz.org>

Hi Konstantin, really sorry for delay. This should do trick for us.

Reviewed-by: Cyrill Gorcunov <gorcunov@...nvz.org>
--
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