From: guenther Date: Sun, 28 Aug 2016 04:33:17 +0000 (+0000) Subject: fix a comment X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3718ab459b63c1f8ad3cb58be2ff83a48f507947;p=openbsd fix a comment --- diff --git a/libexec/ld.so/loader.c b/libexec/ld.so/loader.c index b85db853f89..1c29c0dba52 100644 --- a/libexec/ld.so/loader.c +++ b/libexec/ld.so/loader.c @@ -1,4 +1,4 @@ -/* $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 @@ -679,7 +679,7 @@ _dl_rtld(elf_object_t *object) 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)) {