pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/check check-pie-elf.awk: make the failure case amus...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/613ea958226e
branches:  trunk
changeset: 373825:613ea958226e
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Feb 13 10:48:24 2022 +0000

description:
check-pie-elf.awk: make the failure case amuse me less

diffstat:

 mk/check/check-pie-elf.awk |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r c3af8cfb9345 -r 613ea958226e mk/check/check-pie-elf.awk
--- a/mk/check/check-pie-elf.awk        Sun Feb 13 10:44:38 2022 +0000
+++ b/mk/check/check-pie-elf.awk        Sun Feb 13 10:48:24 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-pie-elf.awk,v 1.1 2022/01/18 01:41:09 pho Exp $
+# $NetBSD: check-pie-elf.awk,v 1.2 2022/02/13 10:48:24 nia Exp $
 #
 # Read a list of potential ELF binaries from stdin. For each, extract the list
 # of headers. There are four possibilities:
@@ -7,7 +7,7 @@
 #    PT_INTERP does not exist
 #
 #      This is a statically-linked executable. Ignore these, as they cannot
-#      ever be a PIE.
+#      ever be position-independent.
 #
 # 2. Elf_Ehdr.e_type == ET_EXEC &&
 #    PT_INTERP exists in the program headers
@@ -19,7 +19,7 @@
 #    DT_FLAGS_1 exists in the dynamic section &&
 #    DT_FLAGS_1 contains DF_1_PIE
 #
-#      This is a PIE.
+#      This is a Position Independent Executable.
 #
 # 4. Elf_Ehdr.e_type == ET_DYN &&
 #    PT_INTERP does not exist in the program headers
@@ -73,7 +73,7 @@
        }
        close(cmd);
        if (is_non_pie == 1 && is_dyn_exec == 1) {
-               print ELF ": not a PIE";
+               print ELF ": is not a Position Independent Executable";
        }
 }
 



Home | Main Index | Thread Index | Old Index