Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/12/20 5:43 PM, Laurent Vivier wrote: Le 12/02/2020 à 17:08, Philippe Mathieu-Daudé a écrit : On 2/12/20 5:03 PM, Laurent Vivier wrote: Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Laurent Vivier
Le 12/02/2020 à 17:08, Philippe Mathieu-Daudé a écrit : > On 2/12/20 5:03 PM, Laurent Vivier wrote: >> Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : >>> On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application to obtain the security creden

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/12/20 5:03 PM, Laurent Vivier wrote: Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application to obtain the security credentials of a Unix stream socket peer.  It is analogous to SO_PEERCRED (wh

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Laurent Vivier
Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : > On 2/4/20 10:19 PM, Laurent Vivier wrote: >> "The purpose of this option is to allow an application to obtain the >> security credentials of a Unix stream socket peer.  It is analogous to >> SO_PEERCRED (which provides authentication using s

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application to obtain the security credentials of a Unix stream socket peer. It is analogous to SO_PEERCRED (which provides authentication using standard Unix credentials of pid, uid and gid), and extends this c

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-05 Thread Laurent Vivier
Le 05/02/2020 à 13:34, Matthias Luescher a écrit : > Hi > > I also tested the v2 patch - works fine! Thank you. As the parameter I added is ignored, it was expected :) Thanks, Laurent

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-05 Thread Matthias Luescher
Hi I also tested the v2 patch - works fine! Best regards Matthias

[PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-04 Thread Laurent Vivier
"The purpose of this option is to allow an application to obtain the security credentials of a Unix stream socket peer. It is analogous to SO_PEERCRED (which provides authentication using standard Unix credentials of pid, uid and gid), and extends this concept to other security models." -- https:/