查看完整版本: read file in kernel thread
頁: [1]

stephenwei_lu 發表於 2019-6-5 03:11 PM

read file in kernel thread

如題
做了一個kernel module

在kernel 裡面寫了一個kernel thread
嘗試在thread裡面使用 vfs_read讀取檔案
但是失敗

有人可以給些建議嗎?




補充內容 (2019-6-7 01:06 PM):
在kernel init的時候做這些行為是沒有問題的<div></div>

advantise 發表於 2019-8-25 12:49 AM

沒有程式, 我想應該沒人可以幫你吧

z1090128 發表於 2019-8-25 09:13 PM

你是在LINUX寫的嗎?還是在WINDOWS呢?

stephenwei_lu 發表於 2019-9-5 04:03 PM

我不知道windows 開放kernel了. 最近開放的那個嗎?
恩, Linux, 不過這個問題我解了
頁: [1]