History log of /freebsd-14.2/lib/libc/sys/send.2 (Results 1 – 25 of 43)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# b2c76c41 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0
# bea26683 27-Apr-2020 Mark Johnston <[email protected]>

Document handling of connection-mode sockets by sendto(2).

sendto(2), sendmsg(2) and sendmmsg(2) return ENOTCONN if a destination
address is specified and the socket is not connected and the socket

Document handling of connection-mode sockets by sendto(2).

sendto(2), sendmsg(2) and sendmmsg(2) return ENOTCONN if a destination
address is specified and the socket is not connected and the socket
protocol does not automatically connect ("implied connect"). Document
that. Also document the fact that the destination address is ignored
for connection-mode sockets if the socket is already connected.

PR: 245817
Submitted by: Erik Inge Bolsø <[email protected]>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24530

show more ...


Revision tags: release/12.1.0, release/11.3.0
# 2f2ddd68 04-Jan-2019 Mark Johnston <[email protected]>

Support MSG_DONTWAIT in send*(2).

As it does for recv*(2), MSG_DONTWAIT indicates that the call should
not block, returning EAGAIN instead. Linux and OpenBSD both implement
this, so the change make

Support MSG_DONTWAIT in send*(2).

As it does for recv*(2), MSG_DONTWAIT indicates that the call should
not block, returning EAGAIN instead. Linux and OpenBSD both implement
this, so the change makes porting easier, especially since we do not
return EINVAL or so when unrecognized flags are specified.

Submitted by: Greg V <[email protected]>
Reviewed by: tuexen
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D18728

show more ...


Revision tags: release/12.0.0
# c8b8b38e 19-Aug-2018 Mateusz Piotrowski <[email protected]>

Document socket control message routines for ancillary data access (CMSG_DATA).

PR: 227777
Reviewed by: bcr, eadler
Approved by: mat (mentor), manpages (bcr)
Obtained from: OpenBSD
Differential Rev

Document socket control message routines for ancillary data access (CMSG_DATA).

PR: 227777
Reviewed by: bcr, eadler
Approved by: mat (mentor), manpages (bcr)
Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D15215

show more ...


Revision tags: release/11.2.0, release/10.4.0, release/11.1.0
# fbbd9655 28-Feb-2017 Warner Losh <[email protected]>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <[email protected]>
Pull Request: https://github.com/freebsd/freebsd/pull/96

show more ...


Revision tags: release/11.0.1, release/11.0.0
# 310d2ce0 18-Aug-2016 Kevin Lo <[email protected]>

Remove <sys/types.h> from the SYNOPSIS.


Revision tags: release/10.3.0
# bf420ace 29-Jan-2016 Konstantin Belousov <[email protected]>

Add implementations of sendmmsg(3) and recvmmsg(3) functions which
wraps sendmsg(2) and recvmsg(2) into batch send and receive operation.
The goal of this implementation is only to provide API compat

Add implementations of sendmmsg(3) and recvmmsg(3) functions which
wraps sendmsg(2) and recvmsg(2) into batch send and receive operation.
The goal of this implementation is only to provide API compatibility
with Linux.

The cancellation behaviour of the functions is not quite right, but
due to relative rare use of cancellation it is considered acceptable
comparing with the complexity of the correct implementation. If
functions are reimplemented as syscalls, the fix would come almost
trivial. The direct use of the syscall trampolines instead of libc
wrappers for sendmsg(2) and recvmsg(2) is to avoid data loss on
cancellation.

Submitted by: Boris Astardzhiev <[email protected]>
Discussed with: jilles (cancellation behaviour)
MFC after: 1 month

show more ...


Revision tags: release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0
# b89e82dd 05-Feb-2009 Jamie Gritton <[email protected]>

Standardize the various prison_foo_ip[46] functions and prison_if to
return zero on success and an error code otherwise. The possible errors
are EADDRNOTAVAIL if an address being checked for doesn't

Standardize the various prison_foo_ip[46] functions and prison_if to
return zero on success and an error code otherwise. The possible errors
are EADDRNOTAVAIL if an address being checked for doesn't match the
prison, and EAFNOSUPPORT if the prison doesn't have any addresses in
that address family. For most callers of these functions, use the
returned error code instead of e.g. a hard-coded EADDRNOTAVAIL or
EINVAL.

Always include a jailed() check in these functions, where a non-jailed
cred always returns success (and makes no changes). Remove the explicit
jailed() checks that preceded many of the function calls.

