-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Intercepted forbidden syscall' when running check #39
Comments
that means Linux kernel does now allow sio2jail to access the performance counters necessary to count how many instructions the program running inside sio2jail executes (which is how we determine "time" in case of contests such as the Polish Olympiad in Informatics).
is a way of telling the Linux kernel that sio2jail (and every other program) should be allowed to use these counters. This is unrelated to the Side note: I just noticed the readme is somewhat unintuitive, the "Running" section doesn't really say how to use sio2jail, I looked through your log and it looks like a few tests failed and they had different versions of the
clone3
Looking at the thread limiter code here https://github.com/sio2project/sio2jail/blob/master/src/limits/ThreadsLimitListener.cc#L30-L45 it looks like in that case sio2jail allows the use of However, this is only necessary for running multi-threaded programs under sio2jail. statxThis is a similar situation of a system call introduced in newer versions of linux, that newer versions of standard library started using, and sio2jail doesn't know about it. Looks like this will be a problem for everyone using sio2jail on a new enough system, so support for this syscall needs to be added to sio2jail. Similar system calls are handled here: There are two lists. Returning Looking at the manpage of tl;dr
|
Thanks for help, and really detailed anwser! |
Hey!
At the moment, I'm working on starting sio2jail on my server and I have some difficulties.
When I used
sudo make check
command, I can see the following messages:LastTest.log
Rather, I'm wondering what
intercepted forbidden syscall
might be - before usingsysctl -w kernel.perf_event_paranoid=-1
, I observed another type of error - with perf events and forbidden access to them:System error occured: perf event open failed: Permission denied: error 13: Permission denied
The text was updated successfully, but these errors were encountered: