syscall(2) function

Paul Kerchen kerchen at iris.ucdavis.edu
Tue Feb 28 04:36:50 AEST 1989


Hello all!
Currently I'm researching computer viruses here at UCD and I have
encountered an interesting question (at least I think it's
interesting):  Is the system call "syscall()" necessary?  I am *not*
asking if system calls in general are necessary.  I *am* asking about a
particular system call called "syscall" which allows indirect system
calls (see section 2 of the man pages for more info).  It seems like
anything one could do with syscall() could be done just using the
needed system call directly.  I'd like to know if there are certain
applications for which this function is a *necessity*, not just a
convenience.  Also, I am looking for *real* examples, not contrived
ones with no basis in reality.
(Sorry for being so verbose.  I want to make sure that it is clear
what I am asking--I've already received enough replies which go
something like, "System calls are needed so that applications become
independent of changes in the kernel....")



Paul Kerchen				| kerchen at iris.ucdavis.edu



More information about the Comp.unix.wizards mailing list