Different versions of system calls in assembly language
Jonathon McKitrick
jcm at FreeBSD-uk.eu.org
Thu Sep 29 05:41:24 PDT 2005
I'm continuing my foray into assembly language programming, and today I ran
into a problem calling mmap. The problem came from the fact that the version
I was apparently calling (libc?) was expecting an additional 'pad' argument.
Since the man page does not mention this (I found it in syscalls.master) where
should I have found the information when setting up this call? Better yet,
how could I access the original mmap with one less argument, other than a
direct int80?
jcm
--
If you cannot do something well, learn to enjoy doing it poorly.
More information about the Kernel
mailing list