zhblue / hustoj

Popular Open Source Online Judge based on PHP/C++/MySQL/Linux for ACM/ICPC and NOIP training, with easy installation. 开源OJ系统
http://www.hustoj.com/?cat=2
GNU General Public License v2.0
3.33k stars 773 forks source link

okcalls.h问题 #34

Open vczf opened 8 years ago

vczf commented 8 years ago

在okcall.h的第108,109行, SYS_execve的限制变成了HOJ_MAX_LIMIT 如果有一个.c文件有一行这样的内容 execl("./Main",(char *)NULL); 是不是会出问题?

zhblue commented 8 years ago

请在hustoj.com/oj/上测试一下,如有问题我来修。

zhblue commented 8 years ago

Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-30-generic x86_64)