Re: [ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-11-10 Thread Ben Pfaff
OK, great, somehow I missed that. On Tue, Nov 10, 2015 at 09:00:05AM -0800, Andy Zhou wrote: > No. I have Acked the change. > > On Mon, Nov 9, 2015 at 3:26 PM, Ben Pfaff wrote: > > On Tue, Oct 20, 2015 at 12:09:46PM +0900, Takashi Yamamoto wrote: > >> On Tue, Oct 20, 2015 at 7:14 AM, Andy Zhou

Re: [ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-11-10 Thread Andy Zhou
No. I have Acked the change. On Mon, Nov 9, 2015 at 3:26 PM, Ben Pfaff wrote: > On Tue, Oct 20, 2015 at 12:09:46PM +0900, Takashi Yamamoto wrote: >> On Tue, Oct 20, 2015 at 7:14 AM, Andy Zhou wrote: >> > I am going by the advice of paper " The Murky Issue of Changing >> > Process Identity: Revis

Re: [ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-11-09 Thread Ben Pfaff
On Tue, Oct 20, 2015 at 12:09:46PM +0900, Takashi Yamamoto wrote: > On Tue, Oct 20, 2015 at 7:14 AM, Andy Zhou wrote: > > I am going by the advice of paper " The Murky Issue of Changing > > Process Identity: Revising “Setuid Demystified” " > > > > On page 7, it says: > > > > Specifically, all OSes

Re: [ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-10-19 Thread Takashi Yamamoto
hi, On Tue, Oct 20, 2015 at 7:14 AM, Andy Zhou wrote: > I am going by the advice of paper " The Murky Issue of Changing > Process Identity: Revising “Setuid Demystified” " > > On page 7, it says: > > Specifically, all OSes that support getresuid (see Figure 3) also > support setresuid and setresg

Re: [ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-10-19 Thread Andy Zhou
I am going by the advice of paper " The Murky Issue of Changing Process Identity: Revising “Setuid Demystified” " On page 7, it says: Specifically, all OSes that support getresuid (see Figure 3) also support setresuid and setresgid. These offer the clearest and most consistent semantics, and can

Re: [ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-10-18 Thread Takashi Yamamoto
hi, On Mon, Oct 19, 2015 at 3:14 PM, Andy Zhou wrote: > On Sun, Oct 18, 2015 at 9:28 PM, YAMAMOTO Takashi > wrote: >> NetBSD doesn't have [gs]etres[ug]id. >> >> Signed-off-by: YAMAMOTO Takashi >> --- >> lib/daemon-unix.c | 40 ++-- >> 1 file changed, 18 ins

Re: [ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-10-18 Thread Andy Zhou
On Sun, Oct 18, 2015 at 9:28 PM, YAMAMOTO Takashi wrote: > NetBSD doesn't have [gs]etres[ug]id. > > Signed-off-by: YAMAMOTO Takashi > --- > lib/daemon-unix.c | 40 ++-- > 1 file changed, 18 insertions(+), 22 deletions(-) > Thanks for testing on NetBSD. I am c

[ovs-dev] [PATCH 06/21] daemon_switch_user: Improve portablility

2015-10-18 Thread YAMAMOTO Takashi
NetBSD doesn't have [gs]etres[ug]id. Signed-off-by: YAMAMOTO Takashi --- lib/daemon-unix.c | 40 ++-- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/lib/daemon-unix.c b/lib/daemon-unix.c index 868e2c9..5b01d06 100644 --- a/lib/daemon-unix.c ++