Skip to content

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

Merged
yxieca merged 1 commit intosonic-net:202012from
yxieca:202012
Feb 11, 2022
Merged

[202012] Package debugging and hardening for dhcpmon and dhcp6relay (#9862)#9960
yxieca merged 1 commit intosonic-net:202012from
yxieca:202012

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