2.1.5 and kerneld

Rafael D'Halleweyn (Rafael.DHalleweyn@rug.ac.be)
Thu, 24 Oct 1996 20:33:11 +0200 (MET DST)


Hi,

I seem to have a problem with kerneld (from modules 2.0.0, I can't find a
newer version) and kernel 2.1.5. When kerneld is started it quits with a
'error: exit: Bad address' message in syslog.

The bad address seems to be caused by the msgrcv() in kerneld. The
implementation of real_msgrcv() (in ipc/msg.c) uses verify_area() to check
the mtext area of the msgbuf that real_msgrcv() receives as on of its
arguments. It seems to be this verify_area() that generates the error.

Is this a problem with kerneld or with the kernel? Is this problem related
to change in userspace address verification.

As I understand it, the kernel is moving away from explicit verification
(verify_area()) to implicit (copy_from_user(), ...) with the help of the
MMU. Is this correct?

--
Rafael D'Halleweyn
  rdhall@www.dma.be
  Rafael.DHalleweyn@rug.ac.be