Skip to content

Commit

Permalink
Fix: enable readv/writev syscall
Browse files Browse the repository at this point in the history
  • Loading branch information
licheng committed Oct 6, 2010
1 parent 77d90f4 commit 23b6e6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions judge_client/client/enabled_syscall.h
Expand Up @@ -153,6 +153,10 @@ int init() {
enabled_syscall[__NR_readlink] = 1;
#endif

#ifdef __NR_readv
enabled_syscall[__NR_readv] = 1;
#endif

#ifdef __NR_rt_sigaction
enabled_syscall[__NR_rt_sigaction] = 1;
#endif
Expand Down Expand Up @@ -197,6 +201,10 @@ int init() {
enabled_syscall[__NR_write] = 1;
#endif

#ifdef __NR_writev
enabled_syscall[__NR_writev] = 1;
#endif



#ifdef __NR_accept
Expand Down

0 comments on commit 23b6e6f

Please sign in to comment.