Re: changing mock directory

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

 



skvidal@xxxxxxxxxxxx (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: pgpEI8fIAPV5p.pgp
Description: PGP signature


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux