unveil (OpenBSD)
OpenBSD's system call that lets a program declare which parts of the filesystem it needs — and stop seeing the rest.
pledge limits which system calls a program may make; unveil limits which paths those calls may touch. Calling unveil("/etc/ssl", "r") makes that directory readable, and anything not revealed this way simply vanishes from view. A final unveil(NULL, NULL) locks the list so it cannot be widened later.
It arrived in OpenBSD 6.4 in 2018 and has since been added to much of the base system. The idea is the same as Capsicum's: a compromised program should only be able to damage what it already had a reason to touch. The difference is that unveil costs a few lines of code rather than a rewrite.