mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-22 08:17:11 +00:00
socket: fix access mode verification of FIFOs
This commit is contained in:
parent
8fe914ec81
commit
de0200fca5
@ -686,7 +686,7 @@ static int fifo_address_create(
|
||||
}
|
||||
|
||||
if (!S_ISFIFO(st.st_mode) ||
|
||||
st.st_mode != (socket_mode & ~old_mask) ||
|
||||
(st.st_mode & 0777) != (socket_mode & ~old_mask) ||
|
||||
st.st_uid != getuid() ||
|
||||
st.st_gid != getgid()) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user