IP Library Granted Patent US 11,586,589
Granted Patent B2
US 11,586,589 · App. 17/038,562 · Granted Feb 21, 2023

Speedup build container data access via system call filtering

Inventors: Giuseppe Scrivano (Milan, IT); Daniel Walsh (Westford, MA)
Assignee: Red Hat, Inc.
G06F16/178G06F9/54
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,586,589
App. No.
17/038,562
Granted
Feb 21, 2023
Kind
B2
Abstract

A method includes receiving a system call from an application within a container executing on an operating system, the system call comprising a synchronization operation to synchronize memory of the application to storage. The method further includes determining, by the kernel, whether a system call filtering policy associated with the container indicates that the system call is to be prevented. preventing, by the kernel, performance of the synchronization operation in view of the system call filtering policy.

Claims (46)

1. A method comprising:

receiving a system call from an application within a container executing on an operating system, the system call comprising a synchronization operation to synchronize memory of the application to storage;

determining, by processing device executing an operating system kernel, whether a system call filtering policy associated with the container indicates that the system call is to be prevented; and

preventing, by the processing device executing the kernel, performance of the synchronization operation in view of the system call filtering policy, wherein the system call filtering policy comprises a secure computing mode policy to prevent performance of system calls received from the container that are associated with synchronizing data in memory to storage.

2. The method of claim 1 , further comprising:

providing a response to the application indicating that the system call has been performed.

3. The method of claim 2 , wherein the response provided to the application indicating that the system call has been performed comprises an indication that the synchronization operation has been successfully performed.

4. The method of claim 1 , wherein determining whether the system call filtering policy indicates that the system call is to be prevented comprises:

identifying the system call filtering policy associated with the container;

determining at least one system call to be filtered by the system call filtering policy; and

determining whether the at least one system call to be filtered includes the system call received from the application.

5. The method of claim 1 , wherein the system call filtering policy associated with the container prevents performance of synchronization operations received from the container during a build of the container.

6. The method of claim 5 , further comprising:

determining that the build of the container has completed; and

synchronizing the completed build of the container to storage.

7. A system comprising:

a memory; and

a processing device operatively coupled to the memory, the processing device to:

receive, at a kernel of an operating system executing on the processing device, a system call from an application within a container executing on the operating system, the system call comprising a synchronization operation to synchronize memory of the application to storage;

determining, by the kernel, whether a system call filtering policy associated with the container indicates that the system call is to be prevented; and

preventing performance of the synchronization operation in view of the system call filtering policy, wherein the system call filtering policy comprises a secure computing mode policy to prevent performance of system calls received from the container that are associated with synchronizing data in memory to storage.

8. The system of claim 7 , wherein the processing device is further to:

provide a response to the application indicating that the system call has been performed.

9. The system of claim 8 , wherein the response provided to the application indicating that the system call has been performed comprises an indication that the synchronization operation has been successfully performed.

10. The system of claim 7 , wherein to determine whether the system call filtering policy indicates that the system call is to be prevented, the processing device is to:

identify the system call filtering policy associated with the container;

determine at least one system call to be filtered by the system call filtering policy; and

determine whether the at least one system call to be filtered includes the system call received from the application.

11. The system of claim 7 , wherein the system call filtering policy associated with the container prevents performance of synchronization operations received from the container during a build of the container.

12. The system of claim 11 , wherein the processing device is further to:

determine that the build of the container has completed; and

synchronize the completed build of the container to storage.

13. A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:

receive a system call from an application within a container executing on an operating system, the system call comprising a synchronization operation to synchronize memory of the application to storage;

determining, by the processing device executing an operating system kernel, whether a system call filtering policy associated with the container indicates that the system call is to be prevented; and

preventing, by the processing device, performance of the synchronization operation in view of the system call filtering policy, wherein the system call filtering policy comprises a secure computing mode policy to prevent performance of system calls received from the container that are associated with synchronizing data in memory to storage.

14. The non-transitory computer-readable storage medium of claim 13 , wherein the processing device is further to:

provide a response to the application indicating that the system call has been performed.

15. The non-transitory computer-readable storage medium of claim 13 , wherein to determine whether the system call filtering policy indicates that the system call is to be prevented, the processing device is to:

identify the system call filtering policy associated with the container;

determine at least one system call to be filtered by the system call filtering policy; and

determine whether the at least one system call to be filtered includes the system call received from the application.

16. The non-transitory computer-readable storage medium of claim 13 , wherein the system call filtering policy associated with the container prevents performance of synchronization operations received from the container during a build of the container.

17. The non-transitory computer-readable storage medium of claim 16 , wherein the processing device is further to:

determine that the build of the container has completed; and

synchronize the completed build of the container to storage.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 30, 2020
From: SCRIVANO, GIUSEPPE; WALSH, DANIEL
To: RED HAT, INC.
Reel/Frame 053933/0220 →
Continuity (2)
Provisional Application 63051285 · Jul 13, 2020
Related Publication 20220012210A1 · Jan 13, 2022
Cited By (1)
US 12,591,661