mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
v4l2: ignore symlinks in case of openat passthrough
This commit is contained in:
parent
ba374a7b47
commit
996f8a5832
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ static int v4l2_openat(int dirfd, const char *requested_path, int oflag, mode_t
|
|||
passthrough = false;
|
||||
}
|
||||
if (passthrough)
|
||||
return globals.old_fops.openat(dirfd, path, oflag, mode);
|
||||
return globals.old_fops.openat(dirfd, requested_path, oflag, mode);
|
||||
|
||||
pw_log_info("path:%s oflag:%d mode:%d", path, oflag, mode);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue