[oe] [meta-oe][PATCH] usleep: use update-alternatives

2018-07-31 Thread Li Zhou
To solve below error: update-alternatives: Error: not linking [...]/rootfs/bin/usleep to /bin/busybox.nosuid since [...]/rootfs/bin/usleep exists and is not a link add using update-alternatives in usleep. Signed-off-by: Li Zhou --- meta-oe/recipes-core/usleep/usleep_1.0.bb | 9 + 1

[oe] [meta-oe][PATCH] rsyslogd: Backport upstream commits to fix rsyslog segmentation fault when heavy load

2015-04-28 Thread Li Zhou
+closes: http://bugzilla.adiscon.com/show_bug.cgi?id=489 +Thanks to Guy Rozendorn for reporting the problem and Peval Levhshin for +his analysis. + +Upstream-Status: backport + +Signed-off-by: Li Zhou +--- + ChangeLog |6 ++ + runtime/glbl.c | 25 ++--- + 2 files changed, 24 in

[oe] [meta-oe][PATCH] lvm2: fix segfault for snapshot

2015-05-25 Thread Li Zhou
Backport from lvm2 upstream <https://git.fedorahosted.org/git/lvm2.git> to solve issue: vgchange segfault in lv_is_merging_cow function. Signed-off-by: Li Zhou --- meta-oe/recipes-support/lvm2/lvm2.inc |3 +- .../lvm2/0001-snapshot-check-snapshot-exists.patch

[oe] [meta-selinux][PATCH] net-tools: Add SCTP option support

2016-03-01 Thread Li Zhou
Patch netstat-selinux-support.patch's context is changed becasue of the commit in oe-core which adds SCTP support for net-tools. So rebase it. Signed-off-by: Li Zhou --- .../net-tools/netstat-selinux-support.patch| 61 ++-- 1 file changed, 32 insertions(+

[oe] [meta-networking][PATCH] bridge-utils: modify the AR to cross toolchain

2017-10-19 Thread Li Zhou
The Makefile uses the host “ar” tool when it should be using the ar from the target toolchain. Signed-off-by: Jiwei Sun Signed-off-by: Li Zhou --- ...ridge-Modifying-the-AR-to-cross-toolchain.patch | 34 ++ .../bridge-utils/bridge-utils_1.5.bb | 1 + 2 files

[oe] [meta-oe][PATCH] php: Security Advisory - php - CVE-2017-16642

2017-11-22 Thread Li Zhou
Porting the patch from <https://github.com/php/php-src/commit/ 5c0455bf2c8cd3c25401407f158e820aa3b239e1> to solve CVE-2017-16642. Signed-off-by: Li Zhou --- .../php/php-7.1.9/CVE-2017-16642.patch | 5241 meta-oe/recipes-devtools/php/php_7.1.9.bb

[oe] [meta-oe][PATCH] vim: Security Advisory - vim - CVE-2017-17087

2017-12-18 Thread Li Zhou
Porting the patch from <https://github.com/vim/vim/commit/ 5a73e0ca54c77e067c3b12ea6f35e3e8681e8cf8> to solve CVE-2017-17087. Signed-off-by: Li Zhou --- .../recipes-support/vim/files/CVE-2017-17087.patch | 70 ++ meta-oe/recipes-support/vim/vim_8.0.0983.bb|

[oe] [meta-oe][PATCH 1/2] php: Security Advisory - php - CVE-2018-5711

2018-02-25 Thread Li Zhou
Porting the patch from <http://git.php.net/?p=php-src.git;a=commit; h=8d6e9588671136837533fe3785657c31c5b52767> to solve CVE-2018-5711. Signed-off-by: Li Zhou --- .../php/php-7.1.9/CVE-2018-5711.patch | 56 ++ meta-oe/recipes-devtools/php/php_7.

[oe] [meta-oe][PATCH 2/2] php: Security Advisory - php - CVE-2018-5712

2018-02-25 Thread Li Zhou
Porting the patch from <http://git.php.net/?p=php-src.git;a=commit; h=73ca9b37731dd9690ffd9706333b17eaf90ea091> to solve CVE-2018-5712. Signed-off-by: Li Zhou --- .../php/php-7.1.9/CVE-2018-5712.patch | 432 + meta-oe/recipes-devtools/php/php_7.

[oe] [meta-networking][PATCH] ebtables: enable KERNEL_64_USERSPACE_32 for arm

2018-02-28 Thread Li Zhou
the commit do. Use TARGET_ARCH to replace KARCH here because that KARCH can't always get value by default. Signed-off-by: Li Zhou --- meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-f

[oe] [meta-oe][PATCH] eventlog: change SRC_URI because of invalid old address

2018-03-05 Thread Li Zhou
The SRC_URI is too old to be valid, so update it. Signed-off-by: Li Zhou --- meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/eventlog/eventlog_0.2.13.bb b/meta-oe/recipes-support/eventlog

[oe] [meta-oe][PATCH] traceroute: Move manual pages from mandir to man8 under it

2017-05-25 Thread Li Zhou
Traceroute's manual pages are installed in /usr/share/man, which should be placed in /usr/share/man/man8. Correct this. Signed-off-by: Li Zhou --- meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a

[oe] [meta-networking][PATCH] traceroute: Move manual pages from mandir to man8 under it

2017-05-25 Thread Li Zhou
Traceroute's manual pages are installed in /usr/share/man, which should be placed in /usr/share/man/man8. Correct this. Signed-off-by: Li Zhou --- meta-networking/recipes-support/traceroute/traceroute_2.1.0.bb | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a

