Xi Ruoyao
6cfe855a16
dependencies: remove patch runtime dependency on itself
...
Reported-by: Rahul Chandra <rahulshaku2@gmail.com>
2022-09-18 12:27:44 +08:00
Xi Ruoyao
ade96029ad
dependencies: bump grep external dependency on PCRE
...
It now checks for libpcre2-8, so link to PCRE2 instead of PCRE1.
2022-09-18 12:27:44 +08:00
Bruce Dubbs
4fb696f91c
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
2022-09-17 15:45:24 -05:00
Bruce Dubbs
13342a0718
Currency updates.
...
Fix currency for iana-etc, meson, and shadow due to the way github
changes when accessing pages via wget.
2022-09-17 15:43:51 -05:00
Xi Ruoyao
b6a6f6c791
afterlfs: use entity for root user
2022-09-18 00:17:12 +08:00
Xi Ruoyao
43e4861936
afterlfs: "links" -> "links or lynx"
...
Lynx has a slight advantage: no recommended dependencies.
2022-09-18 00:16:00 +08:00
Xi Ruoyao
9bbfbeabc9
afterlfs: tweak key combination description
...
Use DocBook <keycombo><keycap> to decorate the keys. Change "Fn" to
"Fx" because some small keyboards have a "Fn" (function) key to
multiplex keys.
2022-09-18 00:13:14 +08:00
Xi Ruoyao
9f8335ee8d
afterlfs: several fixes
...
- Use <emphasis role="bold"> for bold, instead of <command>.
- Remove "X window" as some graphical environments are Wayland-based.
- "Full BLFS" -> "BLFS", and "partial BLFS" -> "basic LFS" (I guess some
content is copied from Basic BLFS).
2022-09-17 21:06:14 +08:00
Pierre Labastie
226784a1cb
afterlfs: Fix blfs "links" url
2022-09-17 14:57:01 +02:00
Pierre Labastie
afd19ad54a
afterlfs: typo and add dependencies of make-ca
2022-09-17 14:52:38 +02:00
Xi Ruoyao
59350d1c7b
afterlfs: remove trailing spaces, and fix two obvious "- -"
2022-09-17 20:36:13 +08:00
Xi Ruoyao
46b05a0832
gawk: remove duplicated "-i" in a sed command
2022-09-17 20:34:13 +08:00
Bruce Dubbs
ea94a21b79
Update Chapter 11
...
These changes provide additional information on how to install additional
packages from BLFS after LFS is complete.
2022-09-16 21:37:34 -05:00
Xi Ruoyao
9644bf9f08
fix typos in ticket numbers in changelog
2022-09-15 11:43:25 +08:00
Xi Ruoyao
e010845004
Revert "bash: document egrep warnings in tests"
...
This reverts commit 395eb462ba
.
Not needed as grep is "patched".
Note that I'm still against "patching" grep. All the complains for the
warnings are from only several people and IMO the complains are not
valid. But as bdubbs has made the decision let's keep it for now and
review after some time...
2022-09-15 11:33:01 +08:00
Xi Ruoyao
78817e1b26
binutils: fix a typo
2022-09-15 11:32:32 +08:00
Bruce Dubbs
b17680d8ea
Package updates and corrections.
...
Update to file-5.43.
Update to linux-5.19.8.
Update to gawk-5.2.0.
Update to meson-0.63.2.
Update to ninja-1.11.1.
Update to bc-6.0.2.
Fix the location of udev rules in eudev.
Remove a warning for egrep and fgrep that
Delete an empty binutils man page.
2022-09-14 21:58:07 -05:00
Xi Ruoyao
e4c6597593
groff: add back "build the package"
...
It was removed unintentionally during the removal of -j1...
2022-09-14 12:19:50 +08:00
Xi Ruoyao
2e9e5b43c5
add <literal> to make commands for temp /etc/hosts and final /etc/pip3.conf looking better
2022-09-14 11:52:01 +08:00
Bruce Dubbs
95789f1ae4
Minor wording change.
2022-09-13 12:49:26 -05:00
Xi Ruoyao
395eb462ba
bash: document egrep warnings in tests
...
The test suite says "Any output from any test, unless otherwise noted,
indicates a possible anomaly". So we should note those warnings.
2022-09-14 01:34:15 +08:00
Xi Ruoyao
2844cded1c
libtool: document test failures related to grep-3.8
2022-09-14 01:32:24 +08:00
Xi Ruoyao
36c4562187
ncurses: mention libncurses++w in contents
2022-09-14 00:15:12 +08:00
Xi Ruoyao
951e07508b
ncurses: remove an outdated sentence about libncurses++w.a
...
We now build the C++ binding as shared library.
2022-09-14 00:08:40 +08:00
Xi Ruoyao
0d487e09e6
gcc: update sanity check command and output for default PIE
...
Scrt1.o is used for PIE, instead of crt1.o.
2022-09-14 00:03:45 +08:00
Xi Ruoyao
fb5ad92588
gcc: document that libssp is normally unused
...
We are enabling default SSP now, so if someone runs "ldd /usr/bin/true"
and see libssp is not used he/she may be puzzled.
2022-09-13 17:59:05 +08:00
Pierre Labastie
8a16c6b4ec
Restore gawk to working version
...
Revert an inadvertent commit, sorry
2022-09-13 09:34:50 +02:00
Xi Ruoyao
9d3ba7b850
vim: no need to download spell files
...
They are already in the tarball, so just install them if needed.
2022-09-12 21:02:48 +08:00
Pierre Labastie
e5e442cd32
Typo in a comment
2022-09-11 19:02:41 +02:00
Pierre Labastie
7bd0378b41
Remove trailing spaces
2022-09-11 18:54:49 +02:00
Pierre Labastie
c37e846f4b
Replace tabs with spaces
2022-09-11 18:42:58 +02:00
Pierre Labastie
84e1bb6b85
Update changelog for PIE/SSP in GCC
2022-09-11 10:55:25 +02:00
Pierre Labastie
63c2e8bb66
Comment on binutils test failures with pie/ssp
2022-09-11 10:55:25 +02:00
Xi Ruoyao
c10a327376
gcc: fix link to PIE & SSP note
...
DocBook does not handle xref to note properly (#pie-ssp-info not
generated).
2022-09-11 13:57:47 +08:00
Xi Ruoyao
e5aa02fe17
kernel: enable ASLR and SSP
...
It does not make too much sense to protect the userspace with PIE+ASLR
and SSP but leave the kernel alone...
2022-09-11 12:09:18 +08:00
Xi Ruoyao
a710d35e1f
Revert "linux kernel: disable CONFIG_USERFAULTFD to avoid CVE-2022-2590 for now"
...
This reverts commit 098f4de336
.
CVE-2022-2590 is fixed in Linux >= 5.19.6.
2022-09-11 12:01:31 +08:00
Xi Ruoyao
e502de1ab0
gcc: some reword of PIE/SSP/ASLR note
...
Expand tabs to 8 spaces like everywhere else in the book.
Explain that shared libraries are already covered by ASLR, PIE expands
the ASLR to cover the exetutables.
In 2022, stack smashing attackings are mostly constructing a sequence of
faked returning addresses to exectute a series of function already
existing in the programs or libraries itself (ret2lib). Returning into
the code injected by the attacker is almost impossible because on
i686 (with a PAE/NX enabled kernel) or x86_64, running injected code
needs W/X mappings and those are very rare these days.
2022-09-11 11:35:06 +08:00
Pierre Labastie
8d3b2541da
gcc-pass1: fix bold "and" in command explanation
2022-09-10 14:01:42 +02:00
Pierre Labastie
1bade3f439
Document the --enable-default-pie/ssp options
...
Also document test failures in gcc chapter 8
2022-09-10 13:41:38 +02:00
Pierre Labastie
0611f706d5
Use default-pie and default-ssp flags in gcc
...
Committing only the commands for now, so that others can test the
build. TODO:
- add command explanations
- add changelog
- comment on failing tests in binutils and gcc
2022-09-09 16:15:06 +02:00
Bruce Dubbs
917868fc69
Package Updates.
...
Update to shadow-4.12.3.
Update to Python3-3.10.7.
Update to linux-5.19.7.
Update to less-608.
Update to grep-3.8.
2022-09-07 14:59:45 -05:00
Xi Ruoyao
696a7b4a83
whatnow: update online resources list for maintainance
...
Bugtraq is dead since 2021, use oss-sec instead.
For CERT, cert.org redirects to CMU and us-cert.gov redirects to US
CISA (https://www.cisa.gov/uscert/ ). I'm not familiar with those so
left those for a US citizen to add :).
2022-09-05 10:04:33 +08:00
Xi Ruoyao
fb66c4c583
some http -> https changes
2022-09-05 09:52:05 +08:00
Xi Ruoyao
baecd49c48
gcc-pass2: remove unnecessary --enable-initfini-array option
...
Forgot to remove this one when I removed it in pass 1...
Reference: https://gcc.gnu.org/r12-1328
2022-09-01 14:04:34 +08:00
Xi Ruoyao
7b3f5a4f8d
groff: remove -j1
2022-09-01 14:04:34 +08:00
Pierre Labastie
51b7349a97
Remove all non header files in linux headers
...
Report by Joe Locash that a perl script was left in /usr/include
with our current instructions
2022-08-31 21:34:49 +02:00
Bruce Dubbs
b877b48a51
Clean up after 11.2
2022-08-31 14:12:10 -05:00
Xi Ruoyao
cfaf7273f8
parition: mention EFI system partition
...
Text only change. Simply refer to BLFS.
2022-08-28 20:06:00 +08:00
Xi Ruoyao
bf6f9e75ee
python: supress "failed to check new pip version" or "a new pip version is available" warnings
...
The non-text change during freeze is approved by bdubbs.
2022-08-26 23:52:18 +08:00
Xi Ruoyao
5353a1948f
grub: add a note about filesystem UUID and partition UUID usage
...
Text only change.
2022-08-26 20:30:29 +08:00