5 ms·
But here's a question - supposing that this functionality was moved into a hypothetical library "pe.dll"/"pe.exe", how would the kernel load this library or exe
by Varriount 7y ago
But here's a question - supposing that this functionality was moved into a hypothetical library "pe.dll"/"pe.exe", how would the kernel load this library or executable?
Wouldn't one run into a catch-22 situation?
- scintill76 7y agoI think they're saying that userland should handle whatever the mouseover is trying to do (another comment says it displays author and version info embedded in the exe). Things that actually require kernel privileges would remain in the kernel.
- paulddraper 7y agoThe kernel would probably statically link it.
- saagarjha 7y ago…wouldn’t that have the effect of bringing this code back into the kernel’s address space?
- paulddraper 7y agoThe code itself would be in the kernel, but the "parsing while mousing over" invocation would be on userspace code. That is, the parse logic could be a library linked by multiple application.
- Pick-A-Hill2019 7y agowouldn't you load/call it during boot or when the mouse driver loads? If you have a mouse, you are almost certainly going to generate an on-mouse-over event at some point. The advantage is that it isn't running in ring 0.