-/* $OpenBSD: loader.c,v 1.166 2016/08/23 06:46:17 kettenis Exp $ */
+/* $OpenBSD: loader.c,v 1.167 2016/08/28 04:33:17 guenther Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
object->obj_flags & DF_1_NOW));
/*
- * Look for W|X segments and make them read-only.
+ * Look for W&X segments and make them read-only.
*/
for (llist = object->load_list; llist != NULL; llist = llist->next) {
if ((llist->prot & PROT_WRITE) && (llist->prot & PROT_EXEC)) {