×

Method and system for implementing a multilevel file system in a virtualized environment

  • US 9,547,656 B2
  • Filed: 08/09/2012
  • Issued: 01/17/2017
  • Est. Priority Date: 08/09/2012
  • Status: Active Grant
First Claim
Patent Images

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; and

    a 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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×