syscall 142

Vasilisc vasilisc777 at gmail.com
Tue Jun 28 13:19:28 UTC 2016


28.06.2016 13:13, Vasilisc пишет:
> 28.06.2016 12:50, Zygmunt Krynicki пишет:
>>
>>> Wiadomość napisana przez Alekseenko Vasilii <vasilisc777 at gmail.com> w
>>> dniu 28.06.2016, o godz. 11:23:
>>>
>>>
>>> Jun 28 12:15:22 vb kernel: [  167.292913] audit: type=1326
>>> audit(1467105322.080:24): auid=4294967295 uid=1000 gid=1000
>>> ses=4294967295 pid=1805 comm="audioplayer-main"
>>> exe="/snap/audioplayer/x1/usr/bin/audioplayer" sig=31 arch=c000003e
>>> syscall=142 compat=0 ip=0x7f5aef3efca7 code=0x0
>>>
>>> scmp_sys_resolver 142
>>> sched_setparam
>>>
>>> how to allow the audioplayer - sched_setparam?
>>
>> Currently this system call is not allowed. I’m not 100% sure but it
>> looks like it is there to prevent processes from stalling the rest of
>> the system.
>>
>> I think it would be really better if we didn’t kill the process but
>> returned EPERM instead. DO you know if your audio player can handle
>> that case?
>>
>> Best regards
>> ZK
>>
> sched_setparam can be connected to threads?
> http://linux.die.net/man/2/sched_setparam
> Switch-off of threads can help?
>
I fixed this issue. Find and comment pthread_setschedprio in source code.

-- 
Best regards,
vasilisc




More information about the Snapcraft mailing list