pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/check



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Feb 13 10:48:24 UTC 2022

Modified Files:
        pkgsrc/mk/check: check-pie-elf.awk

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mk/check/check-pie-elf.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/check/check-pie-elf.awk
diff -u pkgsrc/mk/check/check-pie-elf.awk:1.1 pkgsrc/mk/check/check-pie-elf.awk:1.2
--- pkgsrc/mk/check/check-pie-elf.awk:1.1       Tue Jan 18 01:41:09 2022
+++ pkgsrc/mk/check/check-pie-elf.awk   Sun Feb 13 10:48:24 2022
@@ -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 @@ function check_pie(ELF, is_non_pie, is_d
        }
        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