Re: a question about kernel copy userspace data

2007-03-29 Thread Cong WANG
2007/3/29, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: hello , i am programming a trial firewall based on netfilter ,which needs the module to access the data of user space ,so i use copy_from_user() but it can't work ,the code(simple test code) is like this: ---user space program- #include #

a question about kernel copy userspace data

2007-03-28 Thread
hello , i am programming a trial firewall based on netfilter ,which needs the module to access the data of user space ,so i use copy_from_user() but it can't work ,the code(simple test code) is like this: ---user space program- #include #include int main(int argc ,char *argv[]) { char pa