From 04322c00f08529fc51097db5e4abca3d21fe0dbc Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 15 Apr 2025 12:36:03 +0200 Subject: pkg/declextract: add a TODO --- pkg/declextract/typing.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pkg/declextract') diff --git a/pkg/declextract/typing.go b/pkg/declextract/typing.go index 31ee31d5d..f5fcdbdd3 100644 --- a/pkg/declextract/typing.go +++ b/pkg/declextract/typing.go @@ -54,6 +54,10 @@ import ( // in LOC/complexity/coverage analysis (effectively called). We won't see this function // to be called via a function pointer later, or it may be passed to a very common function // that we won't analyze (e.g. single_open(..., show_callback, ...)). +// - Extract file permissions during ifaceprobe and use that to assign interface accessibility +// for file interfaces, e.g. for: +// crw------- 1 root root 10, 239 Apr 8 20:36 uhid +// we can say that it's root-only. var ( // Refines types based on data flows... -- cgit mrf-deployment