Hello,
In commit 147d2ce3dd98945a328ab9390dc562923b17c2f3, "exe" in comm fields was
changed to the applet name (if standalone shell or prefer_applets is enabled).
However, consider the following shell script:
#!/bin/sh
read foo < /proc/self/comm
echo $foo
Before the commit, the output of
The output of /proc/self/comm shall only be changed to the applet name
if it is "exe". It shall not be changed if it is for example the name
of a shell script.
Signed-off-by: Lukasz Serafin
---
include/libbb.h| 2 ++
libbb/appletlib.c | 11
Gentle ping for my patch from april 24:
[PATCH] standalone shell / prefer_applets: fix comm field problem
http://lists.busybox.net/pipermail/busybox/2020-April/087913.html
And here I have written some more information about the problem:
Hello,
When I write:
busybox hwclock -u -s
I get the answer:
hwclock: settimeofday: Invalid argument
This seems to be because the implementation of settimeofday has changed in
glibc 2.31.
There is a bug report in Bugzilla:
https://bugs.busybox.net/show_bug.cgi?id=12756
BR
Lukasz
the offset in a single call.
BR
Lukasz
Från: Christian Eggers
Skickat: den 8 juli 2020 08:57
Till: busybox@busybox.net
Kopia: Lukasz Serafin
Ämne: Re: Applet hwclock does not work
Dear Lukasz,
Am Dienstag, 30. Juni 2020, 15:36:56 CEST schrieb Lukasz Serafin
Refactor usage of settimeofday to be compatible with glibc v2.31.
Signed-off-by: Fredrik M Olsson
---
util-linux/hwclock.c | 20
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 29f5102..d3884f6 100644
---
et/pipermail/busybox/2020-July/088083.html
BR
Lukasz
Från: Norbert Lange
Skickat: den 14 juli 2020 14:28
Till: Lukasz Serafin
Kopia: busybox@busybox.net; Fredrik M Olsson
Ämne: Re: [PATCH] hwclock: separate invocations settimeofday time
Am Di., 14. Juli 20