Re: extattr namespaces

2012-02-10 Thread David Holland
On Fri, Feb 10, 2012 at 09:37:30AM +, YAMAMOTO Takashi wrote: On Mon, Feb 06, 2012 at 09:51:19AM +, Emmanuel Dreyfus wrote: Here is public disuccsion about extended attributs namespaces, following a private request from yamt@ Which of the two models does OS X use?

Re: extattr namespaces

2012-02-10 Thread YAMAMOTO Takashi
hi, Manuel Bouyer bou...@antioche.eu.org wrote: I'm not sure you can even read them: on freebsd user.foo.bar will be stored as name foo.bar in (integer) namespace user. When we'll read it we'll find foo in (integer) namespace user but we don't know which namespace it really belongs to (as

Re: RFC: import of posix_spawn GSoC results

2012-02-10 Thread YAMAMOTO Takashi
hi, I updated my patches after fixing a sever bug that caused fallout in lots of (apparently unrelated) atf tests by fooling ld.elf_so into insecure mode, thus not allowing LD_PRELOAD and breaking all the rump clients...

Re: RFC: import of posix_spawn GSoC results

2012-02-10 Thread Martin Husemann
On Fri, Feb 10, 2012 at 11:20:38AM +, YAMAMOTO Takashi wrote: is it safe to release exec_lock? Good catch - I'll defer the release untill the child has done it's rw_enter(). Martin

Re: extattr namespaces

2012-02-10 Thread Alan Barrett
On Fri, 10 Feb 2012, YAMAMOTO Takashi wrote: how about the following mapping? xattr name string - ufs on-disk system.foo - SYSTEM foo others.bar - USER others.bar Looks reasonable, but then which of the following? a) user.user.baz - USER user.baz b)

Re: extattr namespaces

2012-02-10 Thread Emmanuel Dreyfus
Alan Barrett a...@cequrux.com wrote: how about the following mapping? xattr name string - ufs on-disk system.foo - SYSTEM foo others.bar - USER others.bar Looks reasonable, but then which of the following? a)user.user.baz - USER user.baz b)user.baz

Re: O_NOACCESS?

2012-02-10 Thread Matt Thomas
On Feb 10, 2012, at 11:04 PM, Mouse wrote: I find myself wanting something I'm tentatively calling O_NOACCESS, which is basically open for neither read nor write. (I want this mostly so I can open a --x directory for fchdir() purposes.) Looking at sys_open(), I see that one of the first

Re: O_NOACCESS?

2012-02-10 Thread Mouse
Why not use O_DIRECTORY (which is part of -current) and add that to flags? Backporting that might be a better alternative. What are its semantics? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTMLmo...@rodents-montreal.org / \ Email!