plash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Plash] Using plash to overlay a filesystem


From: Mark Seaborn
Subject: Re: [Plash] Using plash to overlay a filesystem
Date: Sun, 13 Jul 2008 14:58:47 +0100 (BST)

Thomas Leonard <address@hidden> wrote:

> 2008/7/12 Thomas Leonard <address@hidden>:
> [...]
> > $ pola-run -fw / --log -e ./gnome-inform7
> > ...
> > #1: [r!] open: /etc/passwd, flags=0o2000000, mode=0o0: fail: Invalid 
> > argument
> 
> Note: the flag here is
> 
> #define O_CLOEXEC     02000000        /* set close_on_exec */
> 
> (as in fopen ("/etc/passwd", "rme"), used by glibc)

Ah, I thought O_CLOEXEC would cause a problem at some point.  I am
surprised this wasn't caught by glibc's test suite, most of which now
passes under Plash (see http://plash.beasts.org/wiki/StoryTest3).
Perhaps glibc does not have an explicit test case to cover O_CLOEXEC.
This might explain the failure of grp/testgrp, which I haven't
investigated fully yet.

I will have to implement O_CLOEXEC.

I also need to do <http://plash.beasts.org/wiki/StoryTest2> so that I
catch these problems earlier.

Cheers,
Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]