HardenedBSD src tree
Go to file
Eric van Gyzen 9e6158d274 uefisign: fix handling of errors from child proc
Close the unused pipe file descriptors so the parent will notice if
the child exits prematurely.  Previously, the parent would block
forever on a read from the pipe.

    $ uefisign -c foo.cert -k foo.key -o loader.efi loader.efi.unsigned
    uefisign: section points inside the headers
    load: 0.06  cmd: uefisign 4502 [piperd] 7.25r 0.00u 0.00s 0% 5968k
    ... _sleep+0x1be pipe_read+0x3d6 kern_readv+0x8c sys_read+0x83 ...

Reviewed by:	trasz
MFC after:	1 week
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D29605
2021-04-06 12:13:59 -05:00
.github/workflows
bin sh: silence sanitizer 2021-04-01 07:31:03 +02:00
cddl dtrace: Document the libdir, nolibs and syslibdir options 2021-04-02 17:42:38 -04:00
contrib Merge commit '7a590c074ceede12b2b6e794f8703d6fa5749918' 2021-04-06 10:48:09 +02:00
crypto OpenSSL: Merge OpenSSL 1.1.1k 2021-03-25 11:45:19 -04:00
etc base: remove if_wg(4) and associated utilities, manpage 2021-03-17 09:14:48 -05:00
gnu dialog: fix macro redefinition 2021-03-01 16:01:44 +01:00
include Vendor import of Gavin D. Howard's bc version 4.0.0 2021-04-06 10:44:52 +02:00
kerberos5 kerberos5: fix the WITH_OPENLDAP build 2021-01-30 00:07:50 -06:00
lib rtld dl_iterate_phdr(): dlpi_tls_data is wrong 2021-04-06 03:23:08 +03:00
libexec rtld dl_iterate_phdr(): dlpi_tls_data is wrong 2021-04-06 03:23:08 +03:00
release release: move installworld before installkernel 2021-04-05 13:16:01 -04:00
rescue
sbin ffsinfo: Update example to avoid to-be-deprecated vinum 2021-04-03 16:29:14 -04:00
secure OpenSSL: Regen manual pages for 1.1.1k 2021-03-25 12:17:52 -04:00
share Remove kgmon(8) 2021-04-04 00:50:28 +03:00
stand gptboot.efi: Add man page 2021-04-05 23:57:57 -06:00
sys pci_user: fix build for 32-bit platforms 2021-04-06 18:50:36 +02:00
targets Remove kgmon(8) 2021-04-04 00:50:28 +03:00
tests Vendor import of Gavin D. Howard's bc version 4.0.0 2021-04-06 10:44:52 +02:00
tools stress2: Added a new regression test 2021-04-04 10:36:09 +02:00
usr.bin [bc] Update to version 4.0.0 2021-04-06 11:57:07 +02:00
usr.sbin uefisign: fix handling of errors from child proc 2021-04-06 12:13:59 -05:00
.arcconfig
.arclint
.cirrus.yml Cirrus-CI: Add more information to help track down disk full issues 2021-03-03 11:51:08 -05:00
.clang-format
.gitattributes
.gitignore
COPYRIGHT
LOCKS
MAINTAINERS
Makefile Fix 'make bmake' top-level bootstrapping. 2021-03-06 09:45:08 -08:00
Makefile.inc1 Makefile.inc1: unbreak bootstrap when kbdcontrol does not exist 2021-03-23 20:47:14 -04:00
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc Remove kgmon(8) 2021-04-04 00:50:28 +03:00
README.md Vendor import of Gavin D. Howard's bc version 4.0.0 2021-04-06 10:44:52 +02:00
RELNOTES
UPDATING UPDATING: Add an entry for commit 01ae8969a9. 2021-03-30 14:43:53 -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.