summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2019-08-19 12:31:38 +0300
committerWim Taymans <wim.taymans@gmail.com>2019-08-19 16:34:18 +0200
commitf1d60d6009d989edeaba608bb21c61811865de67 (patch)
tree00bfd4245d5dc2b53cf7ec0a19dae461a1ad50b7 /src/modules
parent9799b0e6799591a5652d803bdf2c5756c1fe72ec (diff)
protocol-native: downgrade getsockopt SO_PEERSEC error to warning
Getting SO_PEERSEC on distributions that do not use a LSM by default, results always in a "protocol error", which is just annoying and not a real problem for pipewire's operation.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-protocol-native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c
index 8bba3abc..e204a8b7 100644
--- a/src/modules/module-protocol-native.c
+++ b/src/modules/module-protocol-native.c
@@ -277,7 +277,7 @@ static struct pw_client *client_new(struct server *s, int fd)
len = sizeof(buffer);
if (getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buffer, &len) < 0) {
- pw_log_error("server %p: no peersec: %m", s);
+ pw_log_warn("server %p: no peersec: %m", s);
} else {
pw_properties_setf(props, PW_KEY_SEC_LABEL, "%s", buffer);
}