Maybe needs Rafał Miłecki approval?
===
diff --git a/package/system/procd/files/procd.sh
b/package/system/procd/files/procd.sh
index 8ee25f4f08b47..9d936bb7e9778 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -601,7 +601,7 @@ procd_add_mdns_
Regardles of the return code from validate_data _error variable will be 0 due
to 'local' command in the previous line. With this patch we are able to catch
the return code from validate_data tool.
Signed-off-by: Luka Perkov
---
package/system/procd/Makefile | 9 -
package/system/pr
An open bracket was missing.
Signed-off-by: Rosen Penev
---
jail/jail.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jail/jail.c b/jail/jail.c
index 378a729..ce4f50c 100644
--- a/jail/jail.c
+++ b/jail/jail.c
@@ -2804,7 +2804,7 @@ static void post_main(struct uloop_timeout
Fix retriggering of init.d-scripts which calls
commands dependent on functional STDIN/STDOUT/STDERR.
If we just close these file descriptors those commands
will not work as expected leading to unwanted
consequences. If we instead redirect the file descriptors
to /dev/null, we will end up the same
_GNU_SOURCE was missing.
Also defined two macros unavailable with uClibc-ng.
Signed-off-by: Rosen Penev
---
jail/console.c | 4
jail/jail.c| 4
trace/trace.c | 5 +
3 files changed, 13 insertions(+)
diff --git a/jail/console.c b/jail/console.c
index eacb2fa..588d241 100644
-
Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.
For example the bit/syscall.h from musl for i386 has this:
#define __NR_timer_create 259
#define __NR_timer_settime(__NR_timer_c
Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or
remove a USB-serial cellular modem.
(see Ticket #14117)
Signed-off-by: Matthew Reeve
--- package/system/procd/files/hotplug.json 2014-05-27 22:34:33.175634831
+
+++ package/system/procd/files/hotplug.json
On my Ubuntu system, the permissions are 1777. They are incorrect in
procd, leading to this:
https://forum.openwrt.org/viewtopic.php?id=57073
This in intended for both CC and DD.
Signed-off-by: Daniel Gimpelevich
--- a/initd/early.c 2015-06-14 19:31:47.0 -0700
+++ b/initd/early.c
From: Rafał Miłecki
There is one procd patch that is critical for few devices:
2cfc26f inittab: detect active console from kernel if no console= specified
It allows using serial console on devices that have it but don't specify
it e.g. using console= cmdline argument.
In a long term we may need
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.
To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.--- Begin Message ---
Em 28/08/2023 11:12, Markus Gothe
On 2014-06-06 23:20, Matthew Reeve wrote:
> Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert
> or remove a USB-serial cellular modem.
>
> (see Ticket #14117)
>
> Signed-off-by: Matthew Reeve
Applied in r41039, thanks.
- Felix
error: ‘%d’ directive output may be truncated writing between 2 and 10
bytes into a region of size 3 [-Werror=format-truncation=]
snprintf(fd_buf, sizeof(fd_buf), "%d", wdt_fd);
^~~
note: directive argument in the range [0, 2147483647]
snprintf(fd_buf, sizeof(fd_
sysupgrade otherwise skips kernel part on devices which got
kernel in ubi due to kern_length being undefined, kernel_length
is being used instead.
Signed-off-by: Daniel Golle
---
package/system/procd/files/nand.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/sy
On 21/06/18 22:58, Rosen Penev wrote:
error: ‘%d’ directive output may be truncated writing between 2 and 10
bytes into a region of size 3 [-Werror=format-truncation=]
snprintf(fd_buf, sizeof(fd_buf), "%d", wdt_fd);
^~~
note: directive argument in the range
Citeren John Crispin :
On 21/06/18 22:58, Rosen Penev wrote:
error: ‘%d’ directive output may be truncated writing between 2 and 10
bytes into a region of size 3 [-Werror=format-truncation=]
snprintf(fd_buf, sizeof(fd_buf), "%d", wdt_fd);
^~~
note: directive
The proper format is %zu .
Signed-off-by: Rosen Penev
---
jail/jail.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jail/jail.c b/jail/jail.c
index 5a6802f..90de411 100644
--- a/jail/jail.c
+++ b/jail/jail.c
@@ -1366,7 +1366,7 @@ static int parseOCIprocessuser(struct blob_a
Applies patch from @mikma [0] to fix Docker shutdown. Added detection to
state.c if running in a containre or not.
Tested with a x86/64 Docker image.
Fixes FS#2425
CC: Mikael Magnusson
CC: Petr Štetiar
[0]:
https://github.com/mikma/lxd-openwrt/blob/master/patches/procd-master/0003-docker-fix
On Mon, Jul 20, 2020 at 3:35 PM Rosen Penev wrote:
>
> The proper format is %zu .
>
> Signed-off-by: Rosen Penev
https://downloads.openwrt.org/snapshots/faillogs/powerpc_464fp/base/procd/compile.txt
> ---
> jail/jail.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/jail
These patches allow procd to be build with the latest json-c
William Holland (2):
fix building with json-c.0.12
Fix use of functions deprecated in json-c.0.12
CMakeLists.txt |7 +++
plug/hotplug.c |6 +-
service/validate.c | 37 ++---
1) nand_upgrade_tar: use a simpler condition that matches if () { }
logic and fix check of $kernel_length variable
2) nand_do_upgrade_stage2: use case, otherwise one could believe we
always call nand_upgrade_tar
Signed-off-by: Rafał Miłecki
---
This hasn't been tested on any hardware, could
On Mon, Aug 5, 2019 at 6:09 PM Paul Spooren wrote:
>
> Applies patch from @mikma [0] to fix Docker shutdown. Added detection to
> state.c if running in a containre or not.
>
> Tested with a x86/64 Docker image.
>
> Fixes FS#2425
>
> CC: Mikael Magnusson
> CC: Petr Štetiar
>
> [0]:
> https://git
Previous patch did not account for umask, now adding that.
Signed-off-by: Daniel Gimpelevich
--- a/initd/early.c
+++ b/initd/early.c
@@ -60,6 +60,8 @@
static void
early_mounts(void)
{
+ unsigned int oldumask = umask(0);
+
mount("proc", "/proc", "proc", MS_NOATIME, 0);
mou
22 matches
Mail list logo