1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00
systemd/docs
Jason A. Donenfeld ffa047a03e random-util: remove RDRAND usage
/dev/urandom is seeded with RDRAND. Calling genuine_random_bytes(...,
..., 0) will use /dev/urandom as a last resort. Hence, we gain nothing
here by having our own RDRAND wrapper, because /dev/urandom already is
based on RDRAND output, even before /dev/urandom has fully initialized.

Furthermore, RDRAND is not actually fast! And on each successive
generation of new x86 CPUs, from both AMD and Intel, it just gets
slower.

This commit simplifies things by just using /dev/urandom in cases where
we before might use RDRAND, since /dev/urandom will always have RDRAND
mixed in as part of it.

And above where I say "/dev/urandom", what I actually mean is
GRND_INSECURE, which is the same thing but won't generate warnings in
dmesg.
2022-03-14 19:47:13 +00:00
..
_data docs: beef up entrypoint documentation page 2019-12-11 10:53:14 +01:00
_includes Update footer.html 2022-02-08 21:59:10 +01:00
_layouts docs: mark spdx headers with the default license to website files 2021-10-18 09:43:18 +02:00
assets docs: mark spdx headers with the default license to website files 2021-10-18 09:43:18 +02:00
fonts docs: make it pretty 2019-12-11 17:04:20 +01:00
sysvinit build: preserve correct mode when generating files via jinja2 2021-11-08 12:06:48 +00:00
var-log docs: move /var/log/README to a tmpfiles.d symlink 2021-07-21 17:29:06 +02:00
_config.yml docs: use https:// for fd.o links 2022-01-12 16:05:59 +01:00
.gitattributes docs: mark spdx headers with the default license to website files 2021-10-18 09:43:18 +02:00
.gitignore gitignore: add jekyll cache directory 2021-06-24 10:20:29 +02:00
ARCHITECTURE.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
AUTOMATIC_BOOT_ASSESSMENT.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
BLOCK_DEVICE_LOCKING.md doc: fix error code 2022-03-13 10:24:45 +00:00
BOOT_LOADER_INTERFACE.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
BOOT_LOADER_SPECIFICATION.md doc: rebreak boot loader spec 2021-11-19 15:40:08 +01:00
CGROUP_DELEGATION.md docs: make clear that if you use threaded cgroups you need to do that two levels down from your delegated cgroup 2022-02-14 19:06:40 +00:00
CNAME Create CNAME 2018-10-12 13:48:34 +02:00
CODE_OF_CONDUCT.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
CODE_QUALITY.md docs: update branch names 2022-01-03 21:15:21 +01:00
CODING_STYLE.md docs: document how we usually define enums 2022-03-14 19:10:11 +00:00
CONTAINER_INTERFACE.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
CONTRIBUTING.md docs: update branch names 2022-01-03 21:15:21 +01:00
CONVERTING_TO_HOMED.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
COREDUMP_PACKAGE_METADATA.md docs: clarify ELF note usage in COREDUMP_PACKAGE_METADATA 2021-11-30 14:42:43 +00:00
DESKTOP_ENVIRONMENTS.md docs: fix typo in key name and adjust grammar a bit 2022-01-10 13:22:48 +01:00
DISCOVERABLE_PARTITIONS.md docs: swap Name and Partition Type UUID in header 2022-02-21 02:46:57 +01:00
DISTRO_PORTING.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
ENVIRONMENT.md random-util: remove RDRAND usage 2022-03-14 19:47:13 +00:00
favicon.png docs: make it pretty 2019-12-11 17:04:20 +01:00
favicon.svg docs: mark spdx headers with the default license to website files 2021-10-18 09:43:18 +02:00
GROUP_RECORD.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
GVARIANT-SERIALIZATION.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
HACKING.md boot: Add gdb support and documentation 2022-01-04 17:23:01 +01:00
HOME_DIRECTORY.md docs: Improve HOME_DIRECTORY.md 2022-02-08 21:06:53 +09:00
index.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
INITRD_INTERFACE.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
JOURNAL_EXPORT_FORMATS.md docs: import the Journal JSON Format description as subsection 2022-01-12 16:05:59 +01:00
JOURNAL_FILE_FORMAT.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
JOURNAL_NATIVE_PROTOCOL.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
PASSWORD_AGENTS.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
PORTABILITY_AND_STABILITY.md docs: promise stability for the journal json format too 2022-01-12 16:05:59 +01:00
PORTABLE_SERVICES.md docs: add more links for portabled 2022-03-07 14:32:16 +01:00
PORTING_TO_NEW_ARCHITECTURES.md random-util: remove RDRAND usage 2022-03-14 19:47:13 +00:00
PREDICTABLE_INTERFACE_NAMES.md docs: use https:// for fd.o links 2022-01-12 16:05:59 +01:00
RANDOM_SEEDS.md random-util: remove RDRAND usage 2022-03-14 19:47:13 +00:00
RELEASE.md docs: update branch names 2022-01-03 21:15:21 +01:00
RESOLVED-VPNS.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
ROOT_STORAGE_DAEMONS.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
SECURITY.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
style.css docs: mark spdx headers with the default license to website files 2021-10-18 09:43:18 +02:00
TEMPORARY_DIRECTORIES.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
TESTING_WITH_SANITIZERS.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
TRANSIENT-SETTINGS.md core: add missing dependency DBus properties 2022-01-16 14:05:33 +00:00
TRANSLATORS.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
UIDS-GIDS.md docs: document homed's use of the container UID mapping 2022-02-16 13:37:01 +01:00
USER_GROUP_API.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
USER_NAMES.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00
USER_RECORD.md docs: fix typos and improve language 2022-01-26 22:35:33 +00:00
USERDB_AND_DESKTOPS.md docs: add spdx tags to all .md files 2021-09-27 09:19:02 +02:00