mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-29 22:47:21 +00:00
security: data relocation and protection(RELRO)
RELRO rearranges the data sections inside an ELF executable. It also marks certain areas as 'read-only' so that these data structures cannot be overwritten while the process is running. Tracked-On: 224003 Signed-off-by: wenshelx <wenshengx.wang@intel.com>
This commit is contained in:
parent
156d61e20f
commit
d92f640829
@ -40,6 +40,7 @@ endif
|
||||
endif
|
||||
|
||||
LDFLAGS += -Wl,-z,noexecstack
|
||||
LDFLAGS += -Wl,-z,relro,-z,now
|
||||
|
||||
LIBS = -lrt
|
||||
LIBS += -lpthread
|
||||
|
Loading…
Reference in New Issue
Block a user