Skip to content

Fix build on ancient glibc without openat(AT_FDCWD#707

Merged
tridge merged 1 commit intoRsyncProject:masterfrom
ncopa:fix-openat-portability
Jan 15, 2025
Merged

Fix build on ancient glibc without openat(AT_FDCWD#707
tridge merged 1 commit intoRsyncProject:masterfrom
ncopa:fix-openat-portability

Conversation

@ncopa
Copy link
Copy Markdown
Contributor

@ncopa ncopa commented Jan 15, 2025

Fixes: #701

@solardiz
Copy link
Copy Markdown

Separately, maybe we could add something like:

#ifdef __GNUC__
#warning "System features required for security missing, CVE-... CVE-... remain unfixed"
#endif

At least this would be triggered if AT_FDCWD ever stops being a macro (hopefully, never).

@tridge tridge merged commit 68e9add into RsyncProject:master Jan 15, 2025
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.

3.4.0 portability regression because of openat(AT_FDCWD

3 participants