On Wed Jan 31 18:11:15 2024 +0000, Jinoh Kang wrote:
I'm actually thinking of adding some special flag that says "this object should never be visible to the application." Sort of like `OBJ_KERNEL_HANDLE` but for objects themselves. This allows us to reuse the existing Ob facility while not risking breaking invariants expected on them. I'm not sure if it's worth introducing *right now*, though.
Or rather, are you saying that KUSD's broken state doesn't matter because it's closed before the application starts, but that isn't the case for desktop shared mapping? Like, another thread/proces suspending the desktop-accessing thread at the right moment and extracting the shared mapping handle remotely.