public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/blueness:master commit in: tests-only/paxmarking/, tests-only/paxmarking/files/
Date: Sat, 18 May 2013 15:22:26 +0000 (UTC)	[thread overview]
Message-ID: <1368890515.35908f74047b25d3fbf1ccd3347bb14d5ace68ba.blueness@gentoo> (raw)

commit:     35908f74047b25d3fbf1ccd3347bb14d5ace68ba
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 15:21:55 2013 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat May 18 15:21:55 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=35908f74

tests-only/paxmarking: test RWX mmap-ing

Package-Manager: portage-2.1.11.62
Manifest-Sign-Key: 0xF52D4BBA

---
 tests-only/paxmarking/Manifest              |   25 ++++++++++++++++++++++++
 tests-only/paxmarking/files/Makefile.am     |    8 +++++++
 tests-only/paxmarking/files/configure.ac    |    7 ++++++
 tests-only/paxmarking/files/mytest.c        |    9 ++++++++
 tests-only/paxmarking/metadata.xml          |    9 ++++++++
 tests-only/paxmarking/paxmarking-0.1.ebuild |   28 +++++++++++++++++++++++++++
 6 files changed, 86 insertions(+), 0 deletions(-)

diff --git a/tests-only/paxmarking/Manifest b/tests-only/paxmarking/Manifest
new file mode 100644
index 0000000..5a257c9
--- /dev/null
+++ b/tests-only/paxmarking/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX Makefile.am 117 SHA256 b6e9384c633cf64c25eade44d4d731cf1cd325bd9786d8f3fd8c55dda949a2f9 SHA512 f7dac2e0c4d6ed02dc9323f7e36028ab83513644ea7e2dd04ae851cb6f419d51abf5994e2e8413996394464eddbc9fffbb90a558a0e70cff23ed71de6a5676de WHIRLPOOL 839770db8752cb40a27d2f941057a2628b27b7dddb06774e45ae12dc2504b5d09373272a5e54303e5155ab001b382abee52d96647e650705bdb2948ab9c2f61e
+AUX configure.ac 154 SHA256 a00338565c527da451305361cbc50f9ee1670b0aa786d83c01f4dc1a947bcf28 SHA512 7b18b09e21832e6a31f4df548093f61d1feb4dcfb025194b1d0de95c6aec49beb71a3db64f4cee0dcf550bc37368c6ec71b16f28aef5046e0508b2cd5ef47ee7 WHIRLPOOL 034ac587c1881998fd2a7ef1ada7d0687c9bd8887c0e245744b09fc6da7e1ae3e9e68e1e25249fdd2f4f8e2b0f0a07eac920a526339973ef4c05aeab6ae06e72
+AUX mytest.c 197 SHA256 a305a88d58722da39aeec18cf559fd280326de858673c2b40ddf5a557d082f73 SHA512 d236fdc8f3d7c48329cd5c65382983db4a00bfb38698f22e7941cf5e96230be601f213fb7953247e578079ff6a90ec817b79e62657bde623ff005456f5e6f9bf WHIRLPOOL 5f14a559ecc04deed3c75fda2c7cc4c841313f7c97b9b5aa3983368c35bc29bd8b1d3d0b312250387263814238fa66d29a86d73818bf165354827da331bf8f76
+EBUILD paxmarking-0.1.ebuild 473 SHA256 3c31b3ebf937df316f74b84e46957692497ab1942ab968e09cca356f535716cc SHA512 f272bb8534662b0fb388f8f615be36c319c10b74483a0c0f7c7642df5043d6e61b7e1bc69c6c728099e0bdc4e9d3de21bc5694e834d3ba828ad5053603f833a0 WHIRLPOOL 0e527663e288f85417076c04e7b063451a1e98dde6ab6531944ff75385c4e801f10bd4942d650913b05497b76bb7315de8f65036ebd4248b2d8d0d27c1d12d99
+MISC metadata.xml 261 SHA256 8f10a5b7f7571c6e73739c4bed1ecaf34aa8278355e9d163f8bbae77a11575a4 SHA512 7350bedbae4104f555ee7f95e7858069ec6cf5a2d41ffba46aa669dfa5663b100b39cc5f1502b6515aa149d1e661cce1e7e36fbfa350ed086fdf678dbe87661f WHIRLPOOL aa6a80ddc7a5dc80a6cf892e2bfb21616b80c05978435e4f4c6ba7b3be4685a9d15b92a23db0bf333373c436c4e256f02795f6064b476bd7d82309394bd15b3a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJRl5yTAAoJEJOE+m71LUu6/4AP/0KfP91vKeFagPKWzw21FA+v
+G/DEXL7V3qwdLa/92KVrrDSgusO5GyQqhti/EnzX0nsrwGftu9wcQyyTfE1qgRHC
+09j2Dk3u/K7GaiY1IDMyUBFdEgM2LuW26T0iYji8s2Km/FxpcXIVIgp3uJbK0+SJ
+KYUZ98xk6S0G4ertoWnsSnZiZjrj2TvWGjuYrC1Tw2IY+/k4M6jAaSRXyuNBpbPF
+UEnFPE3bR3qxdT17jx6U1q4K7gGj+JpE76+qqFD9hUWnJ3n0EH7XtBDkiWYCyD0w
+5xoykuyCQCT5aFZq4KEvyIto3zTZB1vZTse1x+PasKNFgeM37zkppDmlOtNTpSvw
+lHbrFixuvBp3tKNQKTc8mLxpzW9zPSnU4hYjjQpucyLUWmmGGRo4bvdipKzu26f6
+Fyo0WC4L3AvxP6zleRV5LbH+FUD8lqjDi4QST+TNNh2S+rFIBoFXBNkPe68tqooO
+FMJUxJM0rNnu6235Z9m6RcWWEh5TbahmZiGvgFPQ6rFUJcBRlo9KZLudofPl4cvO
+AOLNj3VbkpuDDtHJtuBc+qvgaL1PRUpWWLFjkuA2vqeh1QHh24IxtJ6/syKrNN+h
+gKyVfj7x2iZ1AWVJz4bV6dGYDihvSxXpZg49Syfof+MFEmMJ5so3q8AB1t3xTnVA
+anyl4wWkjNxcknNN2mF3
+=36nQ
+-----END PGP SIGNATURE-----

