A program storage device readable by a machine, tangibly embodying a program of instructions executable by the machine to perform method steps for scoping operating system semantics in the machine, a process comprising at least one enclave executing in the machine, said method steps comprising:
- (1) determining whether an operating system semantic is explicitly directed to the process;
- (2) scoping said operating system semantic to the process if said operating system semantic is explicitly directed to the process;
- (3) determining whether said operating system semantic is implicitly directed to the process;
- and
- (4) scoping said operating system semantic to an enclave of the process in which said operating system semantic occurs if said operating system semantic is implicitly directed to the process.