Posts

Showing posts from November 29, 2018

Hollywood

Image
For the U.S. motion picture industry, see Cinema of the United States. For other uses, see Hollywood (disambiguation). "Tinseltown" redirects here. For the book by William J. Mann, see Tinseltown: Murder, Morphine, and Madness at the Dawn of Hollywood. Neighborhood of Los Angeles in Los Angeles, California, United States Hollywood Neighborhood of Los Angeles Hollywood as seen from the Hollywood Sign Map of the Hollywood neighborhood of Los Angeles as delineated by the Los Angeles Times Hollywood Location within Central Los Angeles Coordinates: 34°6′0″N 118°20′0″W  /  34.10000°N 118.33333°W  / 34.10000; -118.33333 Country   United States State   California City   Los Angeles Elevation [1] 108 m (354 ft) Area code 323 Primary Airport Los Angeles International Airport LAX (Major/International) Secondary Airport Hollywood Burbank Airport- BUR (Regional) Van Nuys Airport- VNY (Regional) Long Beach Airport- LGB (Regional) U.S. Routes US 101 State Routes SR 2 Rapid Transit Holl

What system call does Evince use to open pdf?

Image
Clash Royale CLAN TAG #URR8PPP up vote 2 down vote favorite I have tried to hook system calls using linux kernel module. However, when I open a pdf file using Evince, I find no open , read and write is used on this specific file, only lstat is used. Here is the strace log of strace evince folder1/test.pdf So I wonder what system call does evince use to open and read from file? ubuntu linux-kernel system-calls read evince share | improve this question asked Nov 23 at 1:00 user6456568 20 3 2 Try strace with the -f (follow) option, since the clone call creates a subprocess. – Thomas Dickey Nov 23 at 1:24 @ThomasDickey Thanks, I've updated the log in the link. Now I can see open("/home/xytao/folder1/test.pdf", O_RDONLY) in line 5376, but I still don't see read , maybe because it's using pread ? – user6456568 Nov 23 at 1:36 perhaps the socket I/O is what's doing it - or pread