RE: [PATCH 6/6] vfs: introduce FMODE_NEG_OFFSET for allowingnegative f_pos
From: Wu, Fengguang
Date: Mon Jan 18 2010 - 00:29:16 EST
> On error, the kernel returns -EOVERFLOW (via %eax) and libc hides
> it by
> errno = EOVERFLOW
> ret = -1
Ah got it. How about the attached patch?
Thanks,
Fengguang
Attachment:
mem-seek-fix
Description: mem-seek-fix