Re: Redefinition error while compiling LKM

From: Alexander Shishckin
Date: Thu Dec 29 2005 - 07:13:05 EST


On 12/29/05, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> On Thu, 2005-12-29 at 16:51 +0530, pretorious . wrote:
> > >
> > >and.. why on earth would you need sys/syscall.h ?? (or sys/stat.h for
> > >that matter)
> > >
> > >
> >
> > Trying to override certain syscalls (mknod ...)
>
> eeppp why??
> really don't do that!
>
> (overriding syscalls from modules really shouldn't be done.. there's a
> reason the syscall table isn't exported!)

Perhaps during the 2.4.21 old days sys_call_table was still exported
and there were plenty of 'How to intrecept a syscall in 10 minutes'
documents in the wild.

--
I am free of all prejudices. I hate every one equally.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/