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

[202012] Package debugging and hardening for dhcpmon and dhcp6relay (#9862) #9960

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

yxieca
Copy link
Contributor

@yxieca yxieca commented Feb 10, 2022

Why I did it

Manually cherry-picking #9862

…#9862)

Enable dbgsym package for dhcpmon.

Allow CFLAGS and LDFLAGS from environment variables to be used
in the dhcp6relay build. This makes sure that the -O2 flag from
dpkg-buildflags gets used.

Finally, enable all hardening flags in dpkg-buildflags for
dhcp6relay and dhcpmon. The change from the default set of flags is that
during linking, immediate binding of symbols is done instead of lazy
binding.

Signed-off-by: Saikrishna Arcot <[email protected]>
@yxieca yxieca requested a review from saiarcot895 February 10, 2022 23:24
@yxieca yxieca changed the title Package debugging and hardening for dhcpmon and dhcp6relay (#9862) [202012] Package debugging and hardening for dhcpmon and dhcp6relay (#9862) Feb 10, 2022
@yxieca yxieca requested a review from kellyyeh February 10, 2022 23:25
@yxieca yxieca merged commit 2133808 into sonic-net:202012 Feb 11, 2022
@yxieca yxieca deleted the 202012 branch February 11, 2022 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants