Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] apparmor: adjust profiles
Date: Sat, 01 Jun 2019 17:16:00 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12069@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is a new pull request by CameronNemo against master on the void-packages repository

https://github.com/CameronNemo/void-packages apparmor-profiles
https://github.com/void-linux/void-packages/pull/12069

apparmor: adjust profiles
None

A patch file from https://github.com/void-linux/void-packages/pull/12069.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-profiles-12069.patch --]
[-- Type: application/text/x-diff, Size: 1808 bytes --]

From 4a14ad19cfb7e54a582c34d6f772c73799ac9191 Mon Sep 17 00:00:00 2001
From: Cameron Nemo <cnemo@tutanota.com>
Date: Sat, 1 Jun 2019 15:11:58 +0000
Subject: [PATCH] apparmor: adjust dhcpcd and wpa_supplicant profiles

---
 srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd         | 2 ++
 srcpkgs/apparmor/files/profiles/usr.bin.wpa_supplicant | 1 +
 srcpkgs/apparmor/template                              | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd b/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd
index 92f3792487c..3e9d39be538 100644
--- a/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd
+++ b/srcpkgs/apparmor/files/profiles/usr.bin.dhcpcd
@@ -45,6 +45,8 @@ profile dhcpcd /{usr/,}bin/dhcpcd {
   /var/db/dhcpcd/** rw,
   /{usr/,}bin/dhcpcd mrix,
 
+  owner @{PROC}/@{pid}/mountinfo r,
+
   # Site-specific additions and overrides. See local/README for details.
   #include <local/usr.bin.dhcpcd>
 }
diff --git a/srcpkgs/apparmor/files/profiles/usr.bin.wpa_supplicant b/srcpkgs/apparmor/files/profiles/usr.bin.wpa_supplicant
index dec2ff90c24..fbe20060de4 100644
--- a/srcpkgs/apparmor/files/profiles/usr.bin.wpa_supplicant
+++ b/srcpkgs/apparmor/files/profiles/usr.bin.wpa_supplicant
@@ -8,6 +8,7 @@
   capability net_raw,
   capability chown,
   capability dac_override,
+  capability fsetid,
   network inet dgram,
   network inet raw,
   network packet dgram,
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index d00813bfe70..d565a425065 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,7 +1,7 @@
 # Template file for 'apparmor'
 pkgname=apparmor
 version=2.13.2
-revision=5
+revision=6
 wrksrc="${pkgname}-v${version}"
 build_wrksrc=libraries/libapparmor
 build_style=gnu-configure

             reply	other threads:[~2019-06-01 15:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-01 15:16 voidlinux-github [this message]
2019-06-01 15:18 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-01 15:18 ` voidlinux-github
2019-06-02  6:36 ` [PR PATCH] [Merged]: " voidlinux-github

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12069@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).