This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inlining failed


On 4 Dec 2008, Petr Baudis verbalised:
>> Perhaps some distros will be interested in it.
>
> FWIW, I will certainly investigate this for future inclusion in SUSE,

Yay! If I improve the security of even one other person's machine this
patch has been worthwhile. (Nobody else has tested it yet, so I'd be
interested to know if it works for you, or doesn't of course.)

> I'm wondering what kind of so bad downsides does Ulrich see here - I
> wouldn't think the check would have noticeable effect on performance,
> though it should of course be measured...

I'd expect zero effect on performance unless you turned it on :) it is
of course off by default.

In any case, if you turn on something as notably expensive as the
stack-protector (benchmarked by others in the past as causing a 4%
slowdown on average), surely you're saying that you care more about
security than performance? Now that the kernel can be stack-protected
(on x86-64, at least) glibc is the last major component that couldn't be
protected on hardened distros. It would be a pity if it remained
unprotected forever...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]