lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <394b5e260906141252g56d4275k185230f724b842ac@mail.gmail.com>
Date:	Sun, 14 Jun 2009 21:52:07 +0200
From:	Paul Martin <srucnoc@...il.com>
To:	netdev@...r.kernel.org
Subject: TCP partial write

Is it possible that a (non-blocking) TCP write(2) will write a number
of bytes not multiple of the machine word size? i.e., could a write
request for 4 bytes return 2?

Also is this an OS-dependent behavior or there is a spec for it? (I
could find atomic guarantees for pipes and datagram sockets but not
for TCP)

Thanks,
Paul
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