Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/303731/?format=api
{ "id": 303731, "url": "http://patchwork.ozlabs.org/api/patches/303731/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1387485489-4186-21-git-send-email-clshotwe@rockwellcollins.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1387485489-4186-21-git-send-email-clshotwe@rockwellcollins.com>", "list_archive_url": null, "date": "2013-12-19T20:38:09", "name": "[v5,20/20] configs: Add SELinux x86 qemu config", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "2763963a4674ff643992468e8a201ac607070af9", "submitter": { "id": 38285, "url": "http://patchwork.ozlabs.org/api/people/38285/?format=api", "name": "Clayton Shotwell", "email": "clshotwe@rockwellcollins.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1387485489-4186-21-git-send-email-clshotwe@rockwellcollins.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/303731/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/303731/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Received": [ "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id 8600A2C0079\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 20 Dec 2013 07:40:24 +1100 (EST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D38F98C6A7;\n\tThu, 19 Dec 2013 20:40:23 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id JIpulMvwDEPW; Thu, 19 Dec 2013 20:40:20 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 2AF768C7E8;\n\tThu, 19 Dec 2013 20:39:12 +0000 (UTC)", "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id AB5BB1C29CC\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:39:02 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 97B6B8C89C\n\tfor <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:39:02 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 8tEVaKyHZt3c for <buildroot@lists.busybox.net>;\n\tThu, 19 Dec 2013 20:38:59 +0000 (UTC)", "from secvs02.rockwellcollins.com (secvs02.rockwellcollins.com\n\t[205.175.225.241])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id CEFD68C64C\n\tfor <buildroot@busybox.net>; Thu, 19 Dec 2013 20:38:43 +0000 (UTC)", "from nosuchhost.198.131.in-addr.arpa (HELO\n\tcollinscrsmtp01.rockwellcollins.com) ([131.198.63.132])\n\tby mail-virt.rockwellcollins.com with ESMTP;\n\t19 Dec 2013 14:38:32 -0600", "from nyx ([131.198.63.11])\n\tby collinscrsmtp01.rockwellcollins.com (Lotus Domino Release 8.5.2FP2\n\tHF162) with ESMTP id 2013121914383151-2990176 ;\n\tThu, 19 Dec 2013 14:38:31 -0600 " ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "Clayton Shotwell <clshotwe@rockwellcollins.com>", "To": "buildroot@busybox.net", "Date": "Thu, 19 Dec 2013 14:38:09 -0600", "Message-Id": "<1387485489-4186-21-git-send-email-clshotwe@rockwellcollins.com>", "X-Mailer": "git-send-email 1.7.1", "In-Reply-To": "<1387485489-4186-1-git-send-email-clshotwe@rockwellcollins.com>", "References": "<1387485489-4186-1-git-send-email-clshotwe@rockwellcollins.com>", "X-MIMETrack": "Itemize by SMTP Server on\n\tCollinsCRSMTP01/CedarRapids/Collins/Rockwell(Release\n\t8.5.2FP2 HF162|May 16, 2011) at 12/19/2013 02:38:31 PM,\n\tSerialize by Router on\n\tCollinsCRSMTP01/CedarRapids/Collins/Rockwell(Release\n\t8.5.2FP2 HF162|May 16, 2011) at 12/19/2013 02:38:32 PM,\n\tSerialize complete at 12/19/2013 02:38:32 PM", "X-TNEFEvaluated": "1", "Cc": "Clayton Shotwell <clshotwe@rockwellcollins.com>", "Subject": "[Buildroot] [PATCH v5 20/20] configs: Add SELinux x86 qemu config", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.14", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "buildroot-bounces@busybox.net" }, "content": "Adding a base SELinux QEMU image for x86. This will build a base\nSELinux system that boots with SELinux in permissive mode.\n\nSigned-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>\n---\nChanges v4 -> v5:\n - Upgraded kernel version to match Gustavo's commit.\n - Added a entry to enable a glibc toolchain with C++ support.\nChanges v1 -> v4:\n - Commit did not exist.\n---\n board/qemu/x86/linux-3.12-selinux.config | 72 ++++++++++++++++++++++++++++++\n configs/qemu_x86_selinux_defconfig | 28 ++++++++++++\n 2 files changed, 100 insertions(+), 0 deletions(-)\n create mode 100644 board/qemu/x86/linux-3.12-selinux.config\n create mode 100644 configs/qemu_x86_selinux_defconfig", "diff": "diff --git a/board/qemu/x86/linux-3.12-selinux.config b/board/qemu/x86/linux-3.12-selinux.config\nnew file mode 100644\nindex 0000000..20aff7f\n--- /dev/null\n+++ b/board/qemu/x86/linux-3.12-selinux.config\n@@ -0,0 +1,72 @@\n+CONFIG_EXPERIMENTAL=y\n+# CONFIG_LOCALVERSION_AUTO is not set\n+# CONFIG_SWAP is not set\n+CONFIG_AUDIT=y\n+# CONFIG_COMPAT_BRK is not set\n+CONFIG_MODULES=y\n+# CONFIG_BLK_DEV_BSG is not set\n+# CONFIG_IOSCHED_DEADLINE is not set\n+# CONFIG_IOSCHED_CFQ is not set\n+# CONFIG_X86_EXTENDED_PLATFORM is not set\n+# CONFIG_SCHED_OMIT_FRAME_POINTER is not set\n+# CONFIG_MTRR_SANITIZER is not set\n+# CONFIG_SECCOMP is not set\n+# CONFIG_RELOCATABLE is not set\n+CONFIG_NET=y\n+CONFIG_PACKET=y\n+CONFIG_UNIX=y\n+CONFIG_INET=y\n+CONFIG_IP_PNP=y\n+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set\n+# CONFIG_INET_XFRM_MODE_TUNNEL is not set\n+# CONFIG_INET_XFRM_MODE_BEET is not set\n+# CONFIG_INET_LRO is not set\n+# CONFIG_INET_DIAG is not set\n+# CONFIG_IPV6 is not set\n+# CONFIG_WIRELESS is not set\n+CONFIG_DEVTMPFS=y\n+CONFIG_DEVTMPFS_MOUNT=y\n+# CONFIG_PREVENT_FIRMWARE_BUILD is not set\n+# CONFIG_FIRMWARE_IN_KERNEL is not set\n+# CONFIG_BLK_DEV is not set\n+CONFIG_BLK_DEV_SD=y\n+CONFIG_ATA=y\n+CONFIG_ATA_PIIX=y\n+CONFIG_NETDEVICES=y\n+CONFIG_NE2K_PCI=y\n+CONFIG_8139CP=y\n+# CONFIG_WLAN is not set\n+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set\n+# CONFIG_INPUT_MOUSE is not set\n+# CONFIG_SERIO_SERPORT is not set\n+# CONFIG_LEGACY_PTYS is not set\n+# CONFIG_DEVKMEM is not set\n+CONFIG_SERIAL_8250=y\n+CONFIG_SERIAL_8250_CONSOLE=y\n+# CONFIG_HW_RANDOM is not set\n+# CONFIG_HWMON is not set\n+CONFIG_SOUND=y\n+CONFIG_SND=y\n+CONFIG_SND_HDA_INTEL=y\n+# CONFIG_USB_SUPPORT is not set\n+# CONFIG_X86_PLATFORM_DEVICES is not set\n+# CONFIG_DMIID is not set\n+CONFIG_EXT2_FS=y\n+CONFIG_EXT2_FS_XATTR=y\n+CONFIG_EXT2_FS_SECURITY=y\n+# CONFIG_DNOTIFY is not set\n+# CONFIG_INOTIFY_USER is not set\n+# CONFIG_MISC_FILESYSTEMS is not set\n+CONFIG_NFS_FS=y\n+CONFIG_ROOT_NFS=y\n+# CONFIG_ENABLE_WARN_DEPRECATED is not set\n+# CONFIG_ENABLE_MUST_CHECK is not set\n+# CONFIG_UNUSED_SYMBOLS is not set\n+# CONFIG_FRAME_POINTER is not set\n+# CONFIG_X86_VERBOSE_BOOTUP is not set\n+CONFIG_SECURITY=y\n+CONFIG_SECURITY_NETWORK=y\n+CONFIG_SECURITY_SELINUX=y\n+CONFIG_SECURITY_SELINUX_BOOTPARAM=y\n+CONFIG_CRYPTO_ANSI_CPRNG=y\n+# CONFIG_VIRTUALIZATION is not set\ndiff --git a/configs/qemu_x86_selinux_defconfig b/configs/qemu_x86_selinux_defconfig\nnew file mode 100644\nindex 0000000..3530ffd\n--- /dev/null\n+++ b/configs/qemu_x86_selinux_defconfig\n@@ -0,0 +1,28 @@\n+# Architecture\n+BR2_i386=y\n+BR2_x86_pentiumpro=y\n+\n+# system\n+BR2_TARGET_GENERIC_GETTY=y\n+BR2_TARGET_GENERIC_GETTY_PORT=\"tty1\"\n+\n+# toolchain\n+# Lock to 3.12 headers to avoid breaking with newer kernels\n+BR2_KERNEL_HEADERS_VERSION=y\n+BR2_DEFAULT_KERNEL_VERSION=\"3.12.5\"\n+BR2_TOOLCHAIN_BUILDROOT_GLIBC=y\n+BR2_TOOLCHAIN_BUILDROOT_CXX=y\n+\n+# filesystem\n+BR2_TARGET_ROOTFS_EXT2=y\n+# BR2_TARGET_ROOTFS_TAR is not set\n+\n+# Kernel\n+BR2_LINUX_KERNEL=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION=y\n+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"3.12.5\"\n+BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y\n+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=\"board/qemu/x86/linux-3.12-selinux.config\"\n+\n+# SELinux\n+BR2_PACKAGE_REFPOLICY=y\n", "prefixes": [ "v5", "20/20" ] }