Approved by: bz (mentor)

show more ...


Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# 0b329a10 27-Apr-2007 Peter Pentchev <[email protected]>

Remove the MSG_PEEK flag from the documentation of the send(2) syscall -
it is only relevant to receiving data from sockets, not to sending.

PR: 109667
Submitted by: Jari Kirma <[email protected]>
Ap

Remove the MSG_PEEK flag from the documentation of the send(2) syscall -
it is only relevant to receiving data from sockets, not to sending.

PR: 109667
Submitted by: Jari Kirma <[email protected]>
Approved by: wollman

show more ...


Revision tags: release/6.2.0_cvs, release/6.2.0
# c879ae35 09-Jan-2007 Warner Losh <[email protected]>

Per Regents of the University of Calfornia letter, remove advertising
clause.

# If I've done so improperly on a file, please let me know.


# f832d58d 13-Sep-2006 Joel Dahl <[email protected]>

Remove reference to T/TCP.

Reviewed by: andre


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0
# f789cb82 15-Jun-2005 Ruslan Ermilov <[email protected]>

Assorted markup fixes.

Approved by: re


Revision tags: release/5.4.0_cvs, release/5.4.0
# d025278a 09-Mar-2005 Alfred Perlstein <[email protected]>

Make MSG_NOSIGNAL available to native programs.
Bump FreeBSD_version to note this change.

Reviewed by: sobomax


# 0227791b 13-Feb-2005 Ruslan Ermilov <[email protected]>

Expand *n't contractions.


# 7a46d275 24-Jan-2005 Giorgos Keramidas <[email protected]>

EISCONN may be returned by sendto() if an attempt is made to specify the
destination address to a datagram socket that is already connected.

Submitted by: Rudolf Cejka <[email protected]>
PR: doc

EISCONN may be returned by sendto() if an attempt is made to specify the
destination address to a datagram socket that is already connected.

Submitted by: Rudolf Cejka <[email protected]>
PR: docs/76399
MFC after: 1 week

show more ...


Revision tags: release/4.11.0_cvs, release/4.11.0
# 24a0682c 20-Jan-2005 Ruslan Ermilov <[email protected]>

Sort sections.


Revision tags: release/5.3.0_cvs, release/5.3.0
# 1a0a9345 02-Jul-2004 Ruslan Ermilov <[email protected]>

Mechanically kill hard sentence breaks.


# 33992dc0 30-Jun-2004 Ruslan Ermilov <[email protected]>

Markup, grammar, and spelling fixes.


# f01a7458 24-Jun-2004 Roman Kurakin <[email protected]>

s/SS_CANTSENDMORE/SBS_CANTSENDMORE/


# 3c6dd63b 21-Jun-2004 Mike Pritchard <[email protected]>

Spelling fixes.


Revision tags: release/4.10.0_cvs, release/4.10.0
# 1f953480 11-May-2004 Christian S.J. Peron <[email protected]>

Document the fact that in a jailed environment, sendto(2) could fail
returning EPERM if the source address specified in the IP header did
not match the address bound to the prison.

Approved by: bmil

Document the fact that in a jailed environment, sendto(2) could fail
returning EPERM if the source address specified in the IP header did
not match the address bound to the prison.

Approved by: bmilekic (mentor)

show more ...


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0
# 6fac181c 10-Sep-2003 Ollivier Robert <[email protected]>

Document the fact that send(2) can return EPIPE (like when a socket is not
connected).

PR: docs/56683
Submitted by: Chris S.J. Peron <[email protected]>
MFC after: 3 days


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0
# 2efeeba5 19-Dec-2002 Ruslan Ermilov <[email protected]>

mdoc(7) police: "The .Fa argument.".


# 2faeeff4 18-Dec-2002 Ruslan Ermilov <[email protected]>

mdoc(7) police: Tidy up the syscall language.

Stop calling system calls "function calls".

Use "The .Fn system call" a-la "The .Nm utility".

When referring to a non-BSD implementation in
the HISTOR

mdoc(7) police: Tidy up the syscall language.

Stop calling system calls "function calls".

Use "The .Fn system call" a-la "The .Nm utility".

When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.

show more ...


Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# b46884b5 05-Nov-2001 Dima Dorfman <[email protected]>

Document ENETDOWN.

PR: 31436
Submitted by: Milon Papezik <[email protected]>


12