Re: [PATCH v2 0/2] fix set-dumpable in user+mworker mode

2019-11-17 Thread Willy Tarreau
Hi William,

On Sun, Nov 17, 2019 at 03:47:14PM +0100, William Dauchy wrote:
> Hi Willy,
> 
> As discussed, here in my v2 where I simply moved the whole set-dumpable
> logic. While being here I took the liberty to mutualise the setuid/gid
> code in the place to avoid confusion in the future. I let you decide
> whether this is something acceptable.

Makes sense, I agree it's cleaner. Now applied, thank you!
Willy



[PATCH v2 0/2] fix set-dumpable in user+mworker mode

2019-11-17 Thread William Dauchy
Hi Willy,

As discussed, here in my v2 where I simply moved the whole set-dumpable
logic. While being here I took the liberty to mutualise the setuid/gid
code in the place to avoid confusion in the future. I let you decide
whether this is something acceptable.

Thanks,

William Dauchy (2):
  BUG/MINOR: init: fix set-dumpable when using uid/gid
  MINOR: init: avoid code duplication while setting identify

 src/haproxy.c | 150 +++---
 1 file changed, 68 insertions(+), 82 deletions(-)

-- 
2.24.0