I'm sort of learning the edges of SELinux and I'm wondering if it's possible to prevent a specific user from accessing /tmp.
Clearly it's a bad idea to dork all permissions, so I'm hoping that SELinux can maybe target or restrict a little more precisely than just banning all users.
Additional Information
There is a process that has it's own internal temp space, but under "other" circumstances will try to write to /tmp. I'd rather the process explode and die horribly than actually dump to /tmp since it causes all manner of other problems. -- yeah, clear as mud, right?
For clarification, the data written isn't confidential, but also has no place on the server. If it were possible I'd just dump it to /dev/null but that seems less than reasonable.
References
http://hg.openjdk.java.net/jdk7/jdk7/hotspot/file/97b64f73103b/src/os/linux/vm/os_linux.cpp (about line 1624) (source inspiration https://stackoverflow.com/questions/1924136/environment-variable-to-control-java-io-tmpdir)