Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libselinux: restore: drop the obsolete LSF transitional API. #401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rmsc
Copy link

@rmsc rmsc commented Jun 29, 2023

The preferred way to enable LSF support on 32 bit systems is to define _FILE_OFFSET_BITS=64 when building selinux.

The preferred way to enable LSF support on 32 bit systems is to define
_FILE_OFFSET_BITS=64 when building selinux.

Signed-off-by: Renato Caldas <[email protected]>
@rmsc
Copy link
Author

rmsc commented Jun 29, 2023

Musl has recently deprecated the legacy API. From their Changelog:

"On the API level, the legacy "LFS64" ("large file support") interfaces, which were provided by macros remapping them to their standard names (#define stat64 stat and similar) have been deprecated and are no longer provided under the _GNU_SOURCE feature profile, only under explicit _LARGEFILE64_SOURCE. The latter will also be removed in a future version. Builds broken by this change can be fixed short-term by adding -D_LARGEFILE64_SOURCE to CFLAGS, but should be fixed to use the standard interfaces."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant