From 507ed33fbf576d99310b16d07ffc58cab120f162 Mon Sep 17 00:00:00 2001 From: Pimyn Girgis Date: Mon, 9 Sep 2024 09:50:36 +0000 Subject: 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`. --- prog/types.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'prog') 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. -- cgit mrf-deployment