System and method for guest operating system using containers

US11042398B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11042398-B2
Application numberUS-201916504075-A
CountryUS
Kind codeB2
Filing dateJul 5, 2019
Priority dateJul 9, 2018
Publication dateJun 22, 2021
Grant dateJun 22, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for operating an electronic device, the method including spawning a name space tool (NST) as part of a boot process of a host OS, wherein the NST is a process with a plurality of root privileges of the host OS. The method further includes spawning, by the NST, a container for a guest OS, wherein the container for the guest OS is mapped to a dedicated domain in the host OS, and dropping, by the NST, a root privilege of the host OS in response to spawning the container for the guest OS.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for operating an electronic device, the method comprising: spawning a name space tool (NST) as part of a boot process of a host OS, wherein the NST is a process with a plurality of root privileges of the host OS; spawning, by the NST, a container for a guest OS, wherein the container for the guest OS is mapped to a dedicated domain in the host OS; and dropping, by the NST, a root privilege of the host OS in response to spawning the container for the guest OS. 2. The method of claim 1 , further comprising: executing a process written for the guest OS natively within the container for the guest OS, wherein the process is mapped to the dedicated domain in the host OS. 3. The method of claim 1 , further comprising: restricting a view of processes running in the container for the guest OS from the host OS. 4. The method of claim 3 , wherein the view of processes running in the container for the guest OS is restricted using one or more of mount namespace, pivot_root, or unshare. 5. The method of claim 1 , further comprising modifying a kernel to mask information regarding a host OS process to processes in the container for the guest OS. 6. The method of claim 1 , further comprising: connecting a management application running on the host OS with a daemon in the container for the guest OS to establish a secure command and control channel. 7. The method of claim 6 , further comprising: sending, from the management application running on the host OS to the daemon, at least one of a stop command, a start command, or a resume command; detecting, by a host OS process, a resource availability event; and responsive to detecting the resource availability event, sending by the management application, and instruction associated with a group of processes executing in the container for the guest OS, wherein the instruction is at least one of a pause command or a resume command. 8. The method of claim 6 , further comprising: generating a private/public key pair for the secure command and control channel; sending, by the management application, a public key of the private/public key pair and a set of initial set up commands to the daemon in the container for the guest OS; and saving the public key, by the daemon in the container for the guest OS. 9. The method of claim 8 , further comprising: transmitting, by the management application, a command to the daemon in the container for the guest OS, wherein the command is wrapped with a private key of the private/public key pair. 10. The method of claim 1 , further comprising: running an instance of a target application in an environment of the host OS; and running a debugging client associated with the target application in the container for the container for the guest OS, wherein an activity plugin in a framework of the host OS controls an activity status of the target application to prevent the target application from freezing the debugging client. 11. An apparatus, comprising: a processor; and a memory comprising a host OS, the memory contains instructions, which, when executed by the processor, cause the apparatus to: spawn a name space tool (NST) as part of a boot process of the host OS, wherein the NST is a process with a plurality of root privileges of the host OS, spawn, by the NST, a container for a guest OS, wherein the container for the guest OS is mapped to a dedicated domain in the host OS, and spawn, by the NST, a root privilege of the host OS in response to spawning the container for the guest OS. 12. The apparatus of claim 11 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to: execute a process written for the guest OS natively within the container for the guest OS, wherein the process is mapped to the dedicated domain in the host OS. 13. The apparatus of claim 11 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to restrict a view of processes running in the container for the guest OS from the host OS. 14. The apparatus of claim 13 , wherein the view of processes running in the container for the guest OS is restricted using one or more of mount namespace, pivot_root, or unshare. 15. The apparatus of claim 11 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to modify a kernel to mask information regarding a host OS process to processes in the container for the guest OS. 16. The apparatus of claim 11 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to connect a management application running on the host OS with a daemon in the container for the guest OS to establish a secure command and control channel. 17. The apparatus of claim 16 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to: send, from the management application running on the host OS to the daemon, at least one of a stop command, a start command, or a resume command, detect, by a host OS process, a resource availability event, and responsive to detecting the resource availability event, send by the management application, and instruction associated with a group of processes executing in the container for the guest OS, wherein the instruction is at least one of a pause command or a resume command. 18. The apparatus of claim 16 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to: generate a private/public key pair for the secure command and control channel, send, by the management application, a public key of the private/public key pair and a set of initial set up commands to the daemon in the container for the guest OS, and save the public key, by the daemon in the container for the guest OS. 19. The apparatus of claim 18 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to: transmitting, by the management application, a command to the daemon in the container for the guest OS, wherein the command is wrapped with a private key of the private/public key pair. 20. The apparatus of claim 11 , wherein the memory further contains instructions, which, when executed by the processor, cause the apparatus to: run an instance of a target application in an environment of the host OS, and run a debugging client associated with the target application in the container for the container for the guest OS, wherein an activity plugin in a framework of the host OS controls an activity status of the target application to prevent the target application from freezing the debugging client. 21. A non-transitory, computer readable medium, comprising program code, which, when executed by a processor, causes an apparatus to: spawn a name space tool (NST) as part of a boot process of a host OS, wherein the NST is a process with a plurality of root privileges of the host OS, spawn, by the NST, a container for a guest OS, wherein the container for the guest OS is mapped to a dedicated domain in the host OS, and spawn, by the NST, a root privilege of the host OS in response to spawning the container for the guest OS. 22. The non-transitory, computer-readable medium of claim 21 , further comprising instructions, which, when executed by the processor, cause the apparatus to: execute a p

Assignees

Inventors

Classifications

  • Hypervisor-specific management and integration aspects · CPC title

  • Creating, deleting, cloning virtual machine instances · CPC title

  • Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence) · CPC title

  • Memory management, e.g. access or allocation · CPC title

  • Plug-ins; Add-ons · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11042398B2 cover?
A method for operating an electronic device, the method including spawning a name space tool (NST) as part of a boot process of a host OS, wherein the NST is a process with a plurality of root privileges of the host OS. The method further includes spawning, by the NST, a container for a guest OS, wherein the container for the guest OS is mapped to a dedicated domain in the host OS, and dropping…
Who is the assignee on this patent?
Samsung Electronics Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/45558. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 22 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).