write system call violates POSIX standard

Nicolas Bourdaud nicolas.bourdaud at gmail.com
Wed Feb 15 16:45:21 UTC 2012

Hi Konstantin,

On 15/02/2012 17:38, Konstantin Belousov wrote:
> It seems that you are right.
> A solution could be to return an error if uio->uio_offset itself is
> larger them RLIMIT_FSIZE. If it is less then the limit, the function
> could trim the supplied uio at the RLIMIT_FSIZE value instead.
> Do you want to work on the patch ?

Oooohhh, no I don't know freebsd kernel enough for this!!!! I hit the
problem for a Debian package. So I am just reporting the bug :-). Bruce
Evans seems to have also ideas about the underlying problem, see his
comments in the bug report:

Good luck!



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-standards/attachments/20120215/4aac549a/signature.pgp

More information about the freebsd-standards mailing list