FreeBSD src
Go to file
Andrew Turner cab496e16c Make SHMMAXPGS an unsigned long
This is used to calculate sizes that are then stored in unsigned long
fields. Make this unsigned long so the calculations use this type and
not an int that can lead to an integer overflow with a large PAGE_SIZE.

This allows building this on arm64 with PAGE_SIZE of 16k. Further work
will be needed if a 32-bit architecture tries to use a similar sized
page.

Sponsored by:	The FreeBSD Foundation
2022-03-21 10:27:35 +00:00
.cirrus-ci
.github
bin ps(1): Use calloc instead of malloc and memset. 2022-03-11 10:36:00 +01:00
cddl dtrace tests: Fix expected outout for tst.system.d 2022-03-09 11:39:12 +08:00
contrib Merge libcxxrt commit f2e55091e2e878386c9f7974d4922bbdc4faed84 2022-03-20 22:34:41 +01:00
crypto OpenSSL: Merge OpenSSL 1.1.1n 2022-03-15 19:37:45 -04:00
etc
gnu libdialog: Bump shared library version to 10. 2021-10-27 09:30:24 -07:00
include libzfs, libzfs_core: send: always write to pipe 2022-03-08 09:33:08 -08:00
kerberos5
lib mixer.4 and mixer.8: Fix mandoc -Tlint errors. 2022-03-20 20:21:03 +01:00
libexec zfskeys: Support autoloading of keys stored on ZFS 2022-03-18 14:53:52 +01:00
release Remove "/dev/" from geom name in gpart add command. 2022-03-16 00:09:09 -04:00
rescue
sbin sysctl(8): Mention CTLFLAG_SKIP 2022-03-20 11:30:43 -07:00
secure OpenSSL: Merge OpenSSL 1.1.1n 2022-03-15 19:37:45 -04:00
share Add deprecation notices to ISA sound cards 2022-03-19 14:57:26 -04:00
stand gptboot.8: Fix a typo and fix lint warnings 2022-03-18 11:35:04 +01:00
sys Make SHMMAXPGS an unsigned long 2022-03-21 10:27:35 +00:00
targets Retire obsolete iscsi_initiator(4) 2021-10-26 16:17:35 -04:00
tests netinet tests: only log critical errors from scapy 2022-03-17 23:34:12 +01:00
tools stress2: Limit console warnings 2022-03-18 07:34:07 +01:00
usr.bin procstat: remove set but not used variable 2022-03-18 10:03:56 +01:00
usr.sbin mixer.8: Document shorthand syntax for volume setting. 2022-03-20 20:21:07 +01:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.gitattributes
.gitignore
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1 bootstrap: bump minimum supported version 2022-03-01 22:55:28 -07:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc Correct date in ObsoleteFiles.inc entry 2022-03-18 21:33:10 -04:00
README.md
RELNOTES
UPDATING

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 Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). 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.