# US 2008/0047023 A1 · User space virtualization system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0047023 A1
- Document ID: US20080047023A1
- Status: Published application
- Kind: A1
- Application number: 11/880,938
- Filed: 2007-07-24
- Published: 2008-02-21
- Earliest claimed: 2006-07-24
- Assignees: Aplix
- Inventors: Ioi Lam; Junichi Monma
- Web page: https://patentgrep.com/patent/US20080047023A1

## CPC

- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A user-space virtualization (USV) program to allow legacy applications in embedded systems to share resources without modification without compromising security is provided. A computer-implemented USV program may be characterized by a method in a user-space including retrieving a native code of an application, and identifying an instruction sequence. Further, identifying the instruction sequence includes, first, determining if executing the instruction sequence to perform processing is a possible security risk. If it is a possible security risk, then confirming that there is an execute authority for an active application. Execute authority may be confirmed by a security manager or a processor. If it is confirmed by the security manager that the active application has the execute authority for processing, then executing the instruction sequence with a processor. If the active application has no execute authority for processing, then not executing the instruction sequence. On the other hand, if executing the instruction sequence to perform processing is not a possible security risk, then executing the instruction sequence with the processor.

## Claims

### Claim 1

A computer-implemented method for controlling system resources and system security utilizing a user space virtualization program in a user space, the method comprising:
retrieving a native code of an application;
identifying an instruction sequence from the native code, wherein identifying the instruction sequence includes:
(1): if executing the instruction sequence to perform processing is a possible security risk, confirming there is an execute authority for the application;
(1-1): if the application has the execute authority for processing, executing the instruction sequence with a processor;
(1-2): if the application has no execute authority for processing, not executing the instruction sequence; and
(2): if executing the instruction sequence to perform processing is not a possible security risk, executing the instruction sequence with the processor.

### Claim 2 (depends on 1)

The method of claim 1 further comprising, wherein following (1-2),
(1-3): providing an error indication, if the application has no execute authority for processing.

### Claim 3 (depends on 1)

The method of claim 1, wherein confirming there is an execute authority for the application includes adding a security check instruction to the instruction sequence to generate a safe instruction sequence.

### Claim 4 (depends on 3)

The method of claim 3, wherein the safe instruction sequence is executed in a user space.

### Claim 5 (depends on 3)

The method of claim 3, wherein the safe instruction sequence initiates the confirming the execute authority of the application.

### Claim 6 (depends on 1)

The method of claim 1, wherein the execute authority for the application is confirmed by the security manager.

### Claim 7 (depends on 1)

The method of claim 1, wherein the execute authority for the application is confirmed by the processor.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
detecting an instruction sequence to execute processing, associated with security, from the native code of an application;
generating native code of the instruction sequence that executes processing, associated with security, after confirming that there is the execute authority of the active application from the native code of the detected instruction sequence; and
executing the generated code with the processor.

### Claim 9 (depends on 8)

The method of claim 8, wherein detecting the instruction sequence comprises checking a security configuration file for registration of the instruction sequence.

### Claim 10

A computer-readable medium encoded with instructions for performing a method for utilizing a user space virtualization program in a user space through execution with a computer, the method comprising:
retrieving a native code of an application;
identifying an instruction sequence from the native code, wherein identifying the instruction sequence includes:
(1): if executing the instruction sequence to perform processing is a possible security risk, confirming there is an execute authority for the application;
(1-1): if the application has the execute authority for processing, executing the instruction sequence with a processor;
(1-2): if the application has no execute authority for processing, not executing the instruction sequence; and
(2): if executing the instruction sequence to perform processing is not a possible security risk, executing the instruction sequence with the processor.

### Claim 11 (depends on 10)

The computer-readable medium of claim 10 wherein the method is further comprising, wherein following (1-2),
(1-3): providing an error indication, if the application has no execute authority for processing.

### Claim 12 (depends on 10)

The computer-readable medium of claim 10, wherein confirming there is an execute authority for the application includes adding a security check instruction to the instruction sequence to generate a safe instruction sequence.

### Claim 13 (depends on 12)

The computer-readable medium of claim 12, wherein the safe instruction sequence is executed in a user space.

### Claim 14 (depends on 12)

The computer-readable medium of claim 12, wherein the safe instruction sequence initiates the confirming the execute authority of the application.

### Claim 15 (depends on 10)

The computer-readable medium of claim 10, wherein the execute authority for the application is confirmed by the security manager.

### Claim 16 (depends on 10)

The computer-readable medium of claim 10, wherein the execute authority for the application is confirmed by the processor.

### Claim 17 (depends on 10)

The computer-readable medium of claim 10, wherein the method is further comprising:
detecting an instruction sequence to execute processing, associated with security, from the native code of an application;
generating native code of the instruction sequence that executes processing, associated with security, after confirming that there is the execute authority of the active application from the native code of the detected instruction sequence; and
executing the generated code with the processor.

### Claim 18 (depends on 17)

The computer-readable medium of claim 17, wherein detecting the instruction sequence comprises checking a security configuration file for registration of the instruction sequence.

### Claim 19

An apparatus for controlling system resources and system security utilizing a user space virtualization program in a user space, the apparatus comprising:
a native instruction handler for retrieving a native code of an application and identifying an instruction sequence from the native code associated with security;
a dynamic compiler for determining if executing the instruction sequence to perform processing is a possible security risk;
a security manager for determining if the application has authority for executing instruction sequences; and
a processor for executing the instruction sequence.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the dynamic compiler is further operable for generating a safe instruction sequence that executes the processing.

### Claim 21 (depends on 20)

The apparatus of claim 20, wherein the dynamic compiler is further operable for initiating a confirming of an execute authority of the application with the safe instruction sequence.

### Claim 22 (depends on 19)

The apparatus of claim 19, wherein identifying an instruction sequence associated with security comprises checking a security configuration file for registration of the instruction sequence.
