diff options
author | Yan <yanxk.fnst@fujitsu.com> | 2023-09-01 09:16:21 +0800 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-09-15 15:05:32 +0000 |
commit | 42e8b62d447f3cdd79b80dc00419a1733fd0c3ae (patch) | |
tree | feeaaad92feb9d54741b861d200622d601eebab7 /meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch | |
parent | 18b99f9275cdb2473f52706c0d4d33636e8055c5 (diff) |
agl-wireless-monitor: provide boa and basic dependency chain
1, add new feature 'agl-wireless-monitor' to help
compile the project.
2, provide boa web server for project, it is
fixed and configured, for more information
you can go check the conf patch.
3, provide basic bb file for main program, currently
some of the html files are included.
Bug-AGL: SPEC-4838
Signed-off-by: Yan <yanxk.fnst@fujitsu.com>
Change-Id: Ia870a76be602a9bc10eeed5e91873c2757a56a2a
Diffstat (limited to 'meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch')
-rw-r--r-- | meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch b/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch new file mode 100644 index 00000000..f1039547 --- /dev/null +++ b/meta-agl-wireless-monitor/recipes-component/boa/boa-0.94.13/0001-boa-fix-icky-kernel-bug.patch @@ -0,0 +1,32 @@ +From 238e0f78c950a940544049cafec63f26c8722250 Mon Sep 17 00:00:00 2023 +From: Yan <yanxk.fnst@fujitsu.com> +Date: Fri, 25 Aug 2023 09:59:38 +0800 +Subject: [PATCH] boa: fix icky kernel bug + +Upstream-Status: Pending +comment out these DIE sentecnce to avoid crash +when you start the boa server. + +Signed-off-by: Yan <yanxk.fnst@fujitsu.com> +--- + src/boa.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/boa.c b/src/boa.c +index 8ce2c7b..b2f3f83 100644 +--- a/src/boa.c ++++ b/src/boa.c +@@ -222,9 +222,11 @@ static void drop_privs(void) + /* test for failed-but-return-was-successful setuid + * http://www.securityportal.com/list-archive/bugtraq/2000/Jun/0101.html + */ ++ #if 0 + if (setuid(0) != -1) { + DIE("icky Linux kernel bug!"); + } ++ #endif + } else { + if (server_gid || server_uid) { + log_error_time(); +-- +2.25.1 |