FRET-qemu/linux-user
Laurent Vivier 03cfd8faa7 linux-user: add support of binfmt_misc 'O' flag
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 pass the file descriptor to the interpreter.

References:
linux/Documentation/binfmt_misc.txt          ['O' and 'C' description]
linux/fs/binfmt_misc.c linux/fs/binfmt_elf.c [ AT_EXECFD usage ]

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
2013-09-24 10:47:07 +03:00
..
2013-09-10 19:11:29 +01:00
2013-07-22 21:54:46 +03:00
2013-07-22 21:54:20 +03:00
2013-09-10 19:11:29 +01:00
2012-08-14 20:26:55 +01:00
2013-09-24 10:47:07 +03:00
2010-10-05 13:53:56 -05:00
2013-07-22 21:54:52 +03:00
2009-07-01 18:24:44 +00:00