hardened cflag defaults
Bug #1805216 reported by
Sergio Schvezov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Sergio Schvezov |
Bug Description
Reuse the hardened flags used for Ubuntu as a starting point.
Changed in snapcraft: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in snapcraft: | |
assignee: | nobody → Sergio Schvezov (sergiusens) |
milestone: | none → 3.1.1 |
Changed in snapcraft: | |
milestone: | 3.1.1 → 3.2 |
Changed in snapcraft: | |
status: | Triaged → In Progress |
To post a comment you must log in.
Currently we use the following flags where supported by the underlying architecture:
-Wformat -Wformat-security -fstack- protector- strong, -dFORTIFY_SOURCE=2, -Wl,-z,relro -pie, -Wl,-z,now