Smack label differentiating filesystem for /tmp
Brought to you by:
cschaufler
I would like a version of ramfs, lets call it skramfs for now, with a root directory that has special properties. These properties closely resemble those of the once proposed but since removed smackfs symlinks. Any access to the root of the filesystem will automatically be redirected into a subdirectory named for and labeled with the label of the process. If that subdirectory does not exist, it is created with the same owner and mode as the root directory.
Alternatives to this specific design would include a file system on which all directories exhibit this behavior or one on which all objects, including files, do so.