RE: [PATCH] dovetail: Adjust EXIT_SYSCALL_* values to avoid clash with seccomp

2021-11-11 Thread Ando Yuta via Xenomai
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

[PATCH] dovetail: Adjust EXIT_SYSCALL_* values to avoid clash with seccomp

2021-11-11 Thread Jan Kiszka via Xenomai
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 ---

Re: Trying Xenomai3.2 and has some web browser problem

2021-11-11 Thread Jan Kiszka via Xenomai
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

RE: Trying Xenomai3.2 and has some web browser problem

2021-11-11 Thread Ando Yuta via Xenomai
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

Re: Trying Xenomai3.2 and has some web browser problem

2021-11-11 Thread Jan Kiszka via Xenomai
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

RE: Trying Xenomai3.2 and has some web browser problem

2021-11-11 Thread Ando Yuta via Xenomai
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

Re: Trying Xenomai3.2 and has some web browser problem

2021-11-11 Thread Bezdeka, Florian via Xenomai
gt; > > > 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 UI for > the brows

Re: access errno in Xeno 3.1

2021-11-11 Thread C Smith via Xenomai
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

Re: access errno in Xeno 3.1

2021-11-11 Thread Jan Kiszka via Xenomai
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: >