From owner-freebsd-arch@FreeBSD.ORG Wed Jun 27 14:29:38 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 AF01B16A46C for ; Wed, 27 Jun 2007 14:29:38 +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 6A0A713C46C for ; Wed, 27 Jun 2007 14:29:37 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B1ED28BECF8 for ; Wed, 27 Jun 2007 16:29:36 +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 CobR-PKbcwQN for ; Wed, 27 Jun 2007 16:29:35 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id A7B638BEAB9 for ; Wed, 27 Jun 2007 16:29:35 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l5RETZcW067631 for arch@freebsd.org; Wed, 27 Jun 2007 16:29:35 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 27 Jun 2007 16:29:35 +0200 From: Roman Divacky To: arch@freebsd.org Message-ID: <20070627142935.GA65176@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: semi-final version of *at syscalls patch 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: Wed, 27 Jun 2007 14:29:38 -0000 hi, as previously discussed on this list I implemented native FreeBSD *at syscalls. I tried to stick to POSIX draft as I downloaded it on June 21th. (can be found for free download on posix web site) This implements every file related syscall in the "Extended API" (I didnt touch socket things) completely except: 1) still missing O_EXECL (I need a little help with this as my previous attempt failed) 2) fdopendir (will be implemented in libc only) 3) fexecve() has title set to "fexecve neco" which is not ideal 4) libc bindings the conformance to the POSIX draft was tested with my (not cleaned-up but usable) testing program: www.vlakno.cz/~rdivacky/doat.c the patch itself can be found at: www.vlakno.cz/~rdivacky/linux_at-070627.patch I'd like to get some review for the patch, especially when it comes to locking and standard conformance (I did my best but I am still a human being so mistakes are possible). I'd also welcome some help with the libc part as I have never touched that before. some other comments and suggestions are welcomed as well of course thank you Roman Divacky