Hi!
I'm trying to create a program compiling with gcc. However when i run it, the program exists and "Bad system call" is printed into the terminal. This happens when it runs either usleep() or nanosleep() system calls.
I'm doing this on OpenMediaVault 6 (Debian 11). Anyone have any idea whats wrong?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
nanosleep bad system call
-
- Emeritus
- Posts: 2435
- Joined: 2010-12-07 19:55
- Has thanked: 14 times
- Been thanked: 54 times
Re: nanosleep bad system call
Thanks for the tip, i tried updating gcc and checking the makefile.Turns out it was a problem with seccomp rules that didnt work, removed them and its working