From d81f3ec21ce46e6e0423002e3fbf83619f6bc8d3 Mon Sep 17 00:00:00 2001 From: Andreas Hasenack Date: Fri, 15 Mar 2019 21:48:18 -0300 Subject: [PATCH 1/2] Problem: test_filter_with_supplemental_process_owner_gid fails Solution: only set supgroup to a valid gid --- tests/test_filter_ipc.cpp | 6 ++++-- tests/testutil.hpp | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/test_filter_ipc.cpp b/tests/test_filter_ipc.cpp index 60827a26..5d9fe81a 100644 --- a/tests/test_filter_ipc.cpp +++ b/tests/test_filter_ipc.cpp @@ -122,8 +122,10 @@ void init_groups () supgroup = group; notgroup = group + 1; for (int i = 0; i < ngroups; i++) { - if (supgroup == group && group != groups[i]) - supgroup = groups[i]; + if (supgroup == group && group != groups[i]) { + if (getgrgid (groups[i])) + supgroup = groups[i]; + } if (notgroup <= groups[i]) notgroup = groups[i] + 1; } diff --git a/tests/testutil.hpp b/tests/testutil.hpp index 69b7fe54..b0f0d77f 100644 --- a/tests/testutil.hpp +++ b/tests/testutil.hpp @@ -78,8 +78,10 @@ #include #include #include +#include #include #include +#include #include #include #include From 1f656fd19d86037ec8a9d84bc3ac9a715e637d7b Mon Sep 17 00:00:00 2001 From: Andreas Hasenack Date: Mon, 18 Mar 2019 10:54:50 -0300 Subject: [PATCH 2/2] Problem: no relicense agreement by panlinux Solution: added relicense agreement --- RELICENSE/panlinux.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 RELICENSE/panlinux.md diff --git a/RELICENSE/panlinux.md b/RELICENSE/panlinux.md new file mode 100644 index 00000000..b43a4043 --- /dev/null +++ b/RELICENSE/panlinux.md @@ -0,0 +1,17 @@ +# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL + +This is a statement by Andreas Hasenack that grants permission to +relicense its copyrights in the libzmq C++ library (ZeroMQ) under the +Mozilla Public License v2 (MPLv2) or any other Open Source Initiative +approved license chosen by the current ZeroMQ BDFL (Benevolent +Dictator for Life). + +A portion of the commits made by the Github handle "panlinux", with +commit author "Andreas Hasenack ", are +copyright of Andreas Hasenack. This document hereby grants the libzmq +project team to relicense libzmq, including all past, present and +future contributions of the author listed above. + +Andreas Hasenack +2019/03/18 +