而在write_proc 函數中實現將資料從user space 輸入到kernel space 的方法就是copy_from_user 函數。 在make 完這支程式並insmod 到kernel 之後,/proc/hello 就被 ...
確定! 回上一頁