[PATCH] posix: Make CONFIG_XENO_OPT_DEBUG_POSIX_SYNCHRO widely

2019-08-29 Thread Jan Kiszka via Xenomai
From: Jan Kiszka This converts the consistency checks for resource ownership from optional into unconditional. The motivation is preventing the risk of kernel crash in the presence of application bugs and the absence of CONFIG_XENO_OPT_DEBUG_POSIX_SYNCHRO which used to control this check. The on

RE: [PATCH 2/2] cobalt: switch hand over status to -ENODEV for non-RTDM fd

2019-08-29 Thread Lange Norbert via Xenomai
I ran into a rather big issue with linux filehandles I use Xenomai master on ipipe-core-4.19.60-x86-5 with those patches, (can't be 100% sure its not some kernel/userspace conflict, but I doubt it) What happens is that upon a __cobalt_close with a linux filehande, the syscall sc_cobalt_close retu

Re: [PATCH 2/2] cobalt: switch hand over status to -ENODEV for non-RTDM fd

2019-08-29 Thread Philippe Gerum via Xenomai
On 8/29/19 4:12 PM, Lange Norbert wrote: > > I ran into a rather big issue with linux filehandles > I use Xenomai master on ipipe-core-4.19.60-x86-5 with those patches, > (can't be 100% sure its not some kernel/userspace conflict, but I doubt it) > > What happens is that upon a __cobalt_close wit

Re: [PATCH 2/2] cobalt: switch hand over status to -ENODEV for non-RTDM fd

2019-08-29 Thread Jan Kiszka via Xenomai
On 29.08.19 16:12, Lange Norbert via Xenomai wrote: I ran into a rather big issue with linux filehandles I use Xenomai master on ipipe-core-4.19.60-x86-5 with those patches, (can't be 100% sure its not some kernel/userspace conflict, but I doubt it) What happens is that upon a __cobalt_close wi

[PATCH] cobalt/sched-quota: Allow NULL quota_sum_r in

2019-08-29 Thread Jan Kiszka via Xenomai
From: Jan Kiszka Avoids pointless dummy variables on the call-site. Signed-off-by: Jan Kiszka --- kernel/cobalt/posix/sched.c | 5 + kernel/cobalt/sched-quota.c | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kernel/cobalt/posix/sched.c b/kernel/cobalt/posix/sched.c