Finding out which syscall you are in

Mike (mike@oxlug.org)
Fri, 2 Apr 1999 16:21:40 +0100 (GMT)


Is there any way of finding out the number of a syscall from within that
syscall?

For example, would it be possible (although somewhat silly) to have the
same function pointed to by two different entries in sys_call_table, and
that function behaving differently depending which entry it was called as?

(I don't think that makes sense, but hopefully somebody will understand
what I mean)

-- 
Mike <rickettm@ox.compsoc.net>

"Let us condemn to hellfire all those who disagree with us." -- militant religionists everywhere

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/