Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265085AbTFCQWc (ORCPT ); Tue, 3 Jun 2003 12:22:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265086AbTFCQWc (ORCPT ); Tue, 3 Jun 2003 12:22:32 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:57613 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id S265085AbTFCQWa (ORCPT ); Tue, 3 Jun 2003 12:22:30 -0400 Date: Tue, 3 Jun 2003 09:35:29 -0700 (PDT) From: Linus Torvalds To: Ingo Molnar cc: Ulrich Drepper , Subject: Re: [patch] new sys_tkill2() system call, 2.5.70 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 25 On Tue, 3 Jun 2003, Ingo Molnar wrote: > > are you suggesting to extend sys_tgkill() functionality to also detect -1 > for the PID, and do a process-signal send? I don't care much, but that zero special case is definitely not a good idea. You might make the thing acceptable to me by just removing the "zero means everythign", and replacing that logic with if (!tgid) tgid = current->tgid; which is similar to how we handle zeroes in some other places. In other words, a zero is not a "wildcard", it means "_this_ thread group". Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/