Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-21 Thread Rosen Penev
On Fri, Dec 21, 2018 at 8:05 PM Yousong Zhou wrote: > > On Sat, 22 Dec 2018 at 01:21, Kevin 'ldir' Darbyshire-Bryant > wrote: > > > > Backport > > https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=adcc81f148d733b7e8e641300c5590a2cdc13bf3 > > > > "Mapping the delay slot em

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-21 Thread Yousong Zhou
On Sat, 22 Dec 2018 at 01:21, Kevin 'ldir' Darbyshire-Bryant wrote: > > Backport > https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=adcc81f148d733b7e8e641300c5590a2cdc13bf3 > > "Mapping the delay slot emulation page as both writeable & executable > presents a security ris

Re: [OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-21 Thread Rosen Penev
On Fri, Dec 21, 2018 at 9:21 AM Kevin 'ldir' Darbyshire-Bryant wrote: > > Backport > https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=adcc81f148d733b7e8e641300c5590a2cdc13bf3 > > "Mapping the delay slot emulation page as both writeable & executable > presents a security r

[OpenWrt-Devel] [PATCH] kernel: MIPS: math-emu Write-protect delay slot emulation pages

2018-12-21 Thread Kevin 'ldir' Darbyshire-Bryant
Backport https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git/commit/?id=adcc81f148d733b7e8e641300c5590a2cdc13bf3 "Mapping the delay slot emulation page as both writeable & executable presents a security risk, in that if an exploit can write to & jump into the page then it can be used a

[OpenWrt-Devel] [PATCH] kernel: Add compiler options to generic configuration

2018-12-21 Thread Hauke Mehrtens
With kernel 4.19 new configuration options for the compiler were added. These are automatically selected and set, instead of having them in each target configuration, put them into the generic configuration. Signed-off-by: Hauke Mehrtens --- target/linux/generic/config-4.19 | 6 ++ 1 file ch

[OpenWrt-Devel] [PATCH] kernel: Fix KERNEL_STACKPROTECTOR on kernel 4.19

2018-12-21 Thread Hauke Mehrtens
The configuration option was renamed with kernel 4.19 from CONFIG_CC_STACKPROTECTOR to CONFIG_STACKPROTECTOR adapt the code to set both options. CONFIG_STACKPROTECTOR now sets the regular stack protector and CONFIG_STACKPROTECTOR_STRONG activates the additional protection of more functions. Signe

Re: [OpenWrt-Devel] [RFC] stop accepting 4/32M board patches

2018-12-21 Thread Thomas Endt
> -Ursprüngliche Nachricht- > Von: openwrt-devel Im Auftrag > von James Feeney > Gesendet: Donnerstag, 20. Dezember 2018 20:46 [...] > There also seems to be a presumption that a "newbie" is, or should be, > running luci. I believe that that is also an inappropriate assumption. > > U

Re: [OpenWrt-Devel] Removed target staging dir in SDK

2018-12-21 Thread Jo-Philipp Wich
Hi, > Why did you remove this dir? To save space on the download servers. > If we want to build custom binaries using SDK, should we use something else? Use the feeds mechanism within the SDK to build your required libaries first, e.g.: ./scripts/feeds update ./scripts/feeds install libpcap m

[OpenWrt-Devel] Removed target staging dir in SDK

2018-12-21 Thread Matej Kupljen
Hi, in the commit 7dfbac8073e1f5fd47f85743b9ebead842ed3c70, signed of by Felix Fietkau, you removed staging_dir/target_ directory from SDK build. In this folder all the libraries and header files need for compiling custom binaries reside. Why did you remove this dir? If we want to build cust