[ubuntu-hardened] Missing some hardening flags for a few apps.

Seth Arnold seth.arnold at canonical.com
Fri Nov 30 18:41:56 UTC 2012

On Fri, Nov 30, 2012 at 12:00:13PM -0600, Jamie Strandboge wrote:
> As for PIE and BIND_NOW, these are disabled by default and opt-in for
> packages that want them. The reason PIE is like this is because it can
> introduce a performance penalty on some architectures like i386. I don't
> recall why BIND_NOW is off by default-- presumably for the same reason
> (maybe someone else on the list can comment). See our wiki[1] for more
> details.

BIND_NOW also represents a potentially stiff performance penalty,
especially for the larger applications, as it forces all the libraries
for an application to be loaded before the application is responsive to
user input. This can be several hundred megabytes of disk IO, and if
the libraries are not also used immediately, represents a few hundred
megabytes of displaced buffers and cache that might be more profitably
used elsewhere.

In essence, it can add twice the size of the libraries to the disk IO
requirements -- half of it immediately, at application start, and the
other half as different programs and data is reloaded from disk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-hardened/attachments/20121130/0fdb36f6/attachment.pgp>

More information about the ubuntu-hardened mailing list