Go to file
Mina Galić f4613af424 kldxref: Fix maketempfile function's way of finding the root dir
Rather than assuming that the "root" is passed as directory and will be
marked by a trailing slash, we just assume that the directory, which has
been checked previously to be a directory, is a directory.

This fixes an inconsistency between `kldxref /boot/modules`, which tries
to create the temp file in `/boot/`, and `kldxref /boot/modules/`, which
tries to create it in `/boot/modules/` itself.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1093
2024-02-02 08:35:49 -07:00
.cirrus-ci
.github github: Enable github workflow output from checkstyle9.pl 2024-02-01 22:53:58 -07:00
bin chflags(1): obey siginfo request on chflagsat(2) failure 2024-01-30 22:21:55 +02:00
cddl
contrib contrib/tzdata: import tzdata 2024a 2024-02-02 10:01:39 +08:00
crypto
etc Minor change to update these files so new freebsd*.cf files are 2024-02-01 00:27:37 +00:00
gnu
include Linux 6.8 compat: handle mnt_idmap user_namespace change 2024-01-29 11:36:07 -08:00
kerberos5
lib libthr: Force the thr_wake() symbol to be resolved during initialization 2024-02-02 10:32:30 -05:00
libexec rtld-elf: Avoid unnecessary lock_restart_for_upgrade() calls 2024-02-02 09:39:54 -05:00
release Revert "pkgbase: Create a FreeBSD-dtb package" 2024-02-02 11:39:51 +01:00
rescue
sbin pflowctl: add missing break to case 's' 2024-02-01 17:03:12 -05:00
secure
share share/examples/IPv6/USAGE: remove 2024-02-02 08:30:18 -07:00
stand kboot: update copyright on these files. 2024-01-28 13:04:32 -07:00
sys unix/dgram: don't clear so_error in case of MSG_PEEK 2024-02-01 13:37:26 -08:00
targets
tests tests/netinet: add a demo of TCP implied connect 2024-02-01 13:43:36 -08:00
tools checkstyle9.pl: Differentiate errors and warnings 2024-02-02 00:24:32 -07:00
usr.bin freebsd-tips: freebsd-update fetch, then install 2024-02-02 08:25:44 -07:00
usr.sbin kldxref: Fix maketempfile function's way of finding the root dir 2024-02-02 08:35:49 -07:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.git-blame-ignore-revs
.gitattributes
.gitignore
.mailmap
CONTRIBUTING.md
COPYRIGHT
LOCKS
MAINTAINERS
Makefile Import tzdata 2024a 2024-02-02 09:53:59 +08:00
Makefile.inc1 Revert "pkgbase: Create a FreeBSD-dtb package" 2024-02-02 11:39:51 +01:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc callout: retire callout_async_drain() 2024-01-24 09:33:27 -08:00
README.md
RELNOTES RELNOTES: document powerd enable on RPI images 2024-01-30 14:16:51 -06:00
UPDATING Add a note about sendmail 8.18.1's stricter SMTP protocol enforcement 2024-02-01 00:21:15 +00: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.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

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 (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
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.