Hi, I have been able to settrans the the attached code. But none of the netfs call backs work. I am intentionally not committing this code to my git repo(I dont want the code in this state to go to repo). I think I am close to get what I am planning to get from 3 long weeks, but I feel I am missing some petty thing, which is withholding everything. So I am sending this as a tarred attachment. Can you please check the code and tell me what might possibly wrong.
The code compiles and settrans -cgap /proc/ ./procfs returns without any error. But when I goto /proc and ls nothing happens. To know what functions really get called I have put few printfs in the code. None of them prints on screen. Not even those in main ()