diff --git a/src/scheme/proc.rs b/src/scheme/proc.rs index dd9adbb528..fb76068cdb 100644 --- a/src/scheme/proc.rs +++ b/src/scheme/proc.rs @@ -1247,7 +1247,8 @@ impl KernelScheme for ProcScheme { _ => return Err(Error::new(EINVAL)), }; - handle(Handle { context, kind }, true) + let positioned = !matches!(kind, ContextHandle::AddrSpace { .. }); + handle(Handle { context, kind }, positioned) } _ => return Err(Error::new(EINVAL)), },