Skip to content
Snippets Groups Projects
Commit 7b19760b authored by Vivek Das Mohapatra's avatar Vivek Das Mohapatra
Browse files

Thinko in comment - PLT vs GOT

parent d835bea9
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
......@@ -120,7 +120,7 @@ int capsule_relocate (const char *target,
// time to enter some sort of ... dangerous... zone:
// we need the mmap()ed DSO regions to have the PROT_WRITE
// flag set, so that if they've been RELRO linked we can still
// overwrite their PLT entries.
// overwrite their GOT entries.
for( int i = 0; rdata.mmap_info[i].start != MAP_FAILED; i++ )
if( mmap_entry_should_be_writable( &rdata.mmap_info[i] ) )
add_mmap_protection( &rdata.mmap_info[i], PROT_WRITE );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment