Hey Rafał,
Rafał Miłecki writes:
> + char ld_preload[64] = {}; /* Has to be big enough for all cases */
...
> + if (ld_preload[0])
> + strcat(ld_preload, ":");
> + strcat(ld_preload, "/lib/libpreload-seccomp.so");
I understand C is often like that
Using pipe automatically switches service to block buffering which kind
of breaks our logging. We won't get anything from FD until the buffer
gets filled fully or the service exits. This makes log messages appear
with an unwanted delay.
This adds a tiny libsetnbf.so that disables stdout buffering a
2015-06-17 13:09 GMT+02:00 Baptiste Clenet :
>
> 2015-06-15 10:08 GMT+02:00 Baptiste Clenet :
>
>> Hello,
>>
>> The first boot, after flashing a new image, runs fine.
>> I edit my /etc/config/network configuration then reboot and I get
>> those errors (every reboot):
>>
>> [8.13] jffs2: jf
On Jun 19, 2015 9:16 PM, "Rafał Miłecki" wrote:
>
> On 19 June 2015 at 14:44, Yousong Zhou wrote:
> > On 19 June 2015 at 19:34, Rafał Miłecki wrote:
> >> Using pipe automatically switches service to block buffering which kind
> >> of breaks our logging. We won't get anything from FD until the bu
Hi.
> Do you have any other idea?
Yes, we create a shared library which calls setbuf(stderr/out, NULL) in
an __attribute__((constructor)) function, then specify this library in
LD_PRELOAD when exec'ing stdio-relay enabled processes from procd.
This is equivalent to the implementation used by the
On 19 June 2015 at 14:44, Yousong Zhou wrote:
> On 19 June 2015 at 19:34, Rafał Miłecki wrote:
>> Using pipe automatically switches service to block buffering which kind
>> of breaks our logging. We won't get anything from FD until the buffer
>> gets filled fully or the service exits. This makes
On 19 June 2015 at 19:34, Rafał Miłecki wrote:
> Using pipe automatically switches service to block buffering which kind
> of breaks our logging. We won't get anything from FD until the buffer
> gets filled fully or the service exits. This makes log messages appear
> with an unwanted delay.
> Swit
Using pipe automatically switches service to block buffering which kind
of breaks our logging. We won't get anything from FD until the buffer
gets filled fully or the service exits. This makes log messages appear
with an unwanted delay.
Switching to PTY fixes this issue. Service prints to the "stan
Since r40909 openwrt can automatically shutdown when you press the
power button or try to shutdown a kvm virtual machine.
When booting a recent CC-rc2 or trunk image, it doesn't work,
as two kernel modules are missing.
Add these two kernel modules to the default packages, so users
don't need to in
This patch enables sysupgrade for the Bitmain Antminer S1
Signed-off-by: L. D. Pinney
---
target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrad
10 matches
Mail list logo