tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Proposed change to makesyscalls.sh



On Sun, Aug 05, 2018 at 09:09:54PM +0800, Paul Goyette wrote:
> We could change syscall_establish() to install for both sys_nomodule or
> sys_nosys entry points.  But then we'd need to remember which value to
> restore when syscall_disestablish() is called.

Change the API and make syscall_establish() return the previous handler
as a token, and pass that to syscall_disestablish() ?

Then maybe we should check the validity of the token in 
syscall_disestablish(), but we are deep in "shoot your own foot"
teritory here.

Martin


Home | Main Index | Thread Index | Old Index