FreeBSD src
Go to file
Konstantin Belousov 7cb40543e9 filt_timerexpire: do not iterate over the interval
User-supplied data might make this loop too time-consuming. Divide
directly, and handle both the possibility that we were woken up earlier,
and arithmetic overflows/underflows from the calculation.

Reported and tested by:	pho (previous version)
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D30069
2021-05-03 19:49:54 +03:00
.github/workflows Enable GitHub actions CI for stable/13 as well 2021-04-20 09:51:33 +01:00
bin sh: fix debug build 2021-04-11 09:23:14 +02:00
cddl dtrace tests: Fix tst.system.d after ping/ping6 unification 2021-04-23 10:28:09 -04:00
contrib less: upgrade to v581.2. 2021-05-01 23:16:08 -07:00
crypto Revert "Add workaround for a QoS-related bug in VMWare Workstation." 2021-04-25 17:17:22 -04:00
etc daemon: add some basic tests 2021-05-03 09:55:40 -06:00
gnu
include Fix build with WITHOUT_AUDIT=yes in src.conf 2021-04-15 14:11:13 +02:00
kerberos5
lib Add ptrace(PT_COREDUMP) 2021-05-03 19:18:26 +03:00
libexec service/ipfw: Silence warning on restart 2021-05-03 12:27:20 +02:00
release arm: add a release conf for distribution files 2021-04-29 10:10:08 -03:00
rescue
sbin ifconfig: Minor documentation fix 2021-05-03 14:38:52 +03:00
secure Revert "Add workaround for a QoS-related bug in VMWare Workstation." 2021-04-25 17:17:22 -04:00
share Add myself (vishwin) as a ports committer 2021-05-02 10:20:46 -04:00
stand EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
sys filt_timerexpire: do not iterate over the interval 2021-05-03 19:49:54 +03:00
targets Remove kgmon(8) 2021-04-04 00:50:28 +03:00
tests pf tests: Test scrub fragment reassemble on interfaces with different MTU 2021-04-30 08:19:47 +02:00
tools stress2: Added a regression test 2021-05-03 09:08:43 +02:00
usr.bin gcore: add option to dump core using kernel facility 2021-05-03 19:18:26 +03:00
usr.sbin daemon: add some basic tests 2021-05-03 09:55:40 -06:00
.arcconfig Remove history.immutable from .arcconfig 2021-04-13 12:36:25 +01:00
.arclint
.cirrus.yml Cirrus-CI: use FreeBSD 13.0 image for base system CI build 2021-04-19 15:23:14 -04:00
.clang-format
.gitattributes
.gitignore
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc ndis: remove leftover ndis_events binary and manpage 2021-05-03 18:37:42 +02:00
README.md
RELNOTES Spellcheck. 2021-04-12 15:12:19 -07:00
UPDATING UPDATING: add an entry for commit 8759773148 2021-04-26 16:47:15 -07:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Various commands and libraries under the GNU Public License. Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources.
sys/arch/conf Kernel configuration files. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries.
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.