mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
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.
This commit is contained in:
parent
9799b0e679
commit
f1d60d6009
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue