×

Restricting access to memory in a multithreaded environment

  • US 20040098721A1
  • Filed: 10/30/2003
  • Published: 05/20/2004
  • Est. Priority Date: 11/13/1998
  • Status: Active Grant
First Claim
Patent Images

1. A method in a computer system of restricting access to memory, the method comprising:

  • setting a memory location to indicate a trap should occur when the memory location is accessed;

    under control of a restricted portion of a computer program, setting a pointer to point to the memory location that indicates that traps to the pointed to memory location are enabled; and

    accessing the memory location using the set pointer so that a trap occurs and access to the restricted memory location is detected; and

    under control of an unrestricted portion of a computer program, setting a pointer to point to the memory location that indicates that traps to the pointed to memory location are disabled; and

    accessing the memory location using the set pointer so that a trap does not occur and access to the restricted memory location is allowed.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×