Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 16 Feb 2003 14:09:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 16 Feb 2003 14:09:25 -0500 Received: from franka.aracnet.com ([216.99.193.44]:13289 "EHLO franka.aracnet.com") by vger.kernel.org with ESMTP id ; Sun, 16 Feb 2003 14:09:23 -0500 Date: Sun, 16 Feb 2003 11:19:03 -0800 From: "Martin J. Bligh" To: Linus Torvalds cc: Anton Blanchard , Andrew Morton , Kernel Mailing List , Zwane Mwaikambo , Manfred Spraul Subject: more signal locking bugs? Message-ID: <27100000.1045423143@[10.10.2.4]> In-Reply-To: <26480000.1045422382@[10.10.2.4]> References: <26480000.1045422382@[10.10.2.4]> X-Mailer: Mulberry/2.2.1 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 31 task_lock nests *inside* tasklist_lock but ... : __do_SAK: task_lock ... send_sig (SIGKILL, ...) send_sig_info (SIGKILL, ...) if (T(sig, SIG_KERNEL_BROADCAST_MASK))) read_lock(&tasklist_lock); ... read_unlock(&tasklist_lock); ... task_unlock #define SIG_KERNEL_BROADCAST_MASK (\ M(SIGHUP) | M(SIGINT) | M(SIGQUIT) | M(SIGILL) | \ M(SIGTRAP) | M(SIGABRT) | M(SIGBUS) | M(SIGFPE) | \ M(SIGKILL) | M(SIGUSR1) | M(SIGSEGV) | M(SIGUSR2) | \ M(SIGPIPE) | M(SIGALRM) | M(SIGTERM) | M(SIGXCPU) | \ M(SIGXFSZ) | M(SIGVTALRM) | M(SIGPROF) | M(SIGPOLL) | \ M(SIGSYS) | M_SIGSTKFLT | M(SIGPWR) | M(SIGCONT) | \ M(SIGSTOP) | M(SIGTSTP) | M(SIGTTIN) | M(SIGTTOU) | \ M_SIGEMT ) - 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/