diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2016-12-02 14:42:48 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2016-12-02 14:42:48 -0800 |
commit | 668e273da4478211bc826d68b43ff56d67d36109 (patch) | |
tree | e3b34b85b7cd44aa90ad23a8bcbf73665d4fa006 /net-misc/lldpd/files | |
parent | www-plugins/chrome-binary-plugins: automated update (55.0.2883.75, 56.0.2924.14) (diff) | |
download | gentoo-668e273da4478211bc826d68b43ff56d67d36109.tar.gz gentoo-668e273da4478211bc826d68b43ff56d67d36109.tar.bz2 gentoo-668e273da4478211bc826d68b43ff56d67d36109.zip |
net-misc/lldpd: Version bump to 0.9.5
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-misc/lldpd/files')
-rw-r--r-- | net-misc/lldpd/files/lldpd-0.9.5-seccomp-add-mprotect.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/lldpd/files/lldpd-0.9.5-seccomp-add-mprotect.patch b/net-misc/lldpd/files/lldpd-0.9.5-seccomp-add-mprotect.patch new file mode 100644 index 000000000000..dbb4c79ddf7c --- /dev/null +++ b/net-misc/lldpd/files/lldpd-0.9.5-seccomp-add-mprotect.patch @@ -0,0 +1,12 @@ +diff --git a/src/daemon/priv-seccomp.c b/src/daemon/priv-seccomp.c +index 4f9e6e6..97f4233 100644 +--- a/src/daemon/priv-seccomp.c ++++ b/src/daemon/priv-seccomp.c +@@ -166,6 +166,7 @@ priv_seccomp_init(int remote, int child) + (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(poll), 0)) < 0 || + (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(recvmsg), 0)) < 0 || + (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(readv), 0)) < 0 || ++ (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(mprotect), 0)) < 0 || + /* The following are for resolving addresses */ + (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(mmap), 0)) < 0 || + (rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(munmap), 0)) < 0 || |