Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/encapsulate/+/44826 )
Change subject: unshare() is only available with _GNU_SOURCE ......................................................................
unshare() is only available with _GNU_SOURCE
Change-Id: I4d11685e2aaf165ca56f3bb622a1a8dfd2864d9e --- M encapsulate.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/encapsulate refs/changes/26/44826/1
diff --git a/encapsulate.c b/encapsulate.c index 439fd93..e3a4d93 100644 --- a/encapsulate.c +++ b/encapsulate.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+#define _GNU_SOURCE + #include <sys/types.h> #include <sys/stat.h> #include <sys/mount.h>
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/encapsulate/+/44826 )
Change subject: unshare() is only available with _GNU_SOURCE ......................................................................
Patch Set 1: Verified+1 Code-Review+2
Patrick Georgi has removed a vote from this change. ( https://review.coreboot.org/c/encapsulate/+/44826 )
Change subject: unshare() is only available with _GNU_SOURCE ......................................................................
Removed Code-Review+2 by Patrick Georgi pgeorgi@google.com
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/encapsulate/+/44826 )
Change subject: unshare() is only available with _GNU_SOURCE ......................................................................
Patch Set 1: Code-Review+2
(1 comment)
https://review.coreboot.org/c/encapsulate/+/44826/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/encapsulate/+/44826/1//COMMIT_MSG@7 PS1, Line 7: unshare() is only available with _GNU_SOURCE Describe the action and not the problem?
Define _GNU_SOURCE for `unshare()`
Hello Paul Menzel,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/encapsulate/+/44826
to look at the new patch set (#2).
Change subject: Define _GNU_SOURCE to make unshare() visible with new glibc versions ......................................................................
Define _GNU_SOURCE to make unshare() visible with new glibc versions
Change-Id: I4d11685e2aaf165ca56f3bb622a1a8dfd2864d9e --- M encapsulate.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/encapsulate refs/changes/26/44826/2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/encapsulate/+/44826 )
Change subject: Define _GNU_SOURCE to make unshare() visible with new glibc versions ......................................................................
Define _GNU_SOURCE to make unshare() visible with new glibc versions
Change-Id: I4d11685e2aaf165ca56f3bb622a1a8dfd2864d9e Reviewed-on: https://review.coreboot.org/c/encapsulate/+/44826 Tested-by: Patrick Georgi pgeorgi@google.com Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net --- M encapsulate.c 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: Patrick Georgi: Verified Paul Menzel: Looks good to me, approved
diff --git a/encapsulate.c b/encapsulate.c index 439fd93..e3a4d93 100644 --- a/encapsulate.c +++ b/encapsulate.c @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+#define _GNU_SOURCE + #include <sys/types.h> #include <sys/stat.h> #include <sys/mount.h>
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/encapsulate/+/44826 )
Change subject: Define _GNU_SOURCE to make unshare() visible with new glibc versions ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/encapsulate/+/44826/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/encapsulate/+/44826/1//COMMIT_MSG@7 PS1, Line 7: unshare() is only available with _GNU_SOURCE
Describe the action and not the problem? […]
Done