sys/mount.h vs fcntl.h

Florian Weimer fw@deneb.enyo.de
Tue Feb 3 21:54:26 GMT 2026


* DJ Delorie:

> Florian Weimer <fweimer@redhat.com> writes:
>> It avoids architecture-specific aspects in the tests and reduces future
>> maintenance overhead.  These tests are quite simple to write, too, and
>> can use regular expressions for the constant that should be compared.
>
> We already have sysdeps/unix/sysv/linux/tst-mount-consts.py though.
>
> Do the python tests test the *values* or the *string* for the defines it
> compares?

Current test locks at the values, which is good for comparing
O_CLOEXEC, where the token sequences differ.


More information about the Libc-alpha mailing list