Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 7 Jun 2002 01:58:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 7 Jun 2002 01:58:31 -0400 Received: from quechua.inka.de ([212.227.14.2]:5903 "EHLO mail.inka.de") by vger.kernel.org with ESMTP id ; Fri, 7 Jun 2002 01:58:31 -0400 From: Bernd Eckenfels To: linux-kernel@vger.kernel.org Subject: Re: [PATCH] remove suser() In-Reply-To: X-Newsgroups: ka.lists.linux.kernel User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.0.39 (i686)) Message-Id: Date: Fri, 7 Jun 2002 07:58:31 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org In article you wrote: >>> +++ linux/include/linux/compatmac.h Tue Jun 4 13:57:33 2002 >>> -#define capable(x) suser() > Why? The file being changed is in a particular kernel, not in, say, glibc; to > require compatibilty btw. a file in kernel X and another in kernel Y seems > stupid... but perhaps I misunderstand. I must admit, I do not understand why this is needed in new kernels, too. But the suser() call which actually should be removed is in /usr/src/linux/include/linux/sched.h. Same is true for fsuser(). It is a good idea to remove it from the code, so everybody is forced to use a sane api everywhere. Greetings Bernd - 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/