[LTP] [PATCH v6 0/3] Automatically generate syscalls.h
    Petr Vorel 
    pvorel@suse.cz
       
    Thu Oct 31 10:56:09 CET 2024
    
    
  
Hi Andrea,
> The problem we have at the moment is that all syscalls input files must
> be changed by hand each time we need to test a new syscall. The idea is
> to simplify this process, providing a script that is able to read from
> kernel sources and to generate all syscalls files we need.
> This patch set adds a new command inside the syscalls folder and
> it refactors the previous regen.sh code.
> The new way we have to generate the syscalls.h file is the following:
> 	include/lapi/syscalls/generate_arch.sh 		path/to/kernel/source
> 	include/lapi/syscalls/generate_syscalls.sh 	path/to/syscalls.h
> Scripts are independent and they can be run separately.
> generate_syscalls.sh is the equivalent of regen.sh, but its code has
> been cleaned up.
it would be nice to have this documented (as a separate effort, not blocking
to merge this). Specially the new generate_arch.sh, which is not part of
./configure run.
Kind regards,
Petr
    
    
More information about the ltp
mailing list