Skip to content

Commit 0608b9c

Browse files
committed
Misc updates
1 parent 616b1d5 commit 0608b9c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

contrib/devtools/security-check.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2015-2017 The Bitcoin Core developers
2+
# Copyright (c) 2015-2018 The Bitcoin Core developers
33
# Distributed under the MIT software license, see the accompanying
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
'''
@@ -86,7 +86,7 @@ def check_ELF_RELRO(executable):
8686
# This does not affect security: the permission flags of the GNU_RELRO program header are ignored, the PT_LOAD header determines the effective permissions.
8787
# However, the dynamic linker need to write to this area so these are RW.
8888
# Glibc itself takes care of mprotecting this area R after relocations are finished.
89-
# See also http://permalink.gmane.org/gmane.comp.gnu.binutils/71347
89+
# See also https://marc.info/?l=binutils&m=1498883354122353
9090
if typ == 'GNU_RELRO':
9191
have_gnu_relro = True
9292

contrib/devtools/split-debug.sh.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
2+
set -e
33
if [ $# -ne 3 ];
44
then echo "usage: $0 <input> <stripped-binary> <debug-binary>"
55
fi

contrib/devtools/symbol-check.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
Example usage:
1111
12-
find ../gitian-builder/build -type f -executable | xargs python contrib/devtools/symbol-check.py
12+
find ../gitian-builder/build -type f -executable | xargs python3 contrib/devtools/symbol-check.py
1313
'''
1414
import subprocess
1515
import re

0 commit comments

Comments
 (0)