Odp: Xiaomi 3G - stery MTK do LEDE
git pull
remote: Counting objects: 126, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 126 (delta 87), reused 101 (delta 87), pack-reused 23
Receiving objects: 100% (126/126), 19.63 KiB | 0 bytes/s, done.
Resolving deltas: 100% (89/89), completed with 52 local objects.
From https://github.com/lede-project/source
ab703bf..3804f57 master -> origin/master
b833944..0426596 lede-17.01 -> origin/lede-17.01
Updating ab703bf..3804f57
Fast-forward
include/kernel-version.mk | 4 +--
package/base-files/files/etc/rc.common | 17 ++++++----
package/kernel/linux/modules/usb.mk | 2 +-
package/network/services/umdns/Makefile | 6 ++--
package/system/fstools/Makefile | 6 ++--
package/system/procd/Makefile | 6 ++--
package/system/procd/files/procd.sh | 15 ++++++++
package/utils/busybox/Config-defaults.in | 2 +-
package/utils/busybox/patches/600-cve-2017-16544.patch | 40 ++++++++++++++++++++++
target/linux/at91/sama5/target.mk | 2 ++
target/linux/generic/backport-4.9/090-net-generalize-napi_complete_done.patch | 2 +-
target/linux/layerscape/Makefile | 2 +-
target/linux/mvebu/patches-4.9/120-net-mvneta-add-BQL-support.patch | 16 ++++-----
target/linux/mvebu/patches-4.9/300-mvneta-tx-queue-workaround.patch | 4 +--
target/linux/mvebu/patches-4.9/419-net-mvneta-convert-to-phylink.patch | 81 +++++++++++++++++++++++++-------------------
.../mvebu/patches-4.9/420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch | 8 ++---
target/linux/mvebu/patches-4.9/422-net-mvneta-add-nway_reset-support.patch | 4 +--
target/linux/mvebu/patches-4.9/424-net-mvneta-add-flow-control-support-via-phylink.patch | 10 +++---
.../linux/mvebu/patches-4.9/425-net-mvneta-enable-flow-control-for-PHY-connections.patch | 2 +-
.../mvebu/patches-4.9/426-net-mvneta-enable-flow-control-for-fixed-connections.patch | 4 +--
target/linux/mvebu/patches-4.9/427-phylink-add-EEE-support.patch | 2 +-
target/linux/mvebu/patches-4.9/428-net-mvneta-add-EEE-support.patch | 12 +++----
target/linux/mvebu/patches-4.9/430-net-mvneta-add-module-EEPROM-reading-support.patch | 4 +--
tools/firmware-utils/src/ptgen.c | 66 ++++++++++++++++++++----------------
24 files changed, 198 insertions(+), 119 deletions(-)
create mode 100644 package/utils/busybox/patches/600-cve-2017-16544.patchMi z wyżej/wcześniej wskazanej przeze mnie rewizji przed chwilą dodało to co powyżej, więc być może coś z tego (oprócz kernela oczywiście) zmieniło dodatkowo zależności do ipv6.
Czyli np. coś z tych konkretnie łat:
git log
commit 3804f5743df2fbc02ed29557a8782a4bcce88058
Author: John Crispin <john@phrozen.org>
Date: Tue Jan 2 13:04:06 2018 +0100
procd: update to latest git HEAD
a5954cf procd: Add %m to several functions that return errno.
810d7a5 procd: Remove redundant errno variable in several printf functions.
fa5ce1c procd: Replace strerror(errno) with %m.
Signed-off-by: John Crispin <john@phrozen.org>
commit 25302c0a0871aaad7f5637c8d2715877125b16e7
Author: John Crispin <john@phrozen.org>
Date: Tue Jan 2 12:58:05 2018 +0100
umdns: update to latest git HEAD
7897441 umdnsd: Replace strerror(errno) with %m.
Signed-off-by: John Crispin <john@phrozen.org>
commit d30c0f4d50b3153dafdbbf892fe255b4e3d175a0
Author: Daniel Albers <daniel.albers@public-files.de>
Date: Thu Dec 28 18:36:24 2017 +0100
kernel: make uas work during early boot
Add the uas(p) module to the modules loaded early on the boot process.
The uas(p) is an modern alternative, which is used by the modern USB3
storage cases, compared to the bot protocol. To be able to use uas(p)
storage cases for extroot, the kernel module has to be loaded before the
search for extroot has been called. This patch changes the load order to
support uas(p) storage cases for extroot.
Signed-off-by: Daniel Albers <daniel.albers@public-files.de>
commit 16ed8ac8e9b76f8f9df322c8fe8be84258540940
Author: John Crispin <john@phrozen.org>
Date: Tue Jan 2 07:55:41 2018 +0100
fstools: update to latest git HEAD
11efbf3 overlay: fix race condition when switching to jffs2
bdeb95a libblkid-tiny: add support for NTFS superblock
ef2cc03 fstools: Replace strerror(errno) with %m format.
98fd5b4 libblkid-tiny: add support for UBI superblock
Signed-off-by: John Crispin <john@phrozen.org>
commit 8b477d09d1af95fd257d70b5329bd64f6f0de05b
Author: Roman Yeryomin <roman@advem.lv>
Date: Thu Dec 14 23:55:08 2017 +0200
base-files: protect stop and reload actions with procd_lock
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Andrejs Hanins <ahanins@gmail.com>
commit e410f785a4d5676eb71715e8c5c4b3445c6478e3
Author: Roman Yeryomin <roman@advem.lv>
Date: Thu Dec 14 23:54:26 2017 +0200
procd: introduce procd_lock for init script protection
Use flock to protect init script from concurrent execution
(of the same script).
Important for services which generate native config files.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Andrejs Hanins <ahanins@gmail.com>
commit 2277cd1249a6952228f36b768beea117c91123a0
Author: Roman Yeryomin <roman@advem.lv>
Date: Sun Dec 17 20:30:42 2017 +0200
busybox: enable flock by default
This is needed for procd init script protection to work.
flock adds 4248 bytes to stripped busybox binary.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
commit 597de6904c39e02a8aa008f50ff19c6793117194
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Mon Jan 1 16:58:33 2018 +0100
layerscape: activate fpu feature
The CPU sub type was set to a CPU version with FPU, but the FPU feature
was not activated before, so a soft float toolchain was created.
Activate also the FPU feature to create the correct toolchain.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
commit 01cc6bd495f317001ca0c260521c82867580faeb
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sun Dec 31 20:35:40 2017 +0100
at91: sama5: activate fpu
This activates neon and VFPv4 support for this target. The CPU support
these feature so also use them.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
commit 498285922e19d1df55ddef204caced48fef26135
Author: Michael Heimpold <mhei@heimpold.de>
Date: Thu Dec 21 23:59:30 2017 +0100
firmware-tools/ptgen: use portable exit codes
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
commit 83f729dfb267d5e22aefbba50af06d58057e5c53
Author: Michael Heimpold <mhei@heimpold.de>
Date: Thu Dec 21 23:59:28 2017 +0100
firmware-tools/ptgen: fix minor coding style issues
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
commit 4b275baf91b7217252922cc827feb42b939c385d
Author: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Date: Sat Dec 30 14:22:36 2017 +0000
kernel: bump 4.9 to 4.9.73
Refresh patches.
Runtime tested: ar71xx - Archer C7 v2
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
commit 7c0a2bc93077f52c033e406864b34af3a4fab245
Author: John Crispin <john@phrozen.org>
Date: Mon Jan 1 11:46:03 2018 +0100
busybox: backport cve-2017-16544 fix
In the add_match function in libbb/lineedit.c in BusyBox through 1.27.2,
the tab autocomplete feature of the shell, used to get a list of filenames
in a directory, does not sanitize filenames and results in executing any
escape sequence in the terminal. This could potentially result in code
execution, arbitrary file writes, or other attacks.
Fixes: FS#1181 - CVE-2017-16544:
Backport the patch from:
https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8
https://nvd.nist.gov/vuln/detail/CVE-2017-16544
Signed-off-by: Derek Werthmuller <thewerthfam@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
commit 0b1fa809d0e974398503a24e408c1209969711f7
Author: Roman Yeryomin <roman@advem.lv>
Date: Fri Dec 22 13:04:46 2017 +0200
base-files: rc.common: fix enable() return code and logic
In current state, if there is START but no STOP, enbale()
will return 1 (failure), which is wrong.
Moreover there is no need to check for START/STOP twice.
Instead, add err variable to save success state and
and return it's value.
Also eliminate the need to disable() by using 'ln -sf',
which will first delete the old symlink if one exists.
commit 3804f5743df2fbc02ed29557a8782a4bcce88058
Author: John Crispin <john@phrozen.org>
Date: Tue Jan 2 13:04:06 2018 +0100
procd: update to latest git HEAD
a5954cf procd: Add %m to several functions that return errno.
810d7a5 procd: Remove redundant errno variable in several printf functions.
fa5ce1c procd: Replace strerror(errno) with %m.
Signed-off-by: John Crispin <john@phrozen.org>
commit 25302c0a0871aaad7f5637c8d2715877125b16e7
Author: John Crispin <john@phrozen.org>
Date: Tue Jan 2 12:58:05 2018 +0100
umdns: update to latest git HEAD
7897441 umdnsd: Replace strerror(errno) with %m.
Signed-off-by: John Crispin <john@phrozen.org>
commit d30c0f4d50b3153dafdbbf892fe255b4e3d175a0
Author: Daniel Albers <daniel.albers@public-files.de>
Date: Thu Dec 28 18:36:24 2017 +0100
kernel: make uas work during early boot
Add the uas(p) module to the modules loaded early on the boot process.
The uas(p) is an modern alternative, which is used by the modern USB3
storage cases, compared to the bot protocol. To be able to use uas(p)
storage cases for extroot, the kernel module has to be loaded before the
search for extroot has been called. This patch changes the load order to
support uas(p) storage cases for extroot.
Signed-off-by: Daniel Albers <daniel.albers@public-files.de>
commit 16ed8ac8e9b76f8f9df322c8fe8be84258540940
Author: John Crispin <john@phrozen.org>
Date: Tue Jan 2 07:55:41 2018 +0100
fstools: update to latest git HEAD
11efbf3 overlay: fix race condition when switching to jffs2
bdeb95a libblkid-tiny: add support for NTFS superblock
ef2cc03 fstools: Replace strerror(errno) with %m format.
98fd5b4 libblkid-tiny: add support for UBI superblock
Signed-off-by: John Crispin <john@phrozen.org>
commit 8b477d09d1af95fd257d70b5329bd64f6f0de05b
Author: Roman Yeryomin <roman@advem.lv>
Date: Thu Dec 14 23:55:08 2017 +0200
base-files: protect stop and reload actions with procd_lock
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Andrejs Hanins <ahanins@gmail.com>
commit e410f785a4d5676eb71715e8c5c4b3445c6478e3
Author: Roman Yeryomin <roman@advem.lv>
Date: Thu Dec 14 23:54:26 2017 +0200
procd: introduce procd_lock for init script protection
Use flock to protect init script from concurrent execution
(of the same script).
Important for services which generate native config files.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Andrejs Hanins <ahanins@gmail.com>
commit 2277cd1249a6952228f36b768beea117c91123a0
Author: Roman Yeryomin <roman@advem.lv>
Date: Sun Dec 17 20:30:42 2017 +0200
busybox: enable flock by default
This is needed for procd init script protection to work.
flock adds 4248 bytes to stripped busybox binary.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
commit 597de6904c39e02a8aa008f50ff19c6793117194
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Mon Jan 1 16:58:33 2018 +0100
layerscape: activate fpu feature
The CPU sub type was set to a CPU version with FPU, but the FPU feature
was not activated before, so a soft float toolchain was created.
Activate also the FPU feature to create the correct toolchain.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
commit 01cc6bd495f317001ca0c260521c82867580faeb
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sun Dec 31 20:35:40 2017 +0100
at91: sama5: activate fpu
This activates neon and VFPv4 support for this target. The CPU support
these feature so also use them.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
commit 498285922e19d1df55ddef204caced48fef26135
Author: Michael Heimpold <mhei@heimpold.de>
Date: Thu Dec 21 23:59:30 2017 +0100
firmware-tools/ptgen: use portable exit codes
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
commit 83f729dfb267d5e22aefbba50af06d58057e5c53
Author: Michael Heimpold <mhei@heimpold.de>
Date: Thu Dec 21 23:59:28 2017 +0100
firmware-tools/ptgen: fix minor coding style issues
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
commit 4b275baf91b7217252922cc827feb42b939c385d
Author: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Date: Sat Dec 30 14:22:36 2017 +0000
kernel: bump 4.9 to 4.9.73
Refresh patches.
Runtime tested: ar71xx - Archer C7 v2
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
commit 7c0a2bc93077f52c033e406864b34af3a4fab245
Author: John Crispin <john@phrozen.org>
Date: Mon Jan 1 11:46:03 2018 +0100
busybox: backport cve-2017-16544 fix
In the add_match function in libbb/lineedit.c in BusyBox through 1.27.2,
the tab autocomplete feature of the shell, used to get a list of filenames
in a directory, does not sanitize filenames and results in executing any
escape sequence in the terminal. This could potentially result in code
execution, arbitrary file writes, or other attacks.
Fixes: FS#1181 - CVE-2017-16544:
Backport the patch from:
https://git.busybox.net/busybox/commit/?id=c3797d40a1c57352192c6106cc0f435e7d9c11e8
https://nvd.nist.gov/vuln/detail/CVE-2017-16544
Signed-off-by: Derek Werthmuller <thewerthfam@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
commit 0b1fa809d0e974398503a24e408c1209969711f7
Author: Roman Yeryomin <roman@advem.lv>
Date: Fri Dec 22 13:04:46 2017 +0200
base-files: rc.common: fix enable() return code and logic
In current state, if there is START but no STOP, enbale()
will return 1 (failure), which is wrong.
Moreover there is no need to check for START/STOP twice.
Instead, add err variable to save success state and
and return it's value.
Also eliminate the need to disable() by using 'ln -sf',
which will first delete the old symlink if one exists.
Changes from v1:
- fixed description
Signed-off-by: Roman Yeryomin <roman@advem.lv>
commit b153745bfbefc6617db0f63e6c80fde7e1e96e7e
Author: John Crispin <john@phrozen.org>
Date: Sat Dec 30 00:15:29 2017 +0100
procd: update to latest git HEAD
7aad940 procd: initd: fix path allocation in early_insmod
006c19c procd: Remove unnecessary memset calls.
Signed-off-by: John Crispin <john@phrozen.org>
commit ab703bf17435f407bfecf137ffcefc5eee078964
Author: Jo-Philipp Wich <jo@mein.io>
Date: Mon Jan 1 16:40:15 2018 +0100
uci: bump to git HEAD version
5beb95d lua: additionally return name when looking up sections
ff33bb2 lua: support extended section notation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>