Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268502AbUIQHFj (ORCPT ); Fri, 17 Sep 2004 03:05:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268503AbUIQHFj (ORCPT ); Fri, 17 Sep 2004 03:05:39 -0400 Received: from pop.gmx.net ([213.165.64.20]:33753 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S268502AbUIQHFh (ORCPT ); Fri, 17 Sep 2004 03:05:37 -0400 X-Authenticated: #911537 Date: Fri, 17 Sep 2004 09:08:57 +0200 From: torbenh@gmx.de To: "Jack O'Quin" Cc: Jody McIntyre , James Morris , Lee Revell , linux-kernel Subject: Re: [PATCH] Realtime LSM Message-ID: <20040917070857.GB4476@mobilat.informatik.uni-bremen.de> References: <20040916023118.GE2945@conscoop.ottawa.on.ca> <87d60mrf8i.fsf@sulphur.joq.us> <20040916155127.GG2945@conscoop.ottawa.on.ca> <87zn3qoyrt.fsf@sulphur.joq.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zn3qoyrt.fsf@sulphur.joq.us> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 27 On Thu, Sep 16, 2004 at 01:27:02PM -0500, Jack O'Quin wrote: > > I am willing to do that if the kernel developers think it better. > > It recently occurred to me that jackstart might be able to detect this > situation and exec jackd, anyway. (AFAICT, the only reasonably > POSIX-compliant method for detecting that a process has the > "appropriate permission" to do something is trying it to see whether > it returns EPERM.) how should jackstart detect the situation ? its running SUID root and is allowed to do everything. > > Thanks for helping... > -- > joq > -- torben Hohn http://galan.sourceforge.net -- The graphical Audio language - 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/