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 @@
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
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
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
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
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
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
_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
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]:
>
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]:
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
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
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,
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
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 dan...@gimpelevich.san-francisco.ca.us
--- a/initd/early.c 2015-06-14
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 zaj...@gmail.com
---
This hasn't been tested on
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 l...@openwrt.org
---
package/system/procd/Makefile | 9 -
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 dan...@makrotopia.org
---
package/system/procd/files/nand.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 mre...@tenxnetworks.com
Applied in r41039, thanks.
- Felix
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 mre...@tenxnetworks.com
--- package/system/procd/files/hotplug.json 2014-05-27 22:34:33.175634831
+
+++
21 matches
Mail list logo