[PATCH 5/5] server: Check duplicated handle access against the calling thread token and target process token.