Using virtual hierarchies to build alternative namespaces
First Claim
Patent Images
1. A system for restricting access to resources comprising:
- a computing device storing instructions that when executed cause;
an operating system module to instantiate a system environment, the system environment associated with a global physical hierarchy comprising a plurality of nodes representing resources and an isolated environment within the system environment associated with a view of the global physical hierarchy,the view constraining access of an entity executing in the isolated environment to a subset of the resources and forms a virtual file system hierarchy that is different from a hierarchy in the global physical hierarchy and contains at least one node in addition to the nodes in the global hierarchy,the virtual file system hierarchy comprising a first virtual node with a link to a first physical node in the global physical hierarchy, and a second virtual node with a link to a second physical node in the global physical hierarchy, a relative arrangement of the first and second virtual nodes within the virtual file system hierarchy differing as compared to a relative arrangement of the first and second physical nodes within the global physical hierarchy,the operating system module adapted to generating the view by creation of the virtual file system hierarchy in volatile storage only, the virtual file system hierarchy not persisted to non-volatile storage and wherein the entity'"'"'s sole access to the subset of the resources is via the virtual file system hierarchy,the operating system module adapted to receiving a first request to access a first node in the virtual file system hierarchy, and, in response to determining that the first node is not a leaf node, responding to the first request by returning a file handle that references the first node,the operating system module adapted to receiving a second request to access a second node in the virtual file system hierarchy, in response to determining that the second node is a leaf node, determining a name used to reference a node in the physical directory; and
responding to the second request by returning a file handle that references the name used to reference the node in the physical directory.
3 Assignments
0 Petitions
Accused Products
Abstract
A containment mechanism provides for the grouping and isolation of multiple processes running on a single computer using a single instance of the operating system. A system is divided into one or more side-by-side and/or nested isolated environments enabling the partitioning and controlled sharing of resources by creating different views of hierarchical name spaces via virtual hierarchies.
43 Citations
20 Claims
-
1. A system for restricting access to resources comprising:
-
a computing device storing instructions that when executed cause; an operating system module to instantiate a system environment, the system environment associated with a global physical hierarchy comprising a plurality of nodes representing resources and an isolated environment within the system environment associated with a view of the global physical hierarchy, the view constraining access of an entity executing in the isolated environment to a subset of the resources and forms a virtual file system hierarchy that is different from a hierarchy in the global physical hierarchy and contains at least one node in addition to the nodes in the global hierarchy, the virtual file system hierarchy comprising a first virtual node with a link to a first physical node in the global physical hierarchy, and a second virtual node with a link to a second physical node in the global physical hierarchy, a relative arrangement of the first and second virtual nodes within the virtual file system hierarchy differing as compared to a relative arrangement of the first and second physical nodes within the global physical hierarchy, the operating system module adapted to generating the view by creation of the virtual file system hierarchy in volatile storage only, the virtual file system hierarchy not persisted to non-volatile storage and wherein the entity'"'"'s sole access to the subset of the resources is via the virtual file system hierarchy, the operating system module adapted to receiving a first request to access a first node in the virtual file system hierarchy, and, in response to determining that the first node is not a leaf node, responding to the first request by returning a file handle that references the first node, the operating system module adapted to receiving a second request to access a second node in the virtual file system hierarchy, in response to determining that the second node is a leaf node, determining a name used to reference a node in the physical directory; and
responding to the second request by returning a file handle that references the name used to reference the node in the physical directory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of providing a view of a global name space to an entity executing in an isolated environment comprising:
-
generating the isolated environment within a system environment via an operating system image, the operating system image serving the isolated environment and the system environment, the system environment associated with a global physical hierarchy on non-volatile storage and the isolated environment associated with a view of the global physical hierarchy; generating the view by creating a virtual file system hierarchy that is different from a file system hierarchy in the global physical hierarchy and contains at least one node in addition to the nodes in the global file system hierarchy, and that provides the entity access to only a subset of the global physical file system hierarchy, the virtual file system hierarchy stored only in volatile storage; receiving a first request to access a first node in the virtual file system hierarchy; in response to determining that the first node is not a leaf node, responding to the first request by returning a file handle that references the first node; receiving a second request to access a second node in the virtual file system hierarchy; in response to determining that the second node is a leaf node, determining a name used to reference a node in the physical directory; and responding to the second request by returning a file handle that references the name used to reference the node in the physical directory. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer-readable storage device comprising computer-executable instructions for:
-
restricting a set of resources available to a process, group of processes, application or group of applications running in a silo by creating a virtual file system hierarchy accessed by the process, the group of processes, the application or the group of applications, the virtual file system hierarchy comprising a first and a second virtual node, the first virtual node comprising a link to a first physical node of a physical file system hierarchy, the second virtual node comprising a link to a second physical node of the physical file system hierarchy, the virtual file system hierarchy containing at least one node in addition to the nodes in the global hierarchy, a relative arrangement of the first and second virtual nodes within the virtual file system hierarchy differing as compared to a relative arrangement of the first and second physical nodes within the global physical file system hierarchy, the virtual file system hierarchy providing sole access to a node in the physical file system hierarchy via a link from a node in the virtual file system hierarchy to the node in the physical file system hierarchy; receiving a first request to access a first node in the virtual file system hierarchy; in response to determining that the first node is not a leaf node, responding to the first request by returning a file handle that references the first node; receiving a second request to access a second node in the virtual file system hierarchy; in response to determining that the second node is a leaf node, determining a name used to reference a node in the physical directory; and responding to the second request by returning a file handle that references the name used to reference the node in the physical directory. - View Dependent Claims (18, 19, 20)
-
Specification