From owner-freebsd-current Fri Dec 13 9: 7:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3230D37B401 for ; Fri, 13 Dec 2002 09:07:46 -0800 (PST) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCD0D43EA9 for ; Fri, 13 Dec 2002 09:07:45 -0800 (PST) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id DE1E19BC3; Fri, 13 Dec 2002 11:57:52 -0500 (EST) Date: Fri, 13 Dec 2002 11:57:52 -0500 From: Mike Barcroft To: Joe Kelsey Cc: freebsd-current@freebsd.org Subject: Re: Posix Semaphores in -CURRENT Message-ID: <20021213115752.B61753@espresso.q9media.com> References: <3DF8F08E.8050809@mail.flyingcroc.net> <3DFA0771.BDFC87A8@mindspring.com> <3DFA0DAC.2070801@mail.flyingcroc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DFA0DAC.2070801@mail.flyingcroc.net>; from joek@mail.flyingcroc.net on Fri, Dec 13, 2002 at 08:41:16AM -0800 Organization: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joe Kelsey writes: > Yes, I realize this, but it seems that from my cursory inspection of > uipc_sem.c that the check for embedded '/' characters is unnecessary and > much too restrictive according to the posix standard. The standard only > talks about whether or not the semaphore name begins with '/' and has > nothing to say about embedded slashes except that the name must conform > to filename requirements. It seems to me that either you take the TRU64 > approach and place a marker in the file system (special directory > entry?) or you allow all strings, only looking at the first character > and not caring about anything else, except for whatever maximum pathname > requirements you choose to impose. > > Maybe I am missing something in the system call semantics? Sounds like a bug to me. Could you open a PR? Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message