karna...@yahoo.com
unread,Dec 14, 2011, 1:32:09 AM12/14/11You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi ,
i want to pass a structure say struct foo{ long a; } to system call in
linux .ive created a header file other.h in include/linux/ and the
system call recieves it's ref as
asmlinkage int myservice(struct * f, int size);
i want any change f->a to be available in user space program.
i have added access_ok and copy_from_user(local,f,size) ,
copy_to_user(f,local,size) functions but the problem is that my user
space program cannot find other.h directory.
please help.. it's been 3 days im stuck on this issue .
Thanks