filp = filp_open(filename, O_RDWR|O_APPEND, 0644); if(IS_ERR(filp)) { printk("open error...\n"); return; } fs=get_fs(); set_fs(KERNEL_DS);
確定! 回上一頁