From owner-freebsd-arch@FreeBSD.ORG Fri Jul 6 14:10:48 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17EC716A41F; Fri, 6 Jul 2007 14:10:48 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id C433813C43E; Fri, 6 Jul 2007 14:10:47 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E4C198BF755; Fri, 6 Jul 2007 16:10:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPrWOsoyCcNw; Fri, 6 Jul 2007 16:10:44 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id D6B178BCEDC; Fri, 6 Jul 2007 16:10:44 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l66EAiqk056934; Fri, 6 Jul 2007 16:10:44 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 6 Jul 2007 16:10:44 +0200 From: Roman Divacky To: arch@freebsd.org Message-ID: <20070706141044.GA56683@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: final version of the *at patch for review X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 14:10:48 -0000 hi I present the final version of the *at patch for review. Everything what was missing the last version was added. Every issue pointed out was fixed. As far as I know :) The only problematic part I am aware of is auditing. I just reused auditing from the respective non-at counterparts. The patch can be found at: www.vlakno.cz/~rdivacky/linux_at-070706.patch and applied like "cd /sys && patch -p0 < linux_at-070706.patch" you need to rebuild world and kernel to get this working. I tested this using simple regression test: www.vlakno.cz/~rdivacky/doat.c and www.vlakno.cz/~rdivacky/fd.c (the first is to test syscalls the latter to test libc fdopendir). I tried to stick to the POSIX API as described in the draft. Please review this so it can be committed. thank you Roman Divacky