Skip to content

Improve reading iproute2 config files and FORTIFY_SOURCE definition #2545

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

Merged
merged 5 commits into from
Feb 5, 2025

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

Commit 5e3328b - "build: make default _FORTIFY_SOURCE setting 3"
added setting _FORTIFY_SOURCE to 3 if not already set, but older
compilers do not support that level. Add a configure check and use
lower levels of fortification if necessary.

Signed-off-by: Quentin Armitage <[email protected]>
If we have already discovered that the directories don't exist,
don't try reading them again.

Signed-off-by: Quentin Armitage <[email protected]>
Some distros don't create /etc/iproute2 (although they should) if the
standard configuration files are located in /usr/share/iproute2.

Signed-off-by: Quentin Armitage <[email protected]>
Although the iproute2 patch to add support for the rt_addrprotos.d
subdirectories predates the release of iproute2 v6.12, it was not
included in the v6.12 release.

This commit updates the minimum version of iproute2 which supports
the subdirectory to v6.13.

Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit c73d1bb into acassen:master Feb 5, 2025
10 checks passed
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.

1 participant