[4188] in arla-drinkers
Re: towards getting netbsd 4 supported as well as 3 is
daemon@ATHENA.MIT.EDU (Jonathan A. Kollasch)
Thu May 31 11:22:30 2007
From arla-drinkers-bounces@stacken.kth.se Thu May 31 15:22:29 2007
Return-Path: <arla-drinkers-bounces@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 3680 invoked from network); 31 May 2007 15:22:29 -0000
Received: from mx1.kth.se (130.237.32.140)
by charon.mit.edu with SMTP; 31 May 2007 15:22:29 -0000
Received: from localhost (localhost [127.0.0.1])
by mx1.kth.se (Postfix) with ESMTP id E98AE16C113;
Thu, 31 May 2007 17:22:27 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
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 e-ad0nZynYHI; Thu, 31 May 2007 17:22:26 +0200 (CEST)
Received: from tapas.stacken.kth.se (tapas.stacken.kth.se [130.237.234.140])
by mx1.kth.se (Postfix) with ESMTP id C2E3016C10E;
Thu, 31 May 2007 17:22:06 +0200 (CEST)
Received: from tapas.stacken.kth.se (localhost [127.0.0.1])
by tapas.stacken.kth.se (Postfix) with ESMTP id DED8A534FC;
Thu, 31 May 2007 17:22:05 +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 BC3C4534FC
for <arla-drinkers@tapas.stacken.kth.se>;
Thu, 31 May 2007 17:22:03 +0200 (CEST)
Received: from mx2.kth.se (mx2.kth.se [130.237.48.98])
by brev.stacken.kth.se (8.12.10/8.12.10) with ESMTP id l4VFM1MW026832;
Thu, 31 May 2007 17:22:03 +0200 (MET DST)
Received: from localhost (localhost [127.0.0.1])
by mx2.kth.se (Postfix) with ESMTP id 3D26C1098D6;
Thu, 31 May 2007 17:22:01 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
X-Spam-Score: -1.109
X-Spam-Level:
X-Spam-Status: No, score=-1.109 tagged_above=-200 required=5
tests=[BAYES_05=-1.11, DKIM_POLICY_SIGNSOME=0.001]
Received: from mx2.kth.se ([127.0.0.1])
by localhost (mx2.kth.se [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id aucNZNTyylcg; Thu, 31 May 2007 17:21:59 +0200 (CEST)
Received: from mail.kollasch.net (kollasch.net [168.103.54.221])
by mx2.kth.se (Postfix) with ESMTP id 296DE1098D4;
Thu, 31 May 2007 17:21:56 +0200 (CEST)
Received: from kirkkit.kollasch.net (kirkkit.kollasch.net
[IPv6:2002:a867:36dd:1:2b0:d0ff:fec8:589c])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client did not present a certificate)
(Authenticated sender: jakllsch@KOLLASCH.NET)
by mail.kollasch.net (Postfix) with ESMTP id CEA063C126;
Thu, 31 May 2007 14:54:30 +0000 (UTC)
Date: Thu, 31 May 2007 09:54:30 -0500
From: "Jonathan A. Kollasch" <jakllsch@kollasch.net>
To: Tomas Olsson <tol@stacken.kth.se>
Subject: Re: towards getting netbsd 4 supported as well as 3 is
Message-ID: <20070531145430.GD3891@kirkkit.kollasch.net>
References: <20070524143723.GB18994@kirkkit.kollasch.net>
<lsrira9l1hz.fsf@kashyyyk.ite.kth.se>
MIME-Version: 1.0
In-Reply-To: <lsrira9l1hz.fsf@kashyyyk.ite.kth.se>
User-Agent: Mutt/1.5.15 (2007-04-06)
Cc: jakllsch@gmail.com, 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: multipart/mixed; boundary="===============2091303268=="
Sender: arla-drinkers-bounces@stacken.kth.se
Errors-To: arla-drinkers-bounces@stacken.kth.se
--===============2091303268==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="H8ygTp4AXg6deix2"
Content-Disposition: inline
--H8ygTp4AXg6deix2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Thu, May 31, 2007 at 12:40:40PM +0200, Tomas Olsson wrote:
> "Jonathan A. Kollasch" <jakllsch@kollasch.net> writes:
> > However, PAGs will not work at this point. Converting to kauth(9) calls
> > looks very doable with some work and thought. I might start looking
> > at this.
> >
> That would be great. Let us know if you figure anything out.
Well, I have code that works for NetBSD kauth(9), however,
my brief test of the code on a Mac OS 10.4 box proved to
be a miserable failure. I happened to use functions that
are apparently a superset of Apple kauth.
What I'm stalled on now is how to use CPP or autotools to allow
this one codebase to compile/run on all platforms this
code is for.
Here's a patch with what I have ...
It's got inconsistent #ifdef-ery, misses some trivial
stuff, may break, may explode when exposed to water,
or even anger the Flying Spaghetti Monster, etc
... but here it is:
http://user.kollasch.net/jakllsch/stuff/arla/arla-nbsd-kauth-pag.diff
Jonathan Kollasch
--H8ygTp4AXg6deix2
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
iD8DBQFGXuGmOjx1ye3hmokRAkJ3AJ4jsIQ6MS4YVCuptfDdivxjajDHzQCfa5iJ
3OmZelTnWEjlasZ31l4xjlY=
=eWS/
-----END PGP SIGNATURE-----
--H8ygTp4AXg6deix2--
--===============2091303268==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Arla-drinkers mailing list
Arla-drinkers@stacken.kth.se
https://lists.stacken.kth.se/mailman/listinfo/arla-drinkers
--===============2091303268==--