[4006] in arla-drinkers
Re: hacks to get 0.44pre going on netbsd-4
daemon@ATHENA.MIT.EDU (Tomas Olsson)
Sat Sep 2 18:10:05 2006
From arla-drinkers-bounces@stacken.kth.se Sat Sep 02 22:10:05 2006
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 15127 invoked from network); 2 Sep 2006 22:10:04 -0000
Received: from mx3.kth.se (130.237.48.97)
by charon.mit.edu with SMTP; 2 Sep 2006 22:10:04 -0000
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx3.kth.se (Postfix) with ESMTP id E293514066C;
Sun, 3 Sep 2006 00:10:02 +0200 (CEST)
Received: from mx3.kth.se ([127.0.0.1])
by localhost (mx3.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
id 24911-02-22; Sun, 3 Sep 2006 00:10:01 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx3.kth.se (Postfix) with ESMTP id 4D9261405F8;
Sun, 3 Sep 2006 00:10:01 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id 94785534FC;
Sun, 3 Sep 2006 00:10:00 +0200 (CEST)
X-Original-To: arla-drinkers@tapas.stacken.kth.se
Delivered-To: arla-drinkers@tapas.stacken.kth.se
Received: from brev.stacken.kth.se (brev.stacken.kth.se [130.237.234.84])
by tapas.stacken.kth.se (Postfix) with ESMTP id 477EC534FC
for <arla-drinkers@tapas.stacken.kth.se>;
Sun, 3 Sep 2006 00:09:56 +0200 (CEST)
Received: from mx1.kth.se (mx1.kth.se [130.237.32.140])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id k82M9tNH026905
for <arla-drinkers@stacken.kth.se>;
Sun, 3 Sep 2006 00:09:55 +0200 (MET DST)
Received: from localhost (localhost.localdomain [127.0.0.1])
by mx1.kth.se (Postfix) with ESMTP id 0EDC7140CDE
for <arla-drinkers@stacken.kth.se>;
Sun, 3 Sep 2006 00:09:55 +0200 (CEST)
Received: from mx1.kth.se ([127.0.0.1])
by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new,
port 10024) with LMTP
id 08469-01-57; Sun, 3 Sep 2006 00:09:53 +0200 (CEST)
Received: from kashyyyk.ite.kth.se (kashyyyk.ite.kth.se [130.237.31.35])
by mx1.kth.se (Postfix) with ESMTP id B9C25140BD3;
Sun, 3 Sep 2006 00:09:53 +0200 (CEST)
Received: by kashyyyk.ite.kth.se (Postfix, from userid 18404)
id 42830960130; Sun, 3 Sep 2006 00:09:53 +0200 (CEST)
From: Tomas Olsson <tol@stacken.kth.se>
To: Pavel Cahyna <pavel@netbsd.org>
Subject: Re: hacks to get 0.44pre going on netbsd-4
References: <20060819220659.GG4568@kirkkit.kollasch.net>
<20060902210805.GA1385@artax.karlin.mff.cuni.cz>
Date: 03 Sep 2006 00:09:53 +0200
In-Reply-To: <20060902210805.GA1385@artax.karlin.mff.cuni.cz>
Message-ID: <lsr1wqt6hu6.fsf@kashyyyk.ite.kth.se>
Lines: 22
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Status: No, hits=-4.9 tagged_above=-200.0 required=5.0 tests=BAYES_00
X-Spam-Level:
Cc: arla-drinkers@stacken.kth.se
X-BeenThere: arla-drinkers@stacken.kth.se
X-Mailman-Version: 2.1.6
Precedence: list
List-Id: Arla discussions <arla-drinkers.stacken.kth.se>
List-Unsubscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=unsubscribe>
List-Archive: <http://lists.stacken.kth.se/pipermail/arla-drinkers>
List-Post: <mailto:arla-drinkers@stacken.kth.se>
List-Help: <mailto:arla-drinkers-request@stacken.kth.se?subject=help>
List-Subscribe: <https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers>,
<mailto:arla-drinkers-request@stacken.kth.se?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
X-Virus-Scanned: by amavisd-new at kth.se
Pavel Cahyna <pavel@netbsd.org> writes:
> how can Arla work without PAGs? I was thinking that this is a key part.
>
>From the daemon's point of view a PAG is just a number identifying the set
of AFS credentials to use for the request. If the user hasn't set his PAG
nnpfs defaults to the user's uid, so if there is no way to set your PAG you
just have that one slot to work with.
For an ordinary user that shouldn't be too much of a limitation, they don't
use pagsh anyway. Personally I do feel a bit handicapped by it on my Mac.
> could you please briefly explain how were PAGs implemented before kauth
>
We add magic numbers to the process' group list, it's very convenient in
that it is inherited across fork() etc. Perhaps not a very good way to use
those fields though, and it involves some ugly tricks.
> and how does kauth break this?
>
I'll leave that one for the experts.
/t
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers