diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-04-14 08:03:23 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2025-04-15 08:30:57 +0000 |
| commit | 23b969b777238d45d0e061f25dd93fbfaf5ee7bc (patch) | |
| tree | 8bc985eaf418e464e515ad034e560c1ab7ef4976 /tools | |
| parent | 002170fbae88011602918a0d73675bfdb6fe4200 (diff) | |
pkg/declextract: add open fileops callback to interface list
Add open callback if there are no other unique callbacks.
This happens for e.g. seq files which only have unique open,
while read is a common seq_read callback.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-declextract/testdata/file_operations.c.info | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/syz-declextract/testdata/file_operations.c.info b/tools/syz-declextract/testdata/file_operations.c.info index d0adb11d8..809bf7338 100644 --- a/tools/syz-declextract/testdata/file_operations.c.info +++ b/tools/syz-declextract/testdata/file_operations.c.info @@ -1,7 +1,6 @@ FILEOP foo_mmap func:foo_mmap loc:0 coverage:0 access:unknown manual_desc:unknown auto_desc:true file:file_operations.c subsystem:kernel FILEOP foo_read func:foo_read loc:0 coverage:0 access:unknown manual_desc:unknown auto_desc:true file:file_operations.c subsystem:kernel FILEOP foo_write func:foo_write loc:0 coverage:0 access:unknown manual_desc:unknown auto_desc:true file:file_operations.c subsystem:kernel -FILEOP proc_open func:proc_open loc:0 coverage:0 access:unknown manual_desc:unknown auto_desc:false file:file_operations.c subsystem:kernel FILEOP proc_read func:proc_read loc:0 coverage:0 access:unknown manual_desc:unknown auto_desc:false file:file_operations.c subsystem:kernel FILEOP proc_write func:proc_write loc:0 coverage:0 access:unknown manual_desc:unknown auto_desc:false file:file_operations.c subsystem:kernel IOCTL FOO_IOCTL1 func:foo_ioctl loc:13 coverage:0 access:unknown manual_desc:false auto_desc:true file:file_operations.c subsystem:kernel |
