From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753098AbXCRGuk (ORCPT ); Sun, 18 Mar 2007 02:50:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753105AbXCRGuk (ORCPT ); Sun, 18 Mar 2007 02:50:40 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:46900 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753098AbXCRGuj (ORCPT ); Sun, 18 Mar 2007 02:50:39 -0400 Date: Sat, 17 Mar 2007 23:50:36 -0700 From: sukadev@us.ibm.com To: "Eric W. Biederman" Cc: Oleg Nesterov , Cedric Le Goater , Dave Hansen , Serge Hallyn , containers@lists.osdl.org, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: + remove-the-likelypid-check-in-copy_process.patch added to -mm tree Message-ID: <20070318065036.GB32402@us.ibm.com> References: <20070316170255.GA194@tv-sign.ru> <20070317130216.GA78@tv-sign.ru> <20070317150949.GA302@tv-sign.ru> <20070317152437.GA365@tv-sign.ru> <20070317171747.GA134@tv-sign.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-Operating-System: Linux 2.0.32 on an i486 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Eric W. Biederman [ebiederm@xmission.com] wrote: | Oleg Nesterov writes: | | > Yes! I meant we should change INIT_SIGNALS(), currently it does | > | > #define INIT_SIGNALS(sig) { | > ... | > .pgrp = 1, | > { .__session = 1}, | > | > and this confuses (I think) set_special_pids(1,1) above. Because | > __set_special_pids() still deals with pid_t, not "struct pid". | > | > Unless I missed something, we should kill these 2 initializations | > above. | | Got it. I agree we should initialize those fields to 0. | | Sukadev you want to get that? Sure. Will do that. Thanks Oleg for your detailed review/comments. Suka