commit | 3e736e94cd6a8726ce20d2bc3dfef60268d315f1 | [log] [tgz] |
---|---|---|
author | Chen Ran <crccw@moonux.org> | Wed Feb 11 23:22:50 2015 +0800 |
committer | Chen Ran <crccw@moonux.org> | Wed Feb 11 23:22:50 2015 +0800 |
tree | 3a24c1c915f2579e4576b91bd6ff4917ec9fff5f | |
parent | f1565ec9cfeb3b923b0201002a2943d1f097db86 [diff] |
switch to low privileged user when compiling Frankly speaking on a well-managed server this will not be a big problem, if you DO NOT run judge as root... I also replaced system() with execl(), since the former one won't work with setuid(). And compile command will no longer be logged due to my laziness...