problem with mprotect

Asko Seeba (asko@cs.ut.ee)
Tue, 28 Oct 1997 20:56:05 +0200 (EET)


Hey! I'm quite a new here and don't know, if my question here is annoying
or not, but I still try... :)

I'm using Linux 2.1.57 on pentium and try to use mprotect function.
Problem is that even the example at 'man mprotect' doesn't work. It
returns with -1 and sets the errno to EINVAL.

So, do You know, if that mprotect needs any special requirements in sense
of upgrading any library or smthng and/or is there any other known reason
for behaving so?

--
Asko Seeba (alias Joka Jehoowa Wennapoeg).