Re: [Qemu-devel] [PATCH v2] linux-user: Add AT_SECURE auxval

2018-01-11 Thread Marco A L Barbosa
Thanks Peter, Signed-off-by: Marco A L Barbosa On Thu, Jan 11, 2018 at 4:52 PM, Peter Maydell wrote: > On 11 January 2018 at 18:37, Marco A L Barbosa wrote: > > --- > > linux-user/elfload.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > This is

Re: [Qemu-devel] [PATCH v2] linux-user: Add AT_SECURE auxval

2018-01-11 Thread Marco A L Barbosa
https://lists.gnu.org/archive/html/qemu-devel/2018-01/msg01298.html On Thu, Jan 11, 2018 at 4:37 PM, Marco A L Barbosa wrote: > --- > linux-user/elfload.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/linux-user/elfload.c b/linux-user/elfload.c > index

[Qemu-devel] [PATCH v2] linux-user: Add AT_SECURE auxval

2018-01-11 Thread Marco A L Barbosa
--- linux-user/elfload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 20f3d8c2c3..32a47674e6 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1354,7 +1354,7 @@ struct exec ~

[Qemu-devel] [Bug 1738771] [NEW] qemu user does not provide AT_SECURE auxiliary vector entry

2017-12-18 Thread Marco A L Barbosa
Public bug reported: When executing an android native binary using qemu in user mode, the program fail with the message FATAL: kernel did not supply AT_SECURE Android uses bionic libc.The linker requires that AT_SECURE is provided in the auxiliary vector, but qemu does not provide the entry. Th

Re: [Qemu-devel] [Qemu-trivial] [PATCH] linux-user: Add random ioctls

2017-10-05 Thread Marco A L Barbosa
I submitted a new patch. Thanks. On Thu, Oct 5, 2017 at 7:35 AM, Laurent Vivier wrote: > On 05/10/2017 12:24, Marco A L Barbosa wrote: > > I doesn't look really trivial... > > > > To manage the buf field you must read buf_size and it cannot be done > in &g

Re: [Qemu-devel] [Qemu-trivial] [PATCH] linux-user: Add random ioctls

2017-10-05 Thread Marco A L Barbosa
> > I doesn't look really trivial... > > To manage the buf field you must read buf_size and it cannot be done in > a generic way: you must define a function to translate the buffer, use > IOCTL_SPECIAL() with RNDADDENTROPY and RNDGETPOOL. > > You should send your patch using "git send-email" or "gi

[Qemu-devel] [PATCH] linux-user: Add random ioctls

2017-10-04 Thread Marco A L Barbosa
I don't know how (and if it is necessary) to add buf field to rand_pool_info struct. See https://github.com/torvalds/linux/blob/5924bbecd0267d87c24110cbe2041b5075173a25/include/uapi/linux/random.h#L17 Signed-off-by: Marco A L Barbosa --- linux-user/ioctls.h| 7 +++ linux