diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-01 00:04:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-08 13:34:45 +0100 |
commit | 25018c4807a431382488dcf46731c83c2e9baffb (patch) | |
tree | 1191df6c536e445b4da2edefdf675cb885b18df8 /meta/recipes-extended/sysklogd/files/0001-fix-problems-that-causes-a-segmentation-fault-under-.patch | |
parent | dc3b3a8df3297367e9386dd3ac098b64f7f46d06 (diff) | |
download | poky-25018c4807a431382488dcf46731c83c2e9baffb.tar.gz |
sysklogd: Improve build and fix runtime crash
Patch the makefile so it can respect flags from environment
add a patch to fix a run time crash
(From OE-Core rev: 39c00c7c42fe7e555eb65ea7c01bfc9cb8a34514)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysklogd/files/0001-fix-problems-that-causes-a-segmentation-fault-under-.patch')
-rw-r--r-- | meta/recipes-extended/sysklogd/files/0001-fix-problems-that-causes-a-segmentation-fault-under-.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/sysklogd/files/0001-fix-problems-that-causes-a-segmentation-fault-under-.patch b/meta/recipes-extended/sysklogd/files/0001-fix-problems-that-causes-a-segmentation-fault-under-.patch new file mode 100644 index 0000000000..56431af845 --- /dev/null +++ b/meta/recipes-extended/sysklogd/files/0001-fix-problems-that-causes-a-segmentation-fault-under-.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From cb72b3e172c238b4b5ae5935dc6be54f5034fcf1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 30 Jun 2017 18:20:06 -0700 | ||
4 | Subject: [PATCH 1/2] fix problems that causes a segmentation fault under some | ||
5 | conditions | ||
6 | |||
7 | Upstream-Status: Inappropriate [ no upstream ] | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | ksym_mod.c | 1 - | ||
12 | 1 file changed, 1 deletion(-) | ||
13 | |||
14 | diff --git a/ksym_mod.c b/ksym_mod.c | ||
15 | index 6e26da1..a3daa7d 100644 | ||
16 | --- a/ksym_mod.c | ||
17 | +++ b/ksym_mod.c | ||
18 | @@ -186,7 +186,6 @@ extern int InitMsyms() | ||
19 | else | ||
20 | Syslog(LOG_ERR, "Error loading kernel symbols " \ | ||
21 | "- %s\n", strerror(errno)); | ||
22 | - fclose(ksyms); | ||
23 | return(0); | ||
24 | } | ||
25 | |||
26 | -- | ||
27 | 2.13.2 | ||
28 | |||