Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by gmueckl on Tuesday August 17, 2021 @06:16PM
(#28215452)
Nah, the readlink on exe looks like it's simply to query the real name of the executable, so that's pretty benign.
[ Parent
| on HN ]
Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by nonameiguess on Tuesday August 17, 2021 @07:19PM
(#28215900)
I believe they mean grab the absolute path to the real executable, run ldd against it, and parse that output to see if it links against libX11. That doesn't tell you a program is really using X11, though, as plenty have some sort of no-gui option to launch without a window. You can always cat /proc/{PID}/maps to see if libx11 is actually loaded into the process' address space, and just use readlink on exe to figure out the application name.
That's a really stupid way to figure out if a program has a window, though, compared to just using the X11 API directly.
Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by gmueckl on Tuesday August 17, 2021 @08:18PM
(#28216320)
Do you have evidence of old being executed or similar? The posted strace log section is fairly benign and shows no hints of what you insinuate.
Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by nonameiguess on Wednesday August 18, 2021 @08:27AM
(#28220159)
Nope, and I'm not going to run zoom to find out. To be perfectly clear, I'm not at all trying to say I have evidence that this is what zoom is actually doing. I'm trying to say I believe this is what the upper-level post was suggesting zoom is doing.
Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by woodruffw on Tuesday August 17, 2021 @10:17PM
(#28217112)
You wouldn’t actually need to execute `ldd` to get this information: you could parse the ELF entirely in user space. That, in turn, wouldn’t show up in the `strace` logs, since there would be no syscalls. I think that’s extremely unlikely, but it’s certainly possible.
Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by IgorPartola on Wednesday August 18, 2021 @12:38AM
(#28217831)
Reading the file would show up as syscalls.
Re:Ask HN: Why does Zoom Desktop examine all processes and a...
by woodruffw on Wednesday August 18, 2021 @11:20AM
(#28222385)
Sure, but you could minimize it to just two: the `open` that we already see here, and an `mmap` that maps the entire thing in. The rest could be in userspace (at least in terms of effects). We only have an excerpt of the syscall trace, so it's possible that happens.
But again: extraordinarily unlikely.