system call에 새로운 함수를 등록하려고 하는데
asmlinkage int sys_fcfs(const char __user *name, int job)
이런식으로 문자열과 숫자를 파라미터로 받고싶습니다.
근데 system call을 syscall(NEW_SYS,"ABC",123); 이런식으로 호출해보니 linux가 다운되네요 ㅠㅠ
고수님들 도와주세요.
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
댓글 달기