hit-moodle/moodle-local_onlinejudge — Issue #24: Judging fails with "Restricted Functions"
Author: weezel
Created: 2011-11-08 17:32:42+00:00
State: open

There seems to be some odd behaviour when using judged and sandbox combination.

After trying to judge a simple hello world example (hello.c) judging states "Restricted Functions". The file hello.c has the following lines:

#include

int
main(int argc, const char *argv[])
{
printf("hello world\n");
return 0;
}

When running the judged with:
$ sudo -u www-data php judged.php -v -n
it outputs the following lines when doing an evalution:

== TASK: 41 ==
Judging...
Successfully judged: 8

System is running Ubuntu 10.04, Apache2 and PHP 5.3.2. Online judge version is cloned from the 063b303a01a9ffc679f503ce36a290c6b6884ea0 commit.

Any tips how should I progress to gain more information?

Thanks in advance!