GNOME Bugzilla – Bug 670732
gnome-pty-helper: Respect SUID_CFLAGS and SUID_LDFLAGS
Last modified: 2012-02-24 12:51:17 UTC
This is a good way for distributors to use -fPIE/-pie when building vte. This is useful for suid binaries, for improved security. See http://www.linuxfromscratch.org/~manuel/hlfs-book/glibc-2.4/chapter02/pie.html for more documentation on the topic.
Created attachment 208335 [details] [review] gnome-pty-helper: Respect SUID_CFLAGS and SUID_LDFLAGS This is a good way for distributors to use -fPIE/-pie when building vte.
This is not completely correct; you need to add $(AM_CFLAGS) resp. $(AM_LDFLAGS) too. And shouldn't these variables be declared as precious in g-p-h's configure.in ?
Created attachment 208338 [details] [review] gnome-pty-helper: Respect SUID_CFLAGS and SUID_LDFLAGS Oh, good points. Updated patch should fix those issues.
Thanks! Please commit to vte-0-32 and vte-next branches.
Comment on attachment 208338 [details] [review] gnome-pty-helper: Respect SUID_CFLAGS and SUID_LDFLAGS Pushed, thanks for the review!