On 11.11.21 08:33, C Smith via Xenomai wrote:
> I can compile a rtdm kernel module OK with Xenomai 3.1 but I can't
> seem to get my module to see errno.
>
> In several Xenomai example sources I see :
> #include
> but when I put that in my rtdm code I must also add to my Makefile:
> -I/usr/src/lin
OK that makes sense.
thanks, -C Smith
On Thu, Nov 11, 2021 at 12:27 AM Jan Kiszka wrote:
>
> On 11.11.21 08:33, C Smith via Xenomai wrote:
> > I can compile a rtdm kernel module OK with Xenomai 3.1 but I can't
> > seem to get my module to see errno.
> >
> > In several Xenomai example sources I s
o solve this problem?
> >
> > The strace results are as follows
> >
>
> Can you generate a trace (strace or maybe even kernel event trace) of both
> good an bad cases? To see where the behaviour diverges.
>
> Or is there something that reproduces this without requiring a full
Hello
>Sandbox enabled:
>stat("/sys/fs/cgroup/cpuset/chrome", 0x7f9068a987c0) = -1 ENOSYS (Function not
>implemented)
>Sandbox disabled:
>stat("/sys/fs/cgroup/cpuset/chrome", 0x7f9e3a03a7c0) = -1 ENOENT (No such file
>or directory)
>You have updated the kernel, but did you update your libseccomp
On 11.11.21 11:58, Ando Yuta wrote:
> Hello
>
>> Sandbox enabled:
>> stat("/sys/fs/cgroup/cpuset/chrome", 0x7f9068a987c0) = -1 ENOSYS (Function
>> not implemented)
>> Sandbox disabled:
>> stat("/sys/fs/cgroup/cpuset/chrome", 0x7f9e3a03a7c0) = -1 ENOENT (No such
>> file or directory)
>> You have
Hello Jan
> I'm starting to reproduce, and there is some behavioral difference on
> 5.10 with vs. without Dovetail/Xenomai. I'm now trying to narrow this down,
> will keep you posted.
Thank you.
We are waiting for your fix as we continue testing xenomai 3.2.
Yuta Ando
-Original Message
On 11.11.21 12:30, Ando Yuta wrote:
> Hello Jan
>
>> I'm starting to reproduce, and there is some behavioral difference on
>> 5.10 with vs. without Dovetail/Xenomai. I'm now trying to narrow this down,
>> will keep you posted.
>
> Thank you.
> We are waiting for your fix as we continue testing x
From: Jan Kiszka
__secure_computing, called by syscall_trace_enter, returns -1 when a
call should be skipped. We must avoid that this is interpreted as
EXIT_SYSCALL_OOB in the dovetail case.
Fixes, e.g., crashes of Chrome in sandbox mode.
Reported-by: Ando Yuta
Signed-off-by: Jan Kiszka
---
Hi Jan-san
Thanks for the fix.
I checked, and the browser now works fine with xenomai3.2 dovetail.
Thank you for your quick response.
It was very helpful.
Yuta Ando
-Original Message-
From: Jan Kiszka
Sent: Friday, November 12, 2021 3:57 AM
To: Philippe Gerum
Cc: Xenomai ; Ando Yuta