diff options
Diffstat (limited to 'python/runner')
-rwxr-xr-x | python/runner/interpreter.py | 16 | ||||
-rw-r--r-- | python/runner/sandbox.c | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/python/runner/interpreter.py b/python/runner/interpreter.py index 722bc33..34601d2 100755 --- a/python/runner/interpreter.py +++ b/python/runner/interpreter.py @@ -1,5 +1,21 @@ #!/usr/bin/python3 -u +# CodeQ: an online programming tutor. +# Copyright (C) 2015 UL FRI +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, either version 3 of the License, or (at your option) any +# later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + import code import io import pickle diff --git a/python/runner/sandbox.c b/python/runner/sandbox.c index 7da8dd2..b822997 100644 --- a/python/runner/sandbox.c +++ b/python/runner/sandbox.c @@ -1,3 +1,19 @@ +/* CodeQ: an online programming tutor. + Copyright (C) 2015 UL FRI + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. */ + #include <pwd.h> #include <stdio.h> #include <stdlib.h> |