[LTP] [PATCH v5 2/3] Add script to generate arch(s) dependant syscalls
Andrea Cervesato
andrea.cervesato@suse.com
Wed Oct 30 16:24:19 CET 2024
Hi,
On 10/30/24 16:15, Petr Vorel wrote
> ...
>> --- /dev/null
>> +++ b/include/lapi/syscalls/generate_arch.sh
>> @@ -0,0 +1,211 @@
>> +#!/bin/sh
>> +# SPDX-License-Identifier: GPL-2.0-or-later
>> +#
>> +# This is an adaptation of the update-tables.sh script, included in the
>> +# syscalls-table project (https://github.com/hrw/syscalls-table) and released
>> +# under the MIT license.
> I was surprised you use shell instead of python, but I see the original author
> also use shell [1]. I wish he would have used python for this part, but good
> that you reuse what was available.
One of the option was to use the syscalls-table project in order to
generate tables, but we needed something out of the box, without complex
scenarios using `pip`, which might be a bit unfamiliar for some people.
Andrea
More information about the ltp
mailing list