It is currently Fri, 30 Sep 2022 11:23:35 GMT



 
Author Message
 accessing a global variable
Hi,

Is it possible to have a global variable in the kernel (eg: in
net/ipv4/tcp_output.c, a variable named dummy), which can be accessed
and modified through an application layer 'c' program?

How can I go about doing it?

Thanks,
citl



 Tue, 03 May 2005 16:12:44 GMT   
 accessing a global variable
ee...@e{*filter*}.com (ee) wrote in
<cccb5e6.0211150012.4c56a...@posting.google.com>:

Better to create an IOCTL to get/set the desired parameter.  Check the web,
textbooks, and the kernel source for example code to add an IOCTL.

Duncan



 Sat, 21 May 2005 23:27:56 GMT   
 
   [ 2 post ] 

Similar Threads

1. Unaligned access (bus error) on Solaris on global variable

2. How to set environment variable for global access?

3. Parent and Child process accessing global variable?

4. fork + accessing global variable

5. Accessing global variables from shared/dynmaic functions.

6. file contents into variable, or global variable from shell script

7. korn shell variable in variable access

8. EXPORTING global variables...

9. global env. variables for tcsh

10. initialize the global variables in .so files


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software