[CRIU] [PATCH 1/2] zdtm: introduced a local version of O_LARGEFILE

Alexander Kartashov alekskartashov at parallels.com
Tue Jan 29 01:36:21 EST 2013


On 01/29/2013 08:30 AM, Pavel Emelyanov wrote:
> If it's absent, in the distro,

It's not absent, the value in the header doesn't match the value
used by glibc. Particularly, the header declares O_LARGEFILE
to be 0 but the function open still adds the flags O_LARGEFILE
defined as 010000 to a newly opened descriptor that means
that glibc was compiled with other value of the flag.

The test static/file_fown suggests that Cyrill experienced the same
problem that made him to use the value of the flag explicitly.

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list