Re: [Qemu-devel] [PATCH 5/6] linux-user: add support of binfmt_misc 'O' flag

2013-09-06 Thread Laurent Vivier
Le 06/09/2013 18:17, Peter Maydell a écrit : On 30 August 2013 00:46, Laurent Vivier wrote: The binfmt_misc module can calculate the credentials and security token according to the binary instead of to the interpreter if the 'C' flag is enabled. To be able to execute non-readable binaries, thi

Re: [Qemu-devel] [PATCH 5/6] linux-user: add support of binfmt_misc 'O' flag

2013-09-06 Thread Peter Maydell
On 30 August 2013 00:46, Laurent Vivier wrote: > The binfmt_misc module can calculate the credentials and security > token according to the binary instead of to the interpreter if the > 'C' flag is enabled. > > To be able to execute non-readable binaries, this flag implies 'O' > flag. When 'O' fla

[Qemu-devel] [PATCH 5/6] linux-user: add support of binfmt_misc 'O' flag

2013-08-29 Thread Laurent Vivier
The binfmt_misc module can calculate the credentials and security token according to the binary instead of to the interpreter if the 'C' flag is enabled. To be able to execute non-readable binaries, this flag implies 'O' flag. When 'O' flag is enabled, bintfmt_misc opens the file for reading and p