Ticket #105 (closed enhancement: fixed)
build with -fstack-protector by default
| Reported by: | lennart | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Avahi 0.6.18 | Component: | build-system |
| Keywords: | Cc: | tedp |
Description
Some distributions enable -fstack-protector globally (such as Ubuntu), others don't (such as Debian).
It makes sense to enable this feature explicitly for Avahi, since we are a networked service and we don't do anything particularly problematic which would be incompatible with it.
Needs some autoconf magic, of course, since it is only available in gcc 4.1 and some patched versions of gcc 3.x.
Also build everything as a PIE/PIC to make address space randomization actually work.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
