Patent ID: 11941104
Assignee: RED HAT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. A non-transitory machine-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
receive, by a processing device, an chdir function invocation request from an application, wherein the application is executed in a user space;
in response to receiving the chdir function invocation request, determine a shared working directory from a parameter of the chdir function invocation request, wherein the shared working directory is shared by the application and a parent process of the application;
identify, in a kernel space, an extended attribute value associated with the shared working directory, wherein the extended attribute value comprises a first session identifier identifying a session comprising one or more processes; and
determine, by comparing the first session identifier to a second session identifier associated with the application, whether the application has permission to use the shared working directory as a working directory.