Is remote procedure call (RPC) safe?
Recently I looked at SUN RPC, because its need for BIND DNS server.
While compiling i found an error on excel() command, so looked inside code found this, it looks like RPC uses a C compiler back end to do what it likes.
So the question is there any security built in so this is not exploited?
Should we have RPC on AmigaOS?
If I'm right this might be a big security risk for Linux and Windows operating systems, (Windows even has it built in to the kernel)
switch (fork())
{
case 0:
(void) close(1);
(void) dup2(pd[1], 1);
(void) close(pd[0]);
execl(CPP, CPP, CPPFLAGS, define, infile, NULL);
perror("execl");
exit(1);
case -1:
perror("fork");
exit(1);
}
Edited by LiveForIt on 2010/10/30 1:30:25