aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/declextract
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2025-04-15 12:36:03 +0200
committerDmitry Vyukov <dvyukov@google.com>2025-04-15 11:46:04 +0000
commit04322c00f08529fc51097db5e4abca3d21fe0dbc (patch)
tree79b35ee7638080db2dbc3f92b543507ab48504ba /pkg/declextract
parentb7285264646c21702afa7317ed90a0d6c06814f8 (diff)
pkg/declextract: add a TODO
Diffstat (limited to 'pkg/declextract')
-rw-r--r--pkg/declextract/typing.go4
1 files changed, 4 insertions, 0 deletions
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...