Is it possible to use "/proc" filesystem over here, to so that in
"step 4)" in above method
the program 'prog1' will read the rules from file and then write them
into some file in /proc which will allow my kernel code to get access
to that data ?
Using proc for such purposes is not considered as a good approach.
Regards,
- Ratnadeep