CAP_PERFMON — and new capabilities in general
CAP_PERFMON — and new capabilities in general
Posted Feb 21, 2020 19:17 UTC (Fri) by smurf (subscriber, #17840)In reply to: CAP_PERFMON — and new capabilities in general by NYKevin
Parent article: CAP_PERFMON — and new capabilities in general
The idea is that the program that's been granted the privilege needs only be careful when using that exact privilege.
As an example, a program that has "mount any filesystem" privileges needs only be careful when actually mounting a file system, but not when opening the file that's backing the data for the file system (just as a random example). Similarly, the system profiler might be allowed to profile the system, but not to overwrite /etc/shadow with the resulting data.
Posted Feb 21, 2020 19:54 UTC (Fri)
by smcv (subscriber, #53363)
[Link] (1 responses)
... and when defending itself against being subverted by processes that don't have the privilege, including its parent process.
Posted Mar 12, 2020 16:29 UTC (Thu)
by immibis (subscriber, #105511)
[Link]
CAP_PERFMON — and new capabilities in general
CAP_PERFMON — and new capabilities in general