Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 29 Apr 2002 03:23:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 29 Apr 2002 03:23:07 -0400 Received: from loewe.cosy.sbg.ac.at ([141.201.2.12]:58252 "EHLO loewe.cosy.sbg.ac.at") by vger.kernel.org with ESMTP id ; Mon, 29 Apr 2002 03:23:06 -0400 Date: Mon, 29 Apr 2002 09:23:05 +0200 (MET DST) From: "Thomas 'Dent' Mirlacher" To: Rolf Fokkens cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] module locking In-Reply-To: <200204290711.g3T7Bm217822@linux06.vertis.nl> 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 ... oops, sorry > - if (!capable(CAP_SYS_MODULE)) > + if (module_lock || !capable(CAP_SYS_MODULE)) the capable call is sthell there, but with the module_lock kind or redundant. tm -- in some way i do, and in some way i don't. - 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/