History log of /src/lib/libsys/listen.2 (Results 1 – 25 of 42)
Revision Date Author Comments
# 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/


# 4824d788 30-Apr-2023 Eugene Grosbein <eugen@FreeBSD.org>

listen(2): improve administrator control over logging

As documented in listen.2 manual page, the kernel emits a LOG_DEBUG
syslog message if a socket listen queue overflows. For some appliances,
it m

listen(2): improve administrator control over logging

As documented in listen.2 manual page, the kernel emits a LOG_DEBUG
syslog message if a socket listen queue overflows. For some appliances,
it may be desirable to change the priority to some higher value
like LOG_INFO while keeping other debugging suppressed.

OTOH there are cases when such overflows are normal and expected.
Then it may be desirable to suppress overflow logging altogether,
so that dmesg buffer is not flooded over long run.

In addition to existing sysctl kern.ipc.sooverinterval,
introduce new sysctl kern.ipc.sooverprio that defaults to 7 (LOG_DEBUG)
to preserve current behavior. It may be changed to any value
in a range of 0..7 for corresponding priority or to -1 to suppress logging.
Document it in the listen.2 manual page.

MFC after: 1 month

show more ...


# bc0d4076 12-Oct-2022 Michael Tuexen <tuexen@FreeBSD.org>

Revert "listen(): improve POSIX compliance"

This reverts commit 76e6e4d72f8d3da7d19242f303bc95461fde7fb9.

Several programs in the tree use -1 instead of INT_MAX to use
the maximum value. Thanks to

Revert "listen(): improve POSIX compliance"

This reverts commit 76e6e4d72f8d3da7d19242f303bc95461fde7fb9.

Several programs in the tree use -1 instead of INT_MAX to use
the maximum value. Thanks to Eugene Grosbein for pointing this
out.

show more ...


# 76e6e4d7 11-Oct-2022 Michael Tuexen <tuexen@FreeBSD.org>

listen(): improve POSIX compliance

Ensure that a negative backlog argument is handled as it if was 0.

Reviewed by: markj@, glebius@
Sponsored by: Netflix, Inc.
Differential Revision: https://revi

listen(): improve POSIX compliance

Ensure that a negative backlog argument is handled as it if was 0.

Reviewed by: markj@, glebius@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D31821

show more ...


# fb401f1b 14-Apr-2020 Jonathan T. Looney <jtl@FreeBSD.org>

Make sonewconn() overflow messages have per-socket rate-limits and values.

sonewconn() emits debug-level messages when a listen socket's queue
overflows. Currently, sonewconn() tracks overflows on a

Make sonewconn() overflow messages have per-socket rate-limits and values.

sonewconn() emits debug-level messages when a listen socket's queue
overflows. Currently, sonewconn() tracks overflows on a global basis. It
will only log one message every 60 seconds, regardless of how many sockets
experience overflows. And, when it next logs at the end of the 60 seconds,
it records a single message referencing a single PCB with the total number
of overflows across all sockets.

This commit changes to per-socket overflow tracking. The code will now
log one message every 60 seconds per socket. And, the code will provide
per-socket queue length and overflow counts. It also provides a way to
change the period between log messages using a sysctl.

Reviewed by: jhb (previous version), bcr (manpages)
MFC after: 2 weeks
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D24316

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.


# 92511d10 15-Jul-2014 Kevin Lo <kevlo@FreeBSD.org>

Document that listen(2) can fail with EDESTADDRREQ.


# dc00208e 20-Oct-2012 Andre Oppermann <andre@FreeBSD.org>

Grammar fixes to r241781.

Submitted by: alc


# 2bdf61ca 20-Oct-2012 Andre Oppermann <andre@FreeBSD.org>

Hide the unfortunate named sysctl kern.ipc.somaxconn from sysctl -a
output and replace it with a new visible sysctl kern.ipc.acceptqueue
of the same functionality. It specifies the maximum length of

Hide the unfortunate named sysctl kern.ipc.somaxconn from sysctl -a
output and replace it with a new visible sysctl kern.ipc.acceptqueue
of the same functionality. It specifies the maximum length of the
accept queue on a listen socket.

The old kern.ipc.somaxconn remains available for reading and writing
for compatibility reasons so that existing programs, scripts and
configurations continue to work. There no plans to ever remove the
orginal and now hidden kern.ipc.somaxconn.

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.


# a73a3ab5 17-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# 83c83f3e 29-Aug-2005 Gleb Smirnoff <glebius@FreeBSD.org>

- Document the fact that the real length of listen queue is 1.5 more
than the value of backlog argument.
- Document the fact that a subsequent listen(2) calls on the listening
socket change the b

- Document the fact that the real length of listen queue is 1.5 more
than the value of backlog argument.
- Document the fact that a subsequent listen(2) calls on the listening
socket change the backlog argument.
- Note that current listen queue lengths can be queried using netstat(1).

Submitted by: Igor Sysoev <is rambler-co.ru>
Wording by: gnn

show more ...


# 1902ba0c 17-Jan-2003 Thomas Moestl <tmm@FreeBSD.org>

Document that listen() can return EINVAL now.


# 2efeeba5 19-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

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


# 2faeeff4 18-Dec-2002 Ruslan Ermilov <ru@FreeBSD.org>

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 ...


# ab955c15 29-May-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup nits.


# 3a0b92ec 08-May-2002 Mike Silbersack <silby@FreeBSD.org>

Some updates to mention accept filters and how
listen queues work in a syncache world.

MFC after: 3 days


# db8caf03 26-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

Remove the internal implementation details of wrapping syscalls,
which do not match the reality anyway.

Approved by: deischen, bde


# 32eef9ae 01-Oct-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: Use the new .In macro for #include statements.


# b1250632 09-Aug-2001 Yaroslav Tykhiy <ytykhiy@gmail.com>

Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.

Reviewed by: ru


# 7ebcc426 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# a307d598 10-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: removed HISTORY info from the .Os call.


12