Re: [PATCH] iscsid: drop uid privileges after locking memory

2020-10-26 Thread The Lee-Man
Hi Anythony: On Thursday, October 22, 2020 at 12:33:08 PM UTC-7 Anthony Iliopoulos wrote: > Move the setuid call after mlockall, since the latter requires elevated > privileges, and will cause iscsid startup to fail when an unprivileged > uid is specified. > I appreciate your patch, but I'm n

[PATCH] iscsid: drop uid privileges after locking memory

2020-10-22 Thread Anthony Iliopoulos
Move the setuid call after mlockall, since the latter requires elevated privileges, and will cause iscsid startup to fail when an unprivileged uid is specified. Signed-off-by: Anthony Iliopoulos --- usr/iscsid.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/usr