[systemd-devel] [PATCH] build: Honour SUID_CFLAGS and SUID_LDFLAGS
Cristian Rodríguez
crrodriguez at opensuse.org
Sat May 17 13:02:21 PDT 2014
El 17/05/14 14:56, Dave Reisner escribió:
> On Sat, May 17, 2014 at 12:39:47PM -0400, Cristian Rodríguez
> wrote:
>> This is the standard* way used to pass special linker/compiler
>> flags such as -fPIE and -pie
>>
>> * "Standard" in the sense it is understood by many other packages
>> and commonly used by distributions.
>
> This doesn't really make sense to me. I infer from the names of
> the variables that these are flags passed to the compiler for
> binaries which will eventually be setuid root.
That was the initial purpose of this variable, yes. Currently is just
to provide a separate variable for hardened builds.
Note that I did not came up with this idea, It is just the way things
are done elsewhere, where elsewhere is util-linux, policykit, various
gnome components,enlightment,samba etc..
--
Cristian
"I don't know the key to success, but the key to failure is trying to
please everybody."
More information about the systemd-devel
mailing list