发明名称 Method and system for implementing a multilevel file system in a virtualized environment
摘要 A global zone executing on a host OS that includes a multilevel filesystem (MLFS) associated with a label range, where the MLFS includes files and directories, where each of the files is associated with its own label and where each of the directories is associated with its own label. The global zone further includes a first non-global zone, where the MLFS is mounted in the first non-global zone as a first loopback file system. The host OS is configured to receive, from a process executing on the host OS, a request to access a first file in the MLFS, make a first determination that a process label dominates a first file label, based on the first determination, make a second determination that the first file label is equal to the process label, and in response to the second determination, provide read and write access to the first file.
申请公布号 US9547656(B2) 申请公布日期 2017.01.17
申请号 US201213570825 申请日期 2012.08.09
申请人 Oracle International Corporation 发明人 Aleshire Richard E.;Faden Glenn T.
分类号 G06F7/00;G06F17/30;G06F21/62 主分类号 G06F7/00
代理机构 Osha Liang LLP 代理人 Osha Liang LLP
主权项 1. A system, comprising: a processor; a host operating system (OS) configured to execute on the processor, wherein the host OS comprises: a global zone comprising: a multilevel filesystem (MLFS) mounted in the global zone and comprising a directory and a first file located within the directory,wherein the directory is associated with a directory label, andwherein the first file is associated with a first file label that is different than the directory label;a first non-global zone, external to the MLFS, comprising a first loopback file system acting as a proxy to the MLFS; anda second non-global zone, external to the MLFS, comprising a second loopback file system acting as a proxy to the MLFS, wherein the host OS is configured to: receive, from a process executing on the host OS, a request to access the first file of a plurality of files in the MLFS,obtain a process label associated with the process,obtain the first file label associated with the first file,make a first determination that the process label dominates the first file label,based on the first determination, make a second determination that the first file label is equal to the process label,in response to the second determination, provide read and write access to the first file,receive, from the process executing on the host OS, a request to access a second file of the plurality of files in the MLFS,obtain a second file label associated with the second file,make a third determination that the process label dominates the second file label,based on the third determination, make a fourth determination that the second file label does not equal the process label, andin response to the fourth determination provide read only access to the second file.
地址 Redwood Shores CA US