-/* $OpenBSD: dlfcn.c,v 1.99 2017/11/28 17:19:47 kettenis Exp $ */
+/* $OpenBSD: dlfcn.c,v 1.100 2017/12/08 05:25:20 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
for (; object != NULL; object = object->next) {
switch (object->obj_type) {
case OBJTYPE_LDR:
- objtypename = "rtld";
+ objtypename = "ld.so";
break;
case OBJTYPE_EXE:
objtypename = "exe ";
-/* $OpenBSD: library.c,v 1.81 2017/02/08 04:34:29 guenther Exp $ */
+/* $OpenBSD: library.c,v 1.82 2017/12/08 05:25:20 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
libaddr = (Elf_Addr)_dl_mmap(0, maxva - minva, PROT_NONE,
MAP_PRIVATE|MAP_FILE, libfile, 0);
if (_dl_mmap_error(libaddr)) {
- _dl_printf("%s: rtld mmap failed mapping %s.\n",
+ _dl_printf("%s: ld.so mmap failed mapping %s.\n",
__progname, libname);
_dl_close(libfile);
_dl_errno = DL_CANT_MMAP;
next_load->size = size;
next_load->prot = PFLAGS(phdp->p_flags);
if (size != 0 && _dl_mmap_error(res)) {
- _dl_printf("%s: rtld mmap failed mapping %s.\n",
+ _dl_printf("%s: ld.so mmap failed mapping %s.\n",
__progname, libname);
_dl_close(libfile);
_dl_errno = DL_CANT_MMAP;
res = _dl_mmap(start, size, flags,
MAP_FIXED|MAP_PRIVATE|MAP_ANON, -1, 0);
if (_dl_mmap_error(res)) {
- _dl_printf("%s: rtld mmap failed mapping %s.\n",
+ _dl_printf("%s: ld.so mmap failed mapping %s.\n",
__progname, libname);
_dl_close(libfile);
_dl_errno = DL_CANT_MMAP;
-/* $OpenBSD: library_mquery.c,v 1.57 2017/01/24 07:48:36 guenther Exp $ */
+/* $OpenBSD: library_mquery.c,v 1.58 2017/12/08 05:25:20 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
}
return(object);
fail:
- _dl_printf("%s: rtld mmap failed mapping %s.\n", __progname, libname);
+ _dl_printf("%s: ld.so mmap failed mapping %s.\n", __progname, libname);
_dl_close(libfile);
_dl_errno = DL_CANT_MMAP;
_dl_load_list_free(lowld);
-/* $OpenBSD: loader.c,v 1.171 2017/10/26 20:17:05 guenther Exp $ */
+/* $OpenBSD: loader.c,v 1.172 2017/12/08 05:25:20 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
_dl___syscall(SYS_kbind, (void *)NULL, (size_t)0, (long long)0);
}
- DL_DEB(("rtld loading: '%s'\n", __progname));
+ DL_DEB(("ld.so loading: '%s'\n", __progname));
/* init this in runtime, not statically */
TAILQ_INIT(&_dlopened_child_list);