From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3995 Path: news.gmane.org!not-for-mail From: Vasily Kulikov Newsgroups: gmane.linux.lib.musl.general Subject: Re: Initial draft of musl documentation/manual Date: Sun, 1 Sep 2013 17:45:48 +0400 Message-ID: <20130901134548.GA11491@cachalot> References: <20130901044106.GA29630@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1378043161 28389 80.91.229.3 (1 Sep 2013 13:46:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Sep 2013 13:46:01 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3999-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 01 15:46:05 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VG7ye-0003rv-CW for gllmg-musl@plane.gmane.org; Sun, 01 Sep 2013 15:46:04 +0200 Original-Received: (qmail 19758 invoked by uid 550); 1 Sep 2013 13:46:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19750 invoked from network); 1 Sep 2013 13:46:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=B/dqiqPCMEi9wKVtrmJSl9LZiZbxmKDoO5sxnNIHVIE=; b=b/+uqS3LcJZvcN/s+hD8CPBBM+ocZ+93uRH81C0XMgl7/m36aJ+e7cY0vI1yF4sULg WW3JWTMlMiCOYwS/Fq7Vc6KblYMYXcNHxR+wHyqQl5tMAPucaKZosR3E/Kod5n+qQ36W 79Ul0BtKsosI46jl9JuPkdvkO9WgM8mf4VAMU03Fkd0CjlDY/D1X37uO26p3txpvtq8X aiLSqNS8wjIPHQLEk09lSWtzJVMrtn74hLtXQ2EEwWYvowaIVALFRvFYugygpsglfzrZ czO/dSxv+m0bp9HF3OjGt7Xa71eDFFN06yrpk98d3peZoMcx7GF8Y0LmIq+jAiDnatoL yWxg== X-Received: by 10.152.22.198 with SMTP id g6mr16870622laf.5.1378043151490; Sun, 01 Sep 2013 06:45:51 -0700 (PDT) Original-Sender: Vasiliy Kulikov Content-Disposition: inline In-Reply-To: <20130901044106.GA29630@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3995 Archived-At: On Sun, Sep 01, 2013 at 00:41 -0400, Rich Felker wrote: > ### Filesystem Layout Dependencies > > musl aims to avoid imposing filesystem policy; however, the following > minimal set of filesystems dependencies must be met in order for > programs using musl to function correctly: > > * `/dev/null` - required by POSIX > > * `/tmp` - required by POSIX to exist as a directory, and used by > various temporary file creation functions. > > * `/dev/shm` - must be a directory, and should have permissions 01777. > If absent, POSIX shared memory and named semaphore interfaces will > fail; programs not using these features will be unaffected. If you name such files which are important in case of specific API usage and are not needed if this API is not used, why not enumerate other files like: /dev/ptmx /dev/pts/* /dev/tty Or, even better, compile two lists. The first is a list of files which are needed for sure to be able just to start executable compiled against musl, and a list of should-have files which are needed for several non-critical APIs like POSIX shared memory stuff. Thanks, -- Vasily Kulikov http://www.openwall.com - bringing security into open computing environments