Jo-Philipp Wich
2a2d408024
procd: fix incorrect use of sizeof() in vsnprintf()
...
SVN-Revision: 38268
11 years ago
John Crispin
52b61d6325
procd: update to latest git head
...
this fixes the syslog problem when using eglibc on x86.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38267
11 years ago
Jo-Philipp Wich
a94b5fbd5c
rpcd: fix missing option removal when merging subsequent uci set calls
...
SVN-Revision: 38254
11 years ago
Jo-Philipp Wich
d11315e7c6
ubus: restrict unix domain socket permission to 0600 to disallow non-root connections
...
SVN-Revision: 38253
11 years ago
Jo-Philipp Wich
feab77f58e
ubox: support alternative spellings for modinfo and rmmod
...
After this change, "rmmod" and "modinfo" works even if the user gives
the file name spelling instead of the kernel internal one, so that e.g.
"rmmod nls_iso8859-1.ko" and "rmmod nls_iso8859_1" will both succeed.
SVN-Revision: 38252
11 years ago
Jo-Philipp Wich
2ff6d48319
uci: change uci_ptr checking order in uci_delete()
...
SVN-Revision: 38251
11 years ago
Jo-Philipp Wich
d8c154a29d
ubox: fix kmod loading for modules with varying dashes & underscores in names ( #14182 , #14189 )
...
Instead of canonicalizing module names in the internal avl tree simpyl use a
custom strcmp() variant for the avl tree key comparisation. The custom comperator
simply treats dashes and underscores the same, so "nls_iso8859-15" is equal to
"nls-iso8859-15".
This allows us to simplify the code considerably and makes manual "modprobe"
invocations more forgiving when looking up the given module name.
SVN-Revision: 38248
11 years ago
Steven Barth
2d5448afb5
opkg: add build variant with signature support
...
SVN-Revision: 38220
11 years ago
Luka Perkov
ef5f836207
fix various init scripts
...
Changes include:
* removing unused variables
* replacing spaces with tabs where appropriate
* more consistency with variable declarations
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38142
11 years ago
Gabor Juhos
8b50ecc6ff
package/mtd: enable seama fixup code for ar71xx
...
It will be used for the WD My Net N600.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38073
11 years ago
John Crispin
f874094402
procd: convert various packages to procd style init.d scripts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38023
11 years ago
John Crispin
4f62127dea
procd: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38022
11 years ago
John Crispin
aa2109fb1f
ubox: make use of modprobe
...
ubox now has modprobe support
build and install the tool
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38019
11 years ago
Jo-Philipp Wich
c6c1c381d6
rpcd: update to git head
...
- recalculate session ACLs on reload
- support negative access group expressions in /etc/config/rpcd
- prevent destryoing the default session
- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security
SVN-Revision: 37961
11 years ago
Jo-Philipp Wich
106f3eab79
rpcd: update to git head
...
- introduces persistent null session to allow access to procedures without login
- implements session.login procedure to support user logins via json-rpc
SVN-Revision: 37941
11 years ago
Felix Fietkau
392ad68960
procd: update to latest version, adds udevtrigger improvements by juhosg
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37925
11 years ago
Jo-Philipp Wich
e6d015489b
rpcd: update to git head
...
- adds support for service triggering on config commit
- adds uci transaction support
- adds daemon reload support without loosing session data
- exports headers for use by external plugins
- drops LuCI2 in favor to an out of tree plugin
SVN-Revision: 37921
11 years ago
Jo-Philipp Wich
a6b26d9aea
Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
...
SVN-Revision: 37877
11 years ago
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
11 years ago
Jo-Philipp Wich
757e80488b
ubox: update to git head
...
- adds support for generic mount options
SVN-Revision: 37800
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau
368e7da483
ubus: update to latest version, fixes a bug in reconnect after ubusd dies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37740
11 years ago
Felix Fietkau
158cc23d39
ubus: fix typo
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37701
11 years ago
Felix Fietkau
e7de3b26ed
ubus: change section/category to base, libs
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37700
11 years ago
Felix Fietkau
80f8b60607
ubus: update to latest version
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37671
11 years ago
Jo-Philipp Wich
91b814221c
ubox: update to git head
...
- fixes extroot tag file corruption with long uuids
SVN-Revision: 37623
11 years ago
Jo-Philipp Wich
3f8c8d6f60
ubox: update to git head
...
- discard vfat labels with only spaces
- support using swap files
- support extroot when required kmods and block-mount are installed on jffs2
SVN-Revision: 37551
11 years ago
Jo-Philipp Wich
bbf2b18933
ubox: update to git head
...
- use dynamically sized buffer, fixes label extraction on vfat partitions with huge cluster size
- strip trailing spaces from vfat labels, aligns behaviour with "blkid"
SVN-Revision: 37529
11 years ago
Jo-Philipp Wich
1e8e6b4645
ubox: update to git head
...
- fixes vfat partition detection on big endian systems
SVN-Revision: 37522
11 years ago
John Crispin
093f211843
update ubox and procd to latest git revision
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37516
11 years ago
Jo-Philipp Wich
60c64808dc
procd: ensure the log_proto has udp default value in log.init
...
SVN-Revision: 37508
11 years ago
John Crispin
11d027380e
procd: update to latest git head
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37504
11 years ago
John Crispin
99f15eec91
ubox: fix stack overflow in squashfs uuid code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37503
11 years ago
Jo-Philipp Wich
ec6954e64e
procd: default to udp log protocol to keep backwards compat with busybox
...
SVN-Revision: 37496
11 years ago
Gabor Juhos
adba04e53f
procd: improve early console handling
...
The malta target is broken since procd is used
as init. The initramfs image boots fine, however
the console is not working.
Improve the early console handling to fix the
problem.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37451
11 years ago
Jo-Philipp Wich
9f6d136107
ubox: update to git head, fixes multiple null pointer dereferences and adds support for mounting lvm and raid devices
...
SVN-Revision: 37444
11 years ago
John Crispin
ae7a156434
procd: make old button hotplug rules work until all packages are migrated
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37336
12 years ago
Felix Fietkau
f75bba6f87
ubox: fix compile error ( #13877 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37330
12 years ago
John Crispin
6d7e477691
procd: update to latest git revision
...
* improves logread over net code
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37313
12 years ago
John Crispin
33a04fdfec
ubox: update to latest git revison
...
this fixes a stack corruption in kmodloader. lsmod should be fixed now
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37312
12 years ago
Felix Fietkau
b95bdc8ab5
kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37282
12 years ago
John Crispin
182866ecdc
procd: update to latest git revision
...
this fixes a regression in the watchdog init code
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37259
12 years ago
John Crispin
3c306f9d07
procd: make the log port default to 514 if none is specified
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37257
12 years ago
John Crispin
585ab22c0f
procd: update to latest git version
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37250
12 years ago
John Crispin
6f1112a5e8
procd: add proto and trigger support to the /etc/init.d/log
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37249
12 years ago
John Crispin
8eb56a88a4
procd: add a small script that handles config reloads until configd is ready
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37248
12 years ago
John Crispin
67eb275f69
procd: the delete ubus call was passed the wrong field name for services
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37247
12 years ago
John Crispin
3fcee6de2f
ubox: upgrade to latest version
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37246
12 years ago
Luka Perkov
5e672084cb
ubox: remove empty menu from block-mount
...
SVN-Revision: 37221
12 years ago