skvidal phy duke edu (seth vidal) writes:
>> * execute mock in an own namespace; so you do not have to care about
>> unmounting
>> * do the mounting nativly (call 'mount(2)' instead of exec(2) the 'mount'
>> command)
>
>
>> * for all other commands, do just an 'execv(argv[1], argv+1)' in
>> mock-helpers main() routine
>>
>> Patches for the first two points are existing already.
>
> where?
http://ensc.de/fedora/mock-namespace.diff
(the native mounting was done for a new usecase for environments without
CAP_MKNOD only; but proc-/devpts-mounting can be done similarly as it is
not more than a
| mount("none", destpath, "proc", 0, 0)
)
Enrico
Attachment:
pgpME56HFxhDz.pgp
Description: PGP signature