| #
8269e767
|
| 14-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libsys: relocate implementations and manpages
Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths
libsys: relocate implementations and manpages
Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths to allow libc to find them in their new home.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
| #
dc36d6f9
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
| #
b2c76c41
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
| #
bea26683
|
| 27-Apr-2020 |
Mark Johnston <markj@FreeBSD.org> |
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ø <knan-bfo@modirum.com> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D24530
show more ...
|
| #
2f2ddd68
|
| 04-Jan-2019 |
Mark Johnston <markj@FreeBSD.org> |
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 <greg@unrelenting.technology> Reviewed by: tuexen MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18728
show more ...
|
| #
c8b8b38e
|
| 19-Aug-2018 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
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 ...
|
| #
fbbd9655
|
| 28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
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 <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
show more ...
|
| #
310d2ce0
|
| 18-Aug-2016 |
Kevin Lo <kevlo@FreeBSD.org> |
Remove <sys/types.h> from the SYNOPSIS.
|
| #
bf420ace
|
| 29-Jan-2016 |
Konstantin Belousov <kib@FreeBSD.org> |
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 <boris.astardzhiev@gmail.com> Discussed with: jilles (cancellation behaviour) MFC after: 1 month
show more ...
|
| #
b89e82dd
|
| 05-Feb-2009 |
Jamie Gritton <jamie@FreeBSD.org> |
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 ...
|
| #
0b329a10
|
| 27-Apr-2007 |
Peter Pentchev <roam@FreeBSD.org> |
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 <kirma@cs.hut.fi> 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 <kirma@cs.hut.fi> Approved by: wollman
show more ...
|
| #
c879ae35
|
| 09-Jan-2007 |
Warner Losh <imp@FreeBSD.org> |
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 <joel@FreeBSD.org> |
Remove reference to T/TCP.
Reviewed by: andre
|
| #
f789cb82
|
| 15-Jun-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Assorted markup fixes.
Approved by: re
|
| #
d025278a
|
| 09-Mar-2005 |
Alfred Perlstein <alfred@FreeBSD.org> |
Make MSG_NOSIGNAL available to native programs. Bump FreeBSD_version to note this change.
Reviewed by: sobomax
|
| #
0227791b
|
| 13-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Expand *n't contractions.
|
| #
7a46d275
|
| 24-Jan-2005 |
Giorgos Keramidas <keramida@FreeBSD.org> |
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 <cejkar@fit.vutbr.cz> 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 <cejkar@fit.vutbr.cz> PR: docs/76399 MFC after: 1 week
show more ...
|
| #
24a0682c
|
| 20-Jan-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sort sections.
|
| #
1a0a9345
|
| 02-Jul-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Mechanically kill hard sentence breaks.
|
| #
33992dc0
|
| 30-Jun-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Markup, grammar, and spelling fixes.
|
| #
f01a7458
|
| 24-Jun-2004 |
Roman Kurakin <rik@FreeBSD.org> |
s/SS_CANTSENDMORE/SBS_CANTSENDMORE/
|
| #
3c6dd63b
|
| 21-Jun-2004 |
Mike Pritchard <mpp@FreeBSD.org> |
Spelling fixes.
|
| #
1f953480
|
| 11-May-2004 |
Christian S.J. Peron <csjp@FreeBSD.org> |
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 ...
|
| #
6fac181c
|
| 10-Sep-2003 |
Ollivier Robert <roberto@FreeBSD.org> |
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 <maneo@bsdpro.com> MFC after: 3 days
|
| #
2efeeba5
|
| 19-Dec-2002 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: "The .Fa argument.".
|