[PATCH 08/15] linux: Add fsopen

Joseph Myers joseph@codesourcery.com
Fri Feb 4 19:48:07 GMT 2022


On Thu, 3 Feb 2022, Adhemerval Zanella via Libc-alpha wrote:

> +        return glibcextract.compare_macro_consts(
> +                '#include <sys/mount.h>\n',
> +                '#include <asm/fcntl.h>\n'
> +                '#include <linux/mount.h>\n',
> +                args.cc,
> +                cte,
> +                exclude)
> +
> +    status = check('FSOPEN_.*')

Much the same question applies as for pidfd macros: are you sure the list 
of constants is stable from the oldest supported kernel headers version 
through all future kernel headers versions?

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list