diff options
| author | Pimyn Girgis <bemenboshra2001@gmail.com> | 2024-09-09 09:50:36 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-09-09 13:14:54 +0000 |
| commit | 507ed33fbf576d99310b16d07ffc58cab120f162 (patch) | |
| tree | 905350940b3e80f8a668a11f81a169e88f3d284e /prog | |
| parent | eb78580fab6646a3bf394e62bf0b20444bbf207f (diff) | |
pkg/mgrconfig, prog, sys/linux: add automatic_helper attribute
Add automatic_helper attribute and enable it for system calls that are required to properly run automatically generated
descriptions. Enable these system calls when descriptions_mode = `Auto`.
Diffstat (limited to 'prog')
| -rw-r--r-- | prog/types.go | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/prog/types.go b/prog/types.go index dcf838528..d04b901ac 100644 --- a/prog/types.go +++ b/prog/types.go @@ -37,15 +37,16 @@ type Syscall struct { // // See docs/syscall_descriptions_syntax.md for description of individual attributes. type SyscallAttrs struct { - Disabled bool - Timeout uint64 - ProgTimeout uint64 - IgnoreReturn bool - BreaksReturns bool - NoGenerate bool - NoMinimize bool - RemoteCover bool - Automatic bool + Disabled bool + Timeout uint64 + ProgTimeout uint64 + IgnoreReturn bool + BreaksReturns bool + NoGenerate bool + NoMinimize bool + RemoteCover bool + Automatic bool + AutomaticHelper bool } // MaxArgs is maximum number of syscall arguments. |
