FSKit - Retrieve Process ID?

Does FSKit support the ability to get the process information, such as the pid, when a process accesses a resource?

Being able have the process context is important for implementing certain access patterns and security logging in some contexts.

For instance, we have a system that utilizes (pre-FSKit) a FUSE mount that, depending on the process has different "views" and "access" based on the process id.

Answered by apaxson in 867717022

Did a bit more browsing and found the answer as of June '25: No, process attribution is not supported yet.

I will pop up a enhancement request.

For posterity: The reason why process attribution is a good feature is to help support workflows for isolated filesystems like the spk/spfs project:

https://github.com/spkenv/spk

The Software Platform FileSystem (SPFS) is a tool for isolating, capturing and distributing software runtime environments. In many ways, what it provides is like a lightweight container combined with the functionality of git. SPFS delivers some of the benefits of a container runtime without creating too much isolation from the host environment.

Accepted Answer

Did a bit more browsing and found the answer as of June '25: No, process attribution is not supported yet.

I will pop up a enhancement request.

For posterity: The reason why process attribution is a good feature is to help support workflows for isolated filesystems like the spk/spfs project:

https://github.com/spkenv/spk

The Software Platform FileSystem (SPFS) is a tool for isolating, capturing and distributing software runtime environments. In many ways, what it provides is like a lightweight container combined with the functionality of git. SPFS delivers some of the benefits of a container runtime without creating too much isolation from the host environment.

FSKit - Retrieve Process ID?
 
 
Q