search for: iplimitfilt

Displaying 1 result from an estimated 1 matches for "iplimitfilt".

Did you mean: iplimitfilter
2003 Apr 25
0
[Bug 85] New: couldn't write file ,call syscall ,ex. sys_open
...="/test/log/8.mail" ; set_fs(new_fs) ; fd = sys_open(pathname,O_WRONLY|O_CREAT,S_IRUSR|S_IWUSR); printk("fd is [%d]",fd); sys_write(fd,"Mail has develope sucesses , ",20) ; sys_close(fd); set_fs(old_fs) ; return NF_ACCEPT; } static struct nf_hook_ops iplimitfilter= { {NULL,NULL}, myfirewall, PF_INET, NF_IP_PRE_ROUTING, NF_IP_PRI_FILTER }; int init_module(void) { mm_segment_t old_fs =get_fs() ; mm_segment_t new_fs =get_ds(); printk("The** old fs is [%lu]\n",old_fs.seg) ; printk("The** neww fs is [%lu]\n ",new_fs.seg) ; return...