packaging: Apply ASLR
authorJaehun Jeong <jh4u.jeong@samsung.com>
Thu, 24 Aug 2017 00:45:04 +0000 (09:45 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Tue, 5 Mar 2024 08:48:39 +0000 (17:48 +0900)
commitfb0b58578c77a65fcecc84a47c0004030bdc267b
tree5ab4498e5ed7274548e7cb739db500897b052c7b
parent1e98fd5834aed2cb3b0e52a1ef12a8ded7db1435
packaging: Apply ASLR

For enhance tizen security, ASLR(Address space layout randomization) is default after tizen 4.0.
All executable of glibc should be built with '-pie' option.

ldconfig and glibc_post_upgrade linked statically with all libraries
are not built with '-pie' due to conflict with '-static' link option.

TC result of all submodules have consistency between before and after
this patch except for elf. because it is releated with prelink function.
so the elf TC is always fail under ASLR.

Change-Id: I8cbdf31914e0170d7d28385d830fd45a7a30d75d
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
packaging/glibc.spec