FORTIFY_SOURCE in FreeBSD

kavitha bk bk.kavitha1 at gmail.com
Thu Feb 6 06:07:36 UTC 2020


Hi

What is the current status of FORTIFY_SOURCE in FreeBSD?



We use BSD 11 in which I see

hardening-check /usr/bin/su

/usr/bin/su:

Position Independent Executable: no, normal executable!

Stack protected: no, not found!

Fortify Source functions: unknown, no protectable libc functions used

Read-only relocations: no, not found!

Immediate binding: no, not found!



Is it recommended to enable by default?



Thanks

Kavitha


More information about the freebsd-ports mailing list