Hi,
1. if I want to use copy_to/from_user in a kernel module, where do the user
variables to be passed need to be defined? Can they be in a header file
that I include in the kernel module, and which is also included in the user
space program where the values of the variables are set?
2. is there a kernel module function call equivalent to the user space call
of time(NULL)? What's its header file?
Thanks..the help is appreciated.
Ollie.
Dept. of Physics,
National University of Ireland, Galway,
Galway,
Ireland.
Tel: +353 (0)91 524411 ext. 2716
Fax: +353 (0)91 750584
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!