Re: exported kernel symbols

Peter Samuelson (peter@wire.cadcamlab.org)
Wed, 3 Nov 1999 07:33:12 -0600 (CST)


[Biondi, Philippe]
> Is the use of modules the only way to modify exported kernel
> variables, or to execute exported kernel code ?

The main ways to modify kernel data from userspace would be

* regular syscalls
* ioctl
* sysctl and /proc
* modules i.e. create_module

Note that all four methods go through syscalls. The first three also
place strict limits on what kernel code can be executed. A module can
call any kernel code whose address it knows, i.e. exported functions by
linking, or anything else if you want to fish around in System.map.

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

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