1 From 238e0f78c950a940544049cafec63f26c8722250 Mon Sep 17 00:00:00 2023
2 From: Yan <yanxk.fnst@fujitsu.com>
3 Date: Fri, 25 Aug 2023 09:59:38 +0800
4 Subject: [PATCH] boa: fix icky kernel bug
6 Upstream-Status: Pending
7 comment out these DIE sentecnce to avoid crash
8 when you start the boa server.
10 Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
13 1 file changed, 2 insertions(+)
15 diff --git a/src/boa.c b/src/boa.c
16 index 8ce2c7b..b2f3f83 100644
19 @@ -222,9 +222,11 @@ static void drop_privs(void)
20 /* test for failed-but-return-was-successful setuid
21 * http://www.securityportal.com/list-archive/bugtraq/2000/Jun/0101.html
24 if (setuid(0) != -1) {
25 DIE("icky Linux kernel bug!");
29 if (server_gid || server_uid) {