RE: exported kernel symbols

Biondi, Philippe (Philippe.Biondi@matranortel.com)
Wed, 3 Nov 1999 15:26:30 +0100


> Peter Samuelson[SMTP:peter@wire.cadcamlab.org]
> >The main ways to modify kernel data from userspace would be
> >
> > * regular syscalls
> > * ioctl
> > * sysctl and /proc
> > * modules i.e. create_module
>
> Does that means that if you disable insmod syscall and if you insert the following code in the kernel:
>
> int my_one=1;
> void erase_my_one() { my_one=0; }
> EXPORT_SYMBOL(my_one);
> EXPORT_SYMBOL(erase_my_one);
>
> Nobody can set my_one to zero, even with the dirtiest hack the world has ever seen ?
>
>
>

-
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/