Project

General

Profile

Actions

Feature #11417

closed

build ceph with hardening flags

Added by Ken Dreyer about 9 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% Done:

90%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

See https://github.com/ceph/ceph/pull/3849 (which was closed)...

In src/Makefile-env.am, we should make the following changes:

  1. add -fPIE in the AM_COMMON_CFLAGS definition
  2. add -pie -Wl,-z,relro -Wl,-z,now to the AM_LDFLAGS definition
Actions

Also available in: Atom PDF