Felix Fietkau
3848e6a246
kernel: crashlog: Avoid out-of-bounds write
...
vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.
Fix this by using vscnprintf which returns the actually written number
of chars.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 37820
2013-08-21 20:59:25 +00:00
Luka Perkov
3e28d0849e
malta: refresh configuration
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37819
2013-08-21 00:36:53 +00:00
Luka Perkov
ff384f04e4
include: introduce subtarget_platform CONFIG_TARGET
...
Sometimes it is useful to change platform's kernel config file but with loaded
subtarget's kernel config. Good example for this use case is malta.
Example:
$ make kernel_menuconfig CONFIG_TARGET=subtarget_platform
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37818
2013-08-21 00:36:52 +00:00
Luka Perkov
b04baf0d0c
crypto: add missing depends for crypto-manager
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37817
2013-08-21 00:36:19 +00:00
Felix Fietkau
418e979e29
usbmode: update to latest version, includes fix from #14062
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37816
2013-08-20 18:25:20 +00:00
Luka Perkov
32b80b8653
uboot-env: fix spurious esac within ramips uci-defaults
...
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 37814
2013-08-19 13:01:17 +00:00
Luka Perkov
c0908affad
upx: upgrade to 3.09
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37813
2013-08-19 01:22:29 +00:00
Luka Perkov
567fe51e88
mpc: upgrade to 1.0.1
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37812
2013-08-19 01:22:25 +00:00
Felix Fietkau
e2aa807b60
kernel: add back missing declaration in the MIPS DMA patch that broke octeon
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37811
2013-08-18 05:49:57 +00:00
Luka Perkov
4f679c1775
kernel: drop dead pwm code
...
The files have last been used with 2.6.x kernel.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37810
2013-08-18 01:25:41 +00:00
Luka Perkov
a2dccb958c
kernel: drop dead glamo code
...
The code is not used since the s3c24xx target was removed.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37809
2013-08-18 01:25:40 +00:00
Luka Perkov
f1509b1958
kernel: replace local m25p80 patches with upstream submission
...
http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html
http://patchwork.ozlabs.org/patch/268019/
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37808
2013-08-17 23:54:41 +00:00
Luka Perkov
18a36d3062
kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch
...
The patch in question has been accepted upstream in commit:
55bf75b7dd8ec875d048824f3cdecf8254e292e5
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37807
2013-08-17 22:29:05 +00:00
Luka Perkov
b0943b6ea6
scons: upgrade to 2.3.0
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37806
2013-08-17 18:39:35 +00:00
Luka Perkov
5c018d5096
kernel: drop 110-fix_mtd_include.patch
...
Kernel builds just fine without this patch so we can just remove it.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37805
2013-08-17 17:09:41 +00:00
Hauke Mehrtens
2fc0c28345
broadcom-diag: remove BUFFALO_UNKNOWN
...
This was itriggered by to many non buffalo devices
This closes #14043 .
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37804
2013-08-17 13:43:07 +00:00
Hauke Mehrtens
af161b6576
brcm47xx: fix typo in Broadcom-bgmac-b43 profile name
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37803
2013-08-17 13:41:22 +00:00
Hauke Mehrtens
e12b5ec8df
broadcom-wl: Add 'N' mode support to broadcom-wl
...
This is partly based on patches sent by Łukasz Kwestarz (See https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014356.html ).
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37802
2013-08-17 13:38:30 +00:00
Jo-Philipp Wich
449d7ef460
ubox: update to git head
...
- support mounting swap files from /etc/config/fstab
- support mounting swap partitions by label
SVN-Revision: 37801
2013-08-16 13:14:21 +00:00
Jo-Philipp Wich
757e80488b
ubox: update to git head
...
- adds support for generic mount options
SVN-Revision: 37800
2013-08-16 11:18:39 +00:00
Jo-Philipp Wich
759112327a
procd: update to git head
...
- terminates uloop after forking in service manager
- redirects stdio to /dev/null for services executed from procd
SVN-Revision: 37799
2013-08-16 09:29:37 +00:00
Jo-Philipp Wich
6dbc1bb24d
Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
...
This reverts commit f6b0be49ba0d8eee29e098cc057ced57e7a26dd4.
SVN-Revision: 37798
2013-08-16 09:29:31 +00:00
Luka Perkov
e83cacd2c1
xz: upgrade to 5.0.5
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37797
2013-08-16 00:19:21 +00:00
Luka Perkov
06dc9fcf83
mtools: upgrade to 4.0.18
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37796
2013-08-16 00:19:20 +00:00
Luka Perkov
a98cf00fff
mm-macros: upgrade to 0.9.6
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37795
2013-08-16 00:19:18 +00:00
Luka Perkov
ef876c20db
cmake: upgrade to 2.8.11.2
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37794
2013-08-16 00:19:17 +00:00
Felix Fietkau
d03d3aa58c
mac80211: merge upstream change to fix mesh rssi thresholds
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37793
2013-08-15 13:57:11 +00:00
Jo-Philipp Wich
408f0988e9
procd: update to git head
...
- terminates uloop after forking in hotplug handler
- redirects stdio to /dev/null for processes executed from hotplug
SVN-Revision: 37792
2013-08-15 10:33:52 +00:00
Felix Fietkau
d16060d5a3
kernel: fix a small #ifdef bug in the noncoherent dma check rework
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37791
2013-08-15 09:29:53 +00:00
Felix Fietkau
e27f67b30a
kernel: improve dma ops inlining patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37790
2013-08-15 09:23:07 +00:00
Luka Perkov
e8d6de95b3
uboot-envtools: add support for hornet-ub-x2
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37789
2013-08-15 00:57:48 +00:00
Luka Perkov
5064c81457
ar71xx: add support for hornet-ub-x2
...
The hornet-ub-x2 is hornet-ub variant with double more flash and ram.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37788
2013-08-15 00:57:47 +00:00
Luka Perkov
c67640bbd4
cloog: upgrade to 0.18.0
...
Signed-off-by: Luka Perkov <lperkov@cisco.com>
SVN-Revision: 37787
2013-08-14 23:23:25 +00:00
Luka Perkov
884ae69189
ppl: upgrade to 1.0
...
Signed-off-by: Luka Perkov <lperkov@cisco.com>
SVN-Revision: 37786
2013-08-14 23:23:23 +00:00
John Crispin
dc7164d4ef
ramips: DIR-610-A1 Support
...
http://patchwork.openwrt.org/patch/3933/
Signed-off-by: Flavio Silveira <fggs@terra.com.br>
SVN-Revision: 37785
2013-08-14 19:35:27 +00:00
John Crispin
97a7daa72f
ramips: fix typo in network uci_defaults script
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37784
2013-08-14 19:08:55 +00:00
John Crispin
41f62983d3
ramips: dts file cleanup
...
cleanup some inconsistencies in the dts files
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37783
2013-08-14 19:08:44 +00:00
John Crispin
eb7669fc5d
ar71xx: fix TL-WR710N board detection
...
Fix for recognize TL-WR710N
http://patchwork.openwrt.org/patch/3946/
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 37782
2013-08-14 18:15:58 +00:00
John Crispin
6d7d09a126
ar71xx: Fix factory image for DIR 505 A1
...
Based on the original firmware, the file must have the tag
HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3.
http://patchwork.openwrt.org/patch/3945/
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 37781
2013-08-14 18:15:49 +00:00
John Crispin
36e3424fa5
ramips: add support for dir810l and asus rp-n53
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37780
2013-08-14 18:15:35 +00:00
John Crispin
632a3e3a79
ramips: various updates to the mt7620 dtsi file
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37779
2013-08-14 18:15:26 +00:00
John Crispin
9e5b0cc19c
ramips: update v3.10 patches
...
Sync the patches with those sent upstream for v3.12.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37778
2013-08-14 18:15:15 +00:00
Jo-Philipp Wich
2864fb107f
firewall: update to git head
...
- uses "-j CT --notrack" instead of deprecated "-j NOTRACK"
- fixes support for rule sections with target "NOTRACK"
SVN-Revision: 37777
2013-08-14 15:40:38 +00:00
Felix Fietkau
a5ce3f2cbf
build: fix typo in mips16 changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37776
2013-08-14 14:55:49 +00:00
Felix Fietkau
19283a07df
disable mips16 for a few packages that don't compile with it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37773
2013-08-14 14:29:15 +00:00
Felix Fietkau
ae737b77b5
polarssl: disable mips16
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37772
2013-08-14 13:02:36 +00:00
Felix Fietkau
648bc811f0
openssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with cflags directly
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37771
2013-08-14 13:02:33 +00:00
Felix Fietkau
a1a5f59ea3
build: decouple the mips16 support flag from the toolchain
...
Add the flags from package.mk instead, and leave libc and gcc
unaffected.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37770
2013-08-14 13:02:29 +00:00
Felix Fietkau
8b8875b305
ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize modules as GPL-compatible
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37769
2013-08-14 08:52:19 +00:00
Felix Fietkau
bbf4412bee
ath9k: merge a few more cleanups/fixes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37767
2013-08-13 10:35:18 +00:00