[oe] [meta-openembedded][PATCH] net-snmp: fix engineBoots value on SIGHUP

2017-07-27 Thread Li Zhou
ff-by: Marian Florea Reviewed-by: Wenkuan Wang Reviewed-by: Zhaolong Zhang Signed-off-by: Li Zhou --- ...nmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch | 45 ++ .../recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 1 + 2 files changed, 46 insertions(+) create mode 100644

[oe] [meta-oe][PATCH] lmsensors: sensors-detect: print a special message when there isn't enough cpu info

2016-09-06 Thread Li Zhou
a prompt for such a case. Signed-off-by: Li Zhou --- ...ensors-detect-print-a-special-message-whe.patch | 40 ++ .../recipes-support/lm_sensors/lmsensors_3.4.0.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-support/lm_sensors/lmsensors/0001

[oe] [meta-networking][PATCH] arptables: add arptables systemd service file

2016-09-25 Thread Li Zhou
Add arptables systemd service file. If there isn't any configuration file (/etc/sysconfig/arptables), add a default configuration file. Signed-off-by: Li Zhou --- .../arptables/arptables-0.0.3-4/arptables.service| 16 .../recipes-support/arptables/arptables_0.0.3

[oe] [meta-oe][PATCH] arptables: add the directory for default /etc/sysconfig/arptables

2016-10-11 Thread Li Zhou
Solve the potential issue for previous commit : in a small build where /etc/sysconfig directory doesn't exist, the action of adding default configuration file (/etc/sysconfig/arptables) will fail. Signed-off-by: Li Zhou --- .../recipes-support/arptables/arptables-0.0.3-4/arptables.se

[oe] [meta-networking][PATCH 1/2] net-snmp: fix snmptrap to use clientaddr from snmp.conf.

2016-11-22 Thread Li Zhou
Under IPv6 IP-multihomed environment, the socket does not bind to the clientaddr indicated in snmp.conf when sending snmptrap and it might choose a random one. Backport the patch from net-snmp upstream to fix it. Signed-off-by: Li Zhou --- ...ix-snmptrap-to-use-clientaddr-from-snmp.c.patch | 48

[oe] [meta-networking][PATCH 2/2] net-snmp: snmplib, UDPIPv6 transport: Add a missing return statement

2016-11-22 Thread Li Zhou
Backport a succeeding commit from net-snmp upstream to fix the issue introduced by commit . The missing return will cause crash when binding to a non-exist IPv6 address. Signed-off-by: Li Zhou --- ...IPv6-transport-Add-a-missing-return-state.patch | 29 ++ .../recipes

[oe] [meta-cgl][PATCH] kernel: fix the recipe that changes signatures

2019-08-22 Thread Li Zhou
ece5eb1270759 to 1e9697c5c2a85520ea36ec5845125f8e Variable SRC_URI value changed:... test_signatures are tests to be sure that BSP and DISTRO layers do not come with recipes that change signatures, so here remove the NULL SRC_URI operation. Signed-off-by: Li Zhou --- meta-cgl-common/recipes

[oe] [meta-oe][PATCH] tipcutils: ptts: Set recv buffer size to max to receive as many packets as possible

2019-09-01 Thread Li Zhou
a hint to user when possible overrun occurs. Note that the value of SO_RCVBUF will be limited up to min(INT_MAX/2, sysctl_rmem_max) in kernel. Signed-off-by: Li Zhou --- ...et-recv-buffer-size-too-max-to-receive-as.patch | 66 ++ .../recipes-extended/tipcutils/tipcutils_git.

[oe] [meta-oe][PATCH] libssh2: Security Advisory - libssh2 - CVE-2019-17498

2019-11-24 Thread Li Zhou
Porting the patch from <https://github.com/libssh2/libssh2/commit/ dedcbd106f8e52d5586b0205bc7677e4c9868f9c> to solve CVE-2019-17498. Signed-off-by: Li Zhou --- .../libssh2/files/CVE-2019-17498.patch | 131 + meta-oe/recipes-support/libssh2/libssh2_1.

[oe] [meta-networking][PATCH] openl2tp: Update SRC_URI for "Failed to fetch URL" warning

2019-12-19 Thread Li Zhou
Update SRC_URI for solving below warning: WARNING: openl2tp-1.8-r0 do_fetch: Failed to fetch URL ftp://ftp.openl2tp.org/releases/openl2tp-1.8/openl2tp-1.8.tar.gz, attempting MIRRORS if available Signed-off-by: Li Zhou --- meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb | 2 +- 1 file

[oe][meta-networking][PATCH] ptpd: Solve memory leak for function NTPDCrequest

2020-11-29 Thread Li Zhou
(protocol.c:263) ==619==by 0x402BAE: main (ptpd.c:131) Signed-off-by: Li Zhou --- ...lve-memory-leak-for-function-NTPDCrequest.patch | 40 ++ meta-networking/recipes-daemons/ptpd/ptpd_2.3.1.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-networking

[oe] [meta-oe][PATCH] php: Security Advisory - php - CVE-2020-7059

2020-02-21 Thread Li Zhou
commit; h=a8a6242db7c01bb2d87f29e9b8d5ff3f0f847645> Signed-off-by: Li Zhou --- .../recipes-devtools/php/php/CVE-2020-7059.patch | 86 ++ meta-oe/recipes-devtools/php/php_7.3.11.bb | 1 + 2 files changed, 87 insertions(+) create mode 100644 meta-oe/recipes-devtools/php/php/CVE-2020-7059.patch