hustoj icon indicating copy to clipboard operation
hustoj copied to clipboard

C和C++用judge_client调试模式重判正常,但是页面直接提交RE

Open Chaiquan00 opened this issue 3 years ago • 1 comments

在前端页面提交会显示以下错误: /1000/sample.in:[ERROR] solution_id:1063 called a Forbidden system call:0 [0] TO FIX THIS , ask admin to add the CALLID into corresponding LANG_XXV[] located at okcalls32/64.h , and recompile judge_client. if you are admin and you don't know what to do , chinese explaination can be found on https://zhuanlan.zhihu.com/p/24498599

但在后台用judge_client id 0 /home/judge/debug命令判题正常。

(系统是Ubuntu18.04 64位 server版,已经在okcalls64里添加过callid了)

Chaiquan00 avatar Mar 31 '21 16:03 Chaiquan00

ps aux|grep judged 看一下judged进程是不是用root账户启动的?

zhblue avatar Apr 01 '21 01:04 zhblue