Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] lxd: update to 3.14
Date: Tue, 25 Jun 2019 10:07:29 +0200	[thread overview]
Message-ID: <20190625080729.p3zJjgImBTKAy2YpAj-cUMThECBsewX6KfUV8XGZE6Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12645@inbox.vuxu.org>

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

There is an updated pull request by julio641742 against master on the void-packages repository

https://github.com/julio641742/void-packages lxd-update
https://github.com/void-linux/void-packages/pull/12645

lxd: update to 3.14
first merge #12526 

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lxd-update-12645.patch --]
[-- Type: application/text/x-diff, Size: 2524 bytes --]

From de749425a112e0ddb602cd51c19bc759a121eeca Mon Sep 17 00:00:00 2001
From: Julio Galvan <julio@epazote.net>
Date: Sun, 23 Jun 2019 21:54:55 -0700
Subject: [PATCH] lxd: update to 3.14

---
 srcpkgs/lxd/patches/seccomp.patch | 41 +++++++++++++++++++++++++++++++
 srcpkgs/lxd/template              |  4 +--
 2 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/lxd/patches/seccomp.patch

diff --git a/srcpkgs/lxd/patches/seccomp.patch b/srcpkgs/lxd/patches/seccomp.patch
new file mode 100644
index 00000000000..e7b52a31931
--- /dev/null
+++ b/srcpkgs/lxd/patches/seccomp.patch
@@ -0,0 +1,41 @@
+lxc/lxd@a181ed4 [PATCH] seccomp: define __NR_mknod if missing
+lxc/lxd@c655ed5 [PATCH] seccomp: rework missing syscall number definitions
+---
+ lxd/seccomp.go | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/lxd/seccomp.go b/lxd/seccomp.go
+index 0afad7cacc..32397b9729 100644
+--- lxd/seccomp.go
++++ lxd/seccomp.go
+@@ -109,6 +109,14 @@
+ 	return -EPERM;
+ }
+
++#ifndef __NR_mknodat
++	#error missing kernel headers
++#else
++	#ifdef __NR_mknod
++		#define LXD_MUST_CHECK_MKNOD
++ 	#endif
++#endif
++
+ static int seccomp_notify_mknod_set_response(int fd_mem, struct seccomp_notify_proxy_msg *msg,
+ 					     char *buf, size_t size,
+ 					     mode_t *mode, dev_t *dev,
+@@ -124,6 +132,7 @@ static int seccomp_notify_mknod_set_response(int fd_mem, struct seccomp_notify_p
+	resp->val = 0;
+
+	switch (req->data.nr) {
++#ifdef LXD_MUST_CHECK_MKNOD
+	case __NR_mknod:
+		resp->error = device_allowed(req->data.args[2], req->data.args[1]);
+		if (resp->error) {
+@@ -143,6 +149,7 @@ static int seccomp_notify_mknod_set_response(int fd_mem, struct seccomp_notify_p
+		*pid = req->pid;
+
+		break;
++#endif
+	case __NR_mknodat:
+		if (req->data.args[0] != AT_FDCWD) {
+			errno = EINVAL;
diff --git a/srcpkgs/lxd/template b/srcpkgs/lxd/template
index 1fa0cd0731f..2a9cf44d88d 100644
--- a/srcpkgs/lxd/template
+++ b/srcpkgs/lxd/template
@@ -1,6 +1,6 @@
 # Template file for 'lxd'
 pkgname=lxd
-version=3.13
+version=3.14
 revision=1
 build_style=go
 go_import_path=github.com/lxc/lxd
@@ -15,7 +15,7 @@ maintainer="Cameron Nemo <camerontnorman@gmail.com>"
 license="Apache-2.0"
 homepage="https://linuxcontainers.org/lxd"
 distfiles="https://linuxcontainers.org/downloads/lxd/lxd-${version}.tar.gz"
-checksum=025138d2ac7ade6e34446f90f2d25ded86aedcad726d85ba8f2b7188dab75acd
+checksum=409e4758cbeb43b098d0265c4ce05aeeac5ae73f8914ceb1006e6a6d89fe1fe5
 system_groups="lxd"
 
 do_configure() {

  parent reply	other threads:[~2019-06-25  8:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24  4:55 [PR PATCH] " voidlinux-github
2019-06-24  5:25 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-24  5:25 ` voidlinux-github
2019-06-24 20:05 ` voidlinux-github
2019-06-25  6:43 ` voidlinux-github
2019-06-25  7:25 ` voidlinux-github
2019-06-25  8:02 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-25  8:02 ` voidlinux-github
2019-06-25  8:07 ` voidlinux-github
2019-06-25  8:07 ` voidlinux-github [this message]
2019-06-25  8:09 ` voidlinux-github
2019-06-26 11:46 ` [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=20190625080729.p3zJjgImBTKAy2YpAj-cUMThECBsewX6KfUV8XGZE6Y@z \
    --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).