diff --git a/tests-only/paxmarking/files/Makefile.am b/tests-only/paxmarking/files/Makefile.am
new file mode 100644
index 0000000..711ff5d
--- /dev/null
+++ b/tests-only/paxmarking/files/Makefile.am
@@ -0,0 +1,8 @@
+bin_PROGRAMS = mytest
+mytest_SOURCES = mytest.c
+
+check_SCRIPTS = runtest
+TEST = $(check_SCRIPTS)
+
+runtest:
+	./mytest

diff --git a/tests-only/paxmarking/files/configure.ac b/tests-only/paxmarking/files/configure.ac
new file mode 100644
index 0000000..5fdd9a6
--- /dev/null
+++ b/tests-only/paxmarking/files/configure.ac
@@ -0,0 +1,7 @@
+AC_PREREQ([2.65])
+AC_INIT([mytest], [0.1])
+AC_CONFIG_SRCDIR([mytest.c])
+AM_INIT_AUTOMAKE([1.11 foreign])
+AC_PROG_CC
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT

diff --git a/tests-only/paxmarking/files/mytest.c b/tests-only/paxmarking/files/mytest.c
new file mode 100644
index 0000000..403f6cf
--- /dev/null
+++ b/tests-only/paxmarking/files/mytest.c
@@ -0,0 +1,9 @@
+#include <stdlib.h>
+#include <sys/mman.h>
+
+int main()
+{
+	int one_page = getpagesize();
+	mmap( NULL, one_page, PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
+	return 0 ;
+}

diff --git a/tests-only/paxmarking/metadata.xml b/tests-only/paxmarking/metadata.xml
new file mode 100644
index 0000000..e217c37
--- /dev/null
+++ b/tests-only/paxmarking/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>hardened</herd>
+	<maintainer>
+		<email>blueness@gentoo.org</email>
+		<name>Anthony G. Basile</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/tests-only/paxmarking/paxmarking-0.1.ebuild b/tests-only/paxmarking/paxmarking-0.1.ebuild
new file mode 100644
index 0000000..320946d
--- /dev/null
+++ b/tests-only/paxmarking/paxmarking-0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit autotools
+
+DESCRIPTION="Test XT and PT pax markings"
+HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=427888"
+SRC_URI=""
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+	mkdir -p ${S}
+	cp "${FILESDIR}"/{configure.ac,Makefile.am,mytest.c} ${S}
+}
+
+src_prepare() {
+	eautoreconf
+}


             reply	other threads:[~2013-05-18 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-18 15:22 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-18 15:46 [gentoo-commits] dev/blueness:master commit in: tests-only/paxmarking/, tests-only/paxmarking/files/ Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1368890515.35908f74047b25d3fbf1ccd3347bb14d5ace68ba.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox