Re: [PATCH] process_vm_{read,write}v(3): initial man pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 20, 2012 at 1:50 PM, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> On Monday 19 March 2012 16:45:41 Michael Kerrisk (man-pages) wrote:
>> A quick question about one piece:
>> > +The count values might be individually capped according to
>> > \fIUIO_MAXIOV\fP. +If the Linux kernel is capped at smaller values, the
>> > C library will take care +of emulating the limit it exposes (if it is
>> > bigger) so the user only needs to +care about that (what the C library
>> > defines).
>>
>> I don't see anything in glibc that does this. Have I missed something?
>
> i think you're correct.  the code in glibc atm is merely a syscall().  i think
> the idea was to have the C library guarantee that and if moving forward the
> kernel changes, the C library would update by adding a wrapper.  maybe just
> drop this sentence until that day comes ?

So, does the kernel currently impose a limit on the size of the iovec?
It wasn't immediately clear to me from a quick scan of the source.


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux