From owner-svn-ports-branches@freebsd.org Sat Nov 11 23:17:57 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22FD8E4F090; Sat, 11 Nov 2017 23:17:57 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F149B72418; Sat, 11 Nov 2017 23:17:56 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vABNHt0C070721; Sat, 11 Nov 2017 23:17:55 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vABNHtcF070720; Sat, 11 Nov 2017 23:17:55 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201711112317.vABNHtcF070720@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 11 Nov 2017 23:17:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r454008 - branches/2017Q4/security/sandsifter X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: branches/2017Q4/security/sandsifter X-SVN-Commit-Revision: 454008 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2017 23:17:57 -0000 Author: jbeich Date: Sat Nov 11 23:17:55 2017 New Revision: 454008 URL: https://svnweb.freebsd.org/changeset/ports/454008 Log: MFH: r454007 security/sandsifter: fix typo to block non-x86 archs cc -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -c injector.c -o injector.o -Wall injector.c:338:93: warning: excess elements in array initializer .start={.bytes={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}, .len=0}, ^~~~ injector.c:339:91: warning: excess elements in array initializer .end={.bytes={0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}, .len=0}, ^~~~ injector.c:870:32: error: no member named 'mc_eip' in 'struct __mcontext' ((ucontext_t*)p)->uc_mcontext.IP+=UD2_SIZE; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ injector.c:95:14: note: expanded from macro 'IP' # define IP mc_eip ^ injector.c:883:30: error: no member named 'mc_eip' in 'struct __mcontext' (uintptr_t)uc->uc_mcontext.IP-(uintptr_t)packet-preamble_length; ~~~~~~~~~~~~~~~ ^ injector.c:95:14: note: expanded from macro 'IP' # define IP mc_eip ^ injector.c:905:18: error: no member named 'mc_eip' in 'struct __mcontext' uc->uc_mcontext.IP=(uintptr_t)&resume; ~~~~~~~~~~~~~~~ ^ injector.c:95:14: note: expanded from macro 'IP' # define IP mc_eip ^ injector.c:906:18: error: no member named 'mc_eflags' in 'struct __mcontext'; did you mean 'mc_flags'? uc->uc_mcontext.EFL&=~TF; ^~~ mc_flags injector.c:96:15: note: expanded from macro 'EFL' # define EFL mc_eflags ^ /usr/include/machine/ucontext.h:56:7: note: 'mc_flags' declared here int mc_flags; ^ 2 warnings and 4 errors generated. Reported by: pkg-fallout (aarch64) Approved by: ports-secteam blanket Modified: branches/2017Q4/security/sandsifter/Makefile Directory Properties: branches/2017Q4/ (props changed) Modified: branches/2017Q4/security/sandsifter/Makefile ============================================================================== --- branches/2017Q4/security/sandsifter/Makefile Sat Nov 11 23:16:14 2017 (r454007) +++ branches/2017Q4/security/sandsifter/Makefile Sat Nov 11 23:17:55 2017 (r454008) @@ -12,8 +12,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>0:devel/p USES= gmake python localbase shebangfix -ONLY_FOR_ARCH= amd64 i386 -ONLY_FOR_ARCH_REASON=Designed for x86 +ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS_REASON=Designed for x86 USE_GITHUB= yes GH_ACCOUNT= xoreaxeaxeax