[PATCH] Linux: Fix enum fsconfig_command detection in <sys/mount.h>

Andreas Schwab schwab@suse.de
Tue Aug 16 09:44:34 GMT 2022


On Aug 16 2022, Florian Weimer via Libc-alpha wrote:

> The #ifdef FSOPEN_CLOEXEC check did not work because the macro
> was defined prior to its use.

This is confusing, since generally we want macros to be defined before
their use.  What's important here is that the use is about checking for
absence of the macro in the kernel header.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Libc-alpha mailing list