Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 59905 | Differences between
and this patch

Collapse All | Expand All

(-)25/fs/proc/base.c~proc_pid_cmdline-race-fix (+2 lines)
Lines 340-345 static int proc_pid_cmdline(struct task_ Link Here
340
	struct mm_struct *mm = get_task_mm(task);
340
	struct mm_struct *mm = get_task_mm(task);
341
	if (!mm)
341
	if (!mm)
342
		goto out;
342
		goto out;
343
	if (!mm->arg_end)
344
		goto out;	/* Shh! No looking before we're done */
343
345
344
 	len = mm->arg_end - mm->arg_start;
346
 	len = mm->arg_end - mm->arg_start;
345
 
347
 

Return to bug 59905