summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/rtld.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-03-29 11:03:08 +0000
committerkib <kib@FreeBSD.org>2017-03-29 11:03:08 +0000
commit2831f74217fb010469f2c93f062dfaf20ea0be8e (patch)
tree1257f910b0d0b1d9c206c83de7a6c1fbfd40344b /libexec/rtld-elf/rtld.h
parent8c7458908683635acf91691601f8a542f4067505 (diff)
downloadFreeBSD-src-2831f74217fb010469f2c93f062dfaf20ea0be8e.zip
FreeBSD-src-2831f74217fb010469f2c93f062dfaf20ea0be8e.tar.gz
MFC r315331:
Implement LD_BIND_NOT knob for rtld. MFC r315337: Disable LD_BIND_NOT for setugid processes. MFC r315429 (by jilles): Document that LD_BIND_NOT is unset for setugid processes.
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r--libexec/rtld-elf/rtld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h
index 4e48026..19fb8fc 100644
--- a/libexec/rtld-elf/rtld.h
+++ b/libexec/rtld-elf/rtld.h
@@ -358,6 +358,7 @@ void *malloc_aligned(size_t size, size_t align);
void free_aligned(void *ptr);
extern Elf_Addr _GLOBAL_OFFSET_TABLE_[];
extern Elf_Sym sym_zero; /* For resolving undefined weak refs. */
+extern bool ld_bind_not;
void dump_relocations(Obj_Entry *);
void dump_obj_relocations(Obj_Entry *);
OpenPOWER on IntegriCloud