[linux-merge]linux integration; annotated tag, v5.16-rc3, created. v5.16-rc3
by postmaster@open-mesh.org
The annotated tag, v5.16-rc3 has been created
at e9966818ad676112345dca60e65d48ef2e686930 (tag)
tagging d58071a8a76d779eedab38033ae4c821c30295a5 (commit)
replaces v5.16-rc2
tagged by Linus Torvalds
on Sun Nov 28 14:09:19 2021 -0800
- Shortlog ------------------------------------------------------------
Linux 5.16-rc3
-----BEGIN PGP SIGNATURE-----
iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAmGj/g8eHHRvcnZhbGRz
QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiG9S4H/0a0JhA5ZOd3YS2Q
jXDv7Dleuly9gdPijiHOhnxjOmhJuwAx9JP8fTX1FbZ7djrP+dcSo5AUkTT6VRyG
i3AYaGby/YBd5DSPQx8P4p5SyS1IBmZs6Vg+UhqptXr5k/iZaTCLkvm3dUklPEZl
N3gWIskQSBUmYcHXnN/ns+JwPDwRcIZ2w0qdn31kKKh8mi0pEGT0c6StIeBUum9L
t62GzKxVPqibntX60fMhcYD6NujgcBnf+OzBQvS49ujMLxoHW/D6OeZPiPpUo5Ex
C4fZfAaA43OpCcwnvzWssZhM3Rxucdw72RoZo5Fhp7k5Rbr9TE6LCzzXdYmZcrYp
VJM26kw=
=xrWX
-----END PGP SIGNATURE-----
-----------------------------------------------------------------------
--
linux integration
1 year, 2 months
[linux-merge]linux integration; annotated tag, v5.16-rc2, created. v5.16-rc2
by postmaster@open-mesh.org
The annotated tag, v5.16-rc2 has been created
at afb057419d0194961ca1e0001ec27f7c6f23699c (tag)
tagging 136057256686de39cc3a07c2e39ef6bc43003ff6 (commit)
replaces v5.16-rc1
tagged by Linus Torvalds
on Sun Nov 21 13:47:39 2021 -0800
- Shortlog ------------------------------------------------------------
Linux 5.16-rc2
-----BEGIN PGP SIGNATURE-----
iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAmGavnseHHRvcnZhbGRz
QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiGcl4H/jyFVlHDSa+utMA5
7PEQX0AarkBtSvKUgK/SivZxX06nYp2UU5L4Jn70O/mccXWo0ru82eDVO3nSImDR
Mi668IqzbYfGqVL6CMztDku+XbyT3Yr/i9QILFbLWV5DhCM422GXXN8PFBibDHdI
6Oyt1WoUh404yjVIHOCNwprfLObxREV6ARhFsIsmCRa8Hf+RkKOY5Twua6j5emm5
aamiq6SYLtf2H5+DwkR5TnPkie6I2o8oLtA7JYiJpKh5KK75qjlpzFd3S3OWsi1H
0g752g12r7tLh4ac3Xfgwf36pQ2CdiZ7NUOkJhZWT4aHPqPh+MVheQfpR41f5Sgc
pvFslTo=
=QdMf
-----END PGP SIGNATURE-----
-----------------------------------------------------------------------
--
linux integration
1 year, 2 months
[batman-adv] master: batman-adv: allow netlink usage in unprivileged containers (055fa41b)
by postmaster@open-mesh.org
Repository : ssh://git@diktynna/batman-adv
On branch : master
>---------------------------------------------------------------
commit 055fa41b73ca8dae1c1ed41777e32a8f02e80c82
Author: Linus L��ssing <linus.luessing(a)c0d3.blue>
Date: Mon Nov 1 21:46:17 2021 +0100
batman-adv: allow netlink usage in unprivileged containers
Currently, creating a batman-adv interface in an unprivileged LXD
container and attaching secondary interfaces to it with "ip" or "batctl"
works fine. However all batctl debug and configuration commands
fail:
root@container:~# batctl originators
Error received: Operation not permitted
root@container:~# batctl orig_interval
1000
root@container:~# batctl orig_interval 2000
root@container:~# batctl orig_interval
1000
To fix this change the generic netlink permissions from GENL_ADMIN_PERM
to GENL_UNS_ADMIN_PERM. This way a batman-adv interface is fully
maintainable as root from within a user namespace, from an unprivileged
container.
All except one batman-adv netlink setting are per interface and do not
leak information or change settings from the host system and are
therefore save to retrieve or modify as root from within an unprivileged
container.
"batctl routing_algo" / BATADV_CMD_GET_ROUTING_ALGOS is the only
exception: It provides the batman-adv kernel module wide default routing
algorithm. However it is read-only from netlink and an unprivileged
container is still not allowed to modify
/sys/module/batman_adv/parameters/routing_algo. Instead it is advised to
use the newly introduced "batctl if create routing_algo RA_NAME" /
IFLA_BATADV_ALGO_NAME to set the routing algorithm on interface
creation, which already works fine in an unprivileged container.
Cc: Tycho Andersen <tycho(a)tycho.pizza>
Signed-off-by: Linus L��ssing <linus.luessing(a)c0d3.blue>
Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
>---------------------------------------------------------------
055fa41b73ca8dae1c1ed41777e32a8f02e80c82
.../{linux/cache.h => uapi/linux/genetlink.h} | 10 ++++----
net/batman-adv/netlink.c | 30 +++++++++++-----------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/compat-include/linux/cache.h b/compat-include/uapi/linux/genetlink.h
similarity index 57%
copy from compat-include/linux/cache.h
copy to compat-include/uapi/linux/genetlink.h
index 9d7efab5..5fd58e22 100644
--- a/compat-include/linux/cache.h
+++ b/compat-include/uapi/linux/genetlink.h
@@ -7,16 +7,16 @@
* of the Linux kernel.
*/
-#ifndef _NET_BATMAN_ADV_COMPAT_LINUX_CACHE_H
-#define _NET_BATMAN_ADV_COMPAT_LINUX_CACHE_H
+#ifndef _NET_BATMAN_ADV_COMPAT_UAPI_LINUX_GENETLINK_H_
+#define _NET_BATMAN_ADV_COMPAT_UAPI_LINUX_GENETLINK_H_
#include <linux/version.h>
-#include_next <linux/cache.h>
+#include_next <uapi/linux/genetlink.h>
#if LINUX_VERSION_IS_LESS(4, 6, 0)
-#define __ro_after_init
+#define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM
#endif /* LINUX_VERSION_IS_LESS(4, 6, 0) */
-#endif /* _NET_BATMAN_ADV_COMPAT_LINUX_CACHE_H */
+#endif /* _NET_BATMAN_ADV_COMPAT_UAPI_LINUX_GENETLINK_H_ */
diff --git a/net/batman-adv/netlink.c b/net/batman-adv/netlink.c
index 29276284..00875e1d 100644
--- a/net/batman-adv/netlink.c
+++ b/net/batman-adv/netlink.c
@@ -1368,21 +1368,21 @@ static const struct genl_small_ops batadv_netlink_ops[] = {
{
.cmd = BATADV_CMD_TP_METER,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.doit = batadv_netlink_tp_meter_start,
.internal_flags = BATADV_FLAG_NEED_MESH,
},
{
.cmd = BATADV_CMD_TP_METER_CANCEL,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.doit = batadv_netlink_tp_meter_cancel,
.internal_flags = BATADV_FLAG_NEED_MESH,
},
{
.cmd = BATADV_CMD_GET_ROUTING_ALGOS,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_algo_dump,
},
{
@@ -1397,68 +1397,68 @@ static const struct genl_small_ops batadv_netlink_ops[] = {
{
.cmd = BATADV_CMD_GET_TRANSTABLE_LOCAL,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_tt_local_dump,
},
{
.cmd = BATADV_CMD_GET_TRANSTABLE_GLOBAL,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_tt_global_dump,
},
{
.cmd = BATADV_CMD_GET_ORIGINATORS,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_orig_dump,
},
{
.cmd = BATADV_CMD_GET_NEIGHBORS,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_hardif_neigh_dump,
},
{
.cmd = BATADV_CMD_GET_GATEWAYS,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_gw_dump,
},
{
.cmd = BATADV_CMD_GET_BLA_CLAIM,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_bla_claim_dump,
},
{
.cmd = BATADV_CMD_GET_BLA_BACKBONE,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_bla_backbone_dump,
},
{
.cmd = BATADV_CMD_GET_DAT_CACHE,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_dat_cache_dump,
},
{
.cmd = BATADV_CMD_GET_MCAST_FLAGS,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.dumpit = batadv_mcast_flags_dump,
},
{
.cmd = BATADV_CMD_SET_MESH,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.doit = batadv_netlink_set_mesh,
.internal_flags = BATADV_FLAG_NEED_MESH,
},
{
.cmd = BATADV_CMD_SET_HARDIF,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.doit = batadv_netlink_set_hardif,
.internal_flags = BATADV_FLAG_NEED_MESH |
BATADV_FLAG_NEED_HARDIF,
@@ -1474,7 +1474,7 @@ static const struct genl_small_ops batadv_netlink_ops[] = {
{
.cmd = BATADV_CMD_SET_VLAN,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .flags = GENL_ADMIN_PERM,
+ .flags = GENL_UNS_ADMIN_PERM,
.doit = batadv_netlink_set_vlan,
.internal_flags = BATADV_FLAG_NEED_MESH |
BATADV_FLAG_NEED_VLAN,
1 year, 2 months
[alfred] tag 'v2021.4' created
by postmaster@open-mesh.org
Repository : ssh://git@diktynna/alfred
New tag : v2021.4
Referencing: a9beb5057f2a651dd69121650c127315d3137a11
1 year, 2 months
[alfred] master: alfred: Update CHANGELOG for upcoming release (36746d9)
by postmaster@open-mesh.org
Repository : ssh://git@diktynna/alfred
On branch : master
>---------------------------------------------------------------
commit 36746d942fbfe3b2a2c6982084367abdc83396a2
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Fri Nov 19 15:15:18 2021 +0100
alfred: Update CHANGELOG for upcoming release
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
36746d942fbfe3b2a2c6982084367abdc83396a2
CHANGELOG.rst | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index a6aa639..8744ed2 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,5 +1,10 @@
.. SPDX-License-Identifier: GPL-2.0
+2021.4 (2021-11-19)
+===================
+
+* (no changes)
+
2021.3 (2021-09-14)
===================
1 year, 2 months
[alfred] master: alfred: Start new development cycle (b741454)
by postmaster@open-mesh.org
Repository : ssh://git@diktynna/alfred
On branch : master
>---------------------------------------------------------------
commit b7414541a08288835cea72a36ac20a4b6a8f2508
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Fri Nov 19 15:15:49 2021 +0100
alfred: Start new development cycle
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
b7414541a08288835cea72a36ac20a4b6a8f2508
alfred.h | 2 +-
gpsd/alfred-gpsd.h | 2 +-
vis/vis.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/alfred.h b/alfred.h
index ce2ca07..d844261 100644
--- a/alfred.h
+++ b/alfred.h
@@ -7,7 +7,7 @@
*/
#ifndef SOURCE_VERSION
-#define SOURCE_VERSION "2021.4"
+#define SOURCE_VERSION "2022.0"
#endif
#include <net/ethernet.h>
diff --git a/gpsd/alfred-gpsd.h b/gpsd/alfred-gpsd.h
index a65cb32..93a41c5 100644
--- a/gpsd/alfred-gpsd.h
+++ b/gpsd/alfred-gpsd.h
@@ -25,7 +25,7 @@
#include "../list.h"
#ifndef SOURCE_VERSION
-#define SOURCE_VERSION "2021.4"
+#define SOURCE_VERSION "2022.0"
#endif
#define ALFRED_SOCK_PATH_DEFAULT "/var/run/alfred.sock"
diff --git a/vis/vis.h b/vis/vis.h
index 6b5d6d0..a60a9d6 100644
--- a/vis/vis.h
+++ b/vis/vis.h
@@ -14,7 +14,7 @@
#ifndef SOURCE_VERSION
-#define SOURCE_VERSION "2021.4"
+#define SOURCE_VERSION "2022.0"
#endif
#define ALFRED_SOCK_PATH_DEFAULT "/var/run/alfred.sock"
1 year, 2 months
[batctl] tag 'v2021.4' created
by postmaster@open-mesh.org
Repository : ssh://git@diktynna/batctl
New tag : v2021.4
Referencing: 9b9817a2bce4900a41a5b39d0b2931f49117e28d
1 year, 2 months
[batctl] master: batctl: Update CHANGELOG for upcoming release (84ebff5)
by postmaster@open-mesh.org
Repository : ssh://git@diktynna/batctl
On branch : master
>---------------------------------------------------------------
commit 84ebff5dfd3dc60fa77fdc6df87ca82a5d3ba5da
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Fri Nov 19 15:13:08 2021 +0100
batctl: Update CHANGELOG for upcoming release
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
84ebff5dfd3dc60fa77fdc6df87ca82a5d3ba5da
CHANGELOG.rst | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 4ef9b05..678767c 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,5 +1,10 @@
.. SPDX-License-Identifier: GPL-2.0
+2021.4 (2021-11-19)
+===================
+
+* (no changes)
+
2021.3 (2021-09-14)
===================
1 year, 2 months
[batctl] master: batctl: Start new development cycle (e45cb92)
by postmaster@open-mesh.org
Repository : ssh://git@diktynna/batctl
On branch : master
>---------------------------------------------------------------
commit e45cb92d8c62c5e0183182dc3a7f4eb05270df19
Author: Simon Wunderlich <sw(a)simonwunderlich.de>
Date: Fri Nov 19 15:13:27 2021 +0100
batctl: Start new development cycle
Signed-off-by: Simon Wunderlich <sw(a)simonwunderlich.de>
>---------------------------------------------------------------
e45cb92d8c62c5e0183182dc3a7f4eb05270df19
main.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.h b/main.h
index 4efd587..ef9ff56 100644
--- a/main.h
+++ b/main.h
@@ -17,7 +17,7 @@
#include <netlink/netlink.h>
#ifndef SOURCE_VERSION
-#define SOURCE_VERSION "2021.4"
+#define SOURCE_VERSION "2022.0"
#endif
#define EXIT_NOSUCCESS 2
1 year, 2 months