Access user space data without sleeping
Access user space data without sleeping
Posted Oct 30, 2020 15:27 UTC (Fri) by walters (subscriber, #7396)In reply to: Access user space data without sleeping by compudj
Parent article: Relief for insomniac tracepoints
https://lwn.net/Articles/813261/
Also doing things like looking at file paths should be known to be fairly flawed in general even if it weren't racy just *loading* the path - bind mounts etc. can obscure what you're seeing. The SELinux model of e.g. having `etc_t` for /etc avoids all races and problems with comparing file paths.
Posted Oct 30, 2020 16:10 UTC (Fri)
by compudj (subscriber, #43335)
[Link]
I did not have the eBPF vs KRSI use-cases in mind when writing that comment.
Access user space data without sleeping