Without making .ko, I know that it is possible to run user process in kernel mode. But I don't know how to make.
I will put the question otherway, is it possible to set the supervisor bit in user process?
Because as we know when sys call is triggered it will generate int80 which puts exec mode to kernel and while returning back from sys-call post wrapper disables it back to user mode. Instead is it possible that in post call we still maintain the mode of supervisor?
Without making .ko, I know
Without making .ko, I know that it is possible to run user process in kernel mode. But I don't know how to make.
I will put the question otherway, is it possible to set the supervisor bit in user process?
Because as we know when sys call is triggered it will generate int80 which puts exec mode to kernel and while returning back from sys-call post wrapper disables it back to user mode. Instead is it possible that in post call we still maintain the mode of supervisor?