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>
Wed, 3 May 2023 10:47:24 +0000 (19:47 +0900)
commit6e33909f78d6411693bcd6c3e7d316705c13915b
treebe419d1836037eafbb546233c1747fb1e47dbb4b
parentf0db5b8c0509119af31870e97daba3f4e09d764a
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