-/* $OpenBSD: dlfcn.c,v 1.115 2023/08/15 06:26:34 guenther Exp $ */
+/* $OpenBSD: dlfcn.c,v 1.116 2023/12/19 16:13:22 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
static lock_cb *_dl_thread_fnc = NULL;
static elf_object_t *obj_from_addr(const void *addr);
-#define OK_FLAGS (0 \
+#define OK_FLAGS (0 \
| RTLD_TRACE \
| RTLD_LAZY \
| RTLD_NOW \
-/* $OpenBSD: library.c,v 1.92 2023/08/15 06:23:31 guenther Exp $ */
+/* $OpenBSD: library.c,v 1.93 2023/12/19 16:13:22 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
_dl_push_range_size(&mut, phdp->p_vaddr + loff,
phdp->p_memsz);
break;
-
default:
break;
}
-/* $OpenBSD: library_mquery.c,v 1.72 2023/08/15 06:23:31 guenther Exp $ */
+/* $OpenBSD: library_mquery.c,v 1.73 2023/12/19 16:13:22 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
}
}
-
void
_dl_unload_shlib(elf_object_t *object)
{
}
}
-
elf_object_t *
_dl_tryload_shlib(const char *libname, int type, int flags, int nodelete)
{
-/* $OpenBSD: loader.c,v 1.217 2023/12/19 06:27:45 deraadt Exp $ */
+/* $OpenBSD: loader.c,v 1.218 2023/12/19 16:13:22 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
}
}
-
for (node = _dl_objects;
node != NULL;
node = node->next ) {
}
}
-
}
-/* $OpenBSD: resolve.h,v 1.105 2023/08/15 06:26:34 guenther Exp $ */
+/* $OpenBSD: resolve.h,v 1.106 2023/12/19 16:13:22 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
struct object_vector {
int len;
int alloc;
- elf_object_t **vec;
+ elf_object_t **vec;
};
void object_vec_grow(struct object_vector *_vec, int _more);