aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
Commit message (Collapse)AuthorAgeFilesLines
...
* Correctd the spelling of "Werror" -- it's "-Werror" in GCC, butDavid Bryant2022-11-171-2/+2
| | | | | it's "--disable-error" in Glibc. Thanks to Thomas Trepl for spotting my mistake.
* Correct capitalization, spelling, grammar, and idiom. Tighten theDavid Bryant2022-11-173-29/+30
| | | | prose by removing some circumlocutions.
* Shadow: /usr/include/shadow is an installed dirPierre Labastie2022-11-161-2/+2
|
* Fix type (replace a / by a \ as line continue maker)Thomas Trepl (Moody)2022-11-161-1/+1
|
* Tidy up some spacing issuesBruce Dubbs2022-11-153-12/+12
|
* Package updates and a fix.Bruce Dubbs2022-11-112-8/+6
| | | | | | | | | | | | | Fix make-4.4 bug. Update to wheel-0.38.4 (Python Module). Update to texinfo-7.0. Update to sysvinit-3.05. Update to shadow-4.13. Update to sed-4.9. Update to meson-0.64.0. Update to linux-6.0.7. Update to elfutils-0.188. Update to bc-6.1.1.
* systemd: fix and simply the command to disable systemd-sysupdateXi Ruoyao2022-11-041-7/+3
| | | | | | | "systemd disable" seems a typo... And we don't need the ".timer" suffix because these .service units are tied to the .timer units.
* Update to systemd-252.Douglas R. Reno2022-11-031-0/+6
|
* grub: copy the "no tuning" warning from BLFSXi Ruoyao2022-11-031-0/+11
| | | | It's reported that a GRUB build with CFLAGS=-O2 is broken.
* glibc: fix parallel build issue with make-4.4Xi Ruoyao2022-11-011-9/+5
| | | | | | | | | | | | | We only need a one-line change in upstream fix (because we don't use "make --shuffle"). Add it as a sed for both Chapter 5 and Chapter 8. Note that the "minimal" sed would be '/MAEKFLAGS :=/s/r/ -r/'. I included an additional ')' so it won't modify "-r" again to "- -r". Tested "make" and "make check" on a x86_64 with -j8 and an arm64 with -j24. Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=2d7ed98add14
* Package updates.Bruce Dubbs2022-10-311-1/+4
| | | | | | | | | | | | | | | | | | Update to iana-etc-20221025. Update to tzdata-2022f. Update to Python3-3.11.0. Update to procps-ng-4.0.1. Update to man-pages-6.01. Update to man-db-2.11.0. Update to make-4.4. Update to linux-6.0.6. Update to libffi-3.4.4. Update to inetutils-2.4. Update to expat-2.5.0. Note: I had to run glibc in Chapter 8 at -j1 to avoid an apparant race condition. With a little more investigation I may be able to find a better solution.
* man-pages: update the number of provided pages for 6.00Xi Ruoyao2022-10-181-1/+1
| | | | | $ find -name '*.[0-9]' | wc -l 2438
* Package updates.Bruce Dubbs2022-10-142-0/+8
| | | | | | | | | | | | | | | | Update to iana-etc-20221007. Update to vim-9.0.0739. Add upstream patches to readline and bash. Update to zlib-1.2.13. Update to man-pages-6.00. Update to gettext-0.21.1. Update to iproute2-6.0.0. Update to meson-0.63.3. Update to Python-3.10.8. Update to xz-5.2.7. Update to tzdata-2022e. Update to linux-6.0.1. Update to dbus-1.14.4.
* binutils: add a command to list failed testsXi Ruoyao2022-10-051-0/+4
|
* glibc: update total test countXi Ruoyao2022-10-031-1/+1
| | | | | | | | | | | | | I have: 2 FAIL 5092 PASS 67 UNSUPPORTED 16 XFAIL 4 XPASS Let's not be too precise (or we'll need to explain the meaning of "UNSUPPORTED"). IMO "over 5000" is fine (until we get 5500 tests).
* binutils: don't wrap "gold" in <command>Xi Ruoyao2022-10-031-1/+1
| | | | | "gold" is not an installed program (it's named "ld.gold"). So IMO it's not proper to use <command>.
* binutils: gas tests fail because race conditionXi Ruoyao2022-10-031-2/+11
| | | | Again, I sincerely wish libtool can suffer a painful death.
* pkgmgt: fix two typosXi Ruoyao2022-10-021-2/+2
|
* Corrected grammatical errors and cleaned up English idiom.David Bryant2022-10-011-80/+80
|
* New packages and an xml fix.Bruce Dubbs2022-09-291-1/+1
| | | | | | Update to bc-6.0.4. Update to linux-5.19.12. Fix an xml error.
* Package updates.Bruce Dubbs2022-09-291-5/+6
| | | | | | | | | | | | Update to iana-etc-20220922. Update to tzdata-2022d. Update to readline-8.2. Update to linux-5.19.11. Update to libffi-3.4.3. Update to libcap-2.66. Update to dbus-1.14.2. Update to bc-6.0.3. Update to bash-5.2.
* libelf: add a x86 specific test failureXi Ruoyao2022-09-251-1/+2
| | | | | | | | It's caused by a minor GAS issue, which should be fixed in binutils-2.40. See https://sourceware.org/bugzilla/show_bug.cgi?id=29450 and https://sourceware.org/bugzilla/show_bug.cgi?id=29451.
* binutils: document a test failureXi Ruoyao2022-09-231-9/+9
| | | | It happens on both x86_64 and aarch64.
* TyposBruce Dubbs2022-09-191-1/+1
|
* cleanup: rephrase description for .la removalXi Ruoyao2022-09-191-4/+4
| | | | | | Don't emphasis "static library" at all, to prevent anyone from thinking "I need to use static libraries so I'll keep these .la files". And warn that .la files are known to break BLFS packages.
* cleanup: use a stronger tone for removing la filesXi Ruoyao2022-09-191-2/+2
|
* gawk: remove duplicated "-i" in a sed commandXi Ruoyao2022-09-171-1/+1
|
* Revert "bash: document egrep warnings in tests"Xi Ruoyao2022-09-151-4/+0
| | | | | | | | | | | This reverts commit 395eb462ba1fc1835ec9b6018f4427f41d78fa00. 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...
* binutils: fix a typoXi Ruoyao2022-09-151-1/+1
|
* Package updates and corrections.Bruce Dubbs2022-09-144-10/+18
| | | | | | | | | | | | 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.
* groff: add back "build the package"Xi Ruoyao2022-09-141-0/+2
| | | | It was removed unintentionally during the removal of -j1...
* add <literal> to make commands for temp /etc/hosts and final /etc/pip3.conf ↵Xi Ruoyao2022-09-141-3/+3
| | | | looking better
* Minor wording change.Bruce Dubbs2022-09-131-1/+1
|
* bash: document egrep warnings in testsXi Ruoyao2022-09-141-0/+4
| | | | | The test suite says "Any output from any test, unless otherwise noted, indicates a possible anomaly". So we should note those warnings.
* libtool: document test failures related to grep-3.8Xi Ruoyao2022-09-141-3/+4
|
* ncurses: mention libncurses++w in contentsXi Ruoyao2022-09-141-0/+11
|
* ncurses: remove an outdated sentence about libncurses++w.aXi Ruoyao2022-09-141-2/+1
| | | | We now build the C++ binding as shared library.
* gcc: update sanity check command and output for default PIEXi Ruoyao2022-09-141-2/+2
| | | | Scrt1.o is used for PIE, instead of crt1.o.
* gcc: document that libssp is normally unusedXi Ruoyao2022-09-131-1/+2
| | | | | 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.
* vim: no need to download spell filesXi Ruoyao2022-09-121-7/+8
| | | | They are already in the tarball, so just install them if needed.
* Typo in a commentPierre Labastie2022-09-111-1/+1
|
* Remove trailing spacesPierre Labastie2022-09-115-5/+5
|
* Replace tabs with spacesPierre Labastie2022-09-114-7/+8
|
* Comment on binutils test failures with pie/sspPierre Labastie2022-09-111-0/+4
|
* gcc: fix link to PIE & SSP noteXi Ruoyao2022-09-111-1/+2
| | | | | DocBook does not handle xref to note properly (#pie-ssp-info not generated).
* gcc: some reword of PIE/SSP/ASLR noteXi Ruoyao2022-09-111-7/+10
| | | | | | | | | | | | | | 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.
* Document the --enable-default-pie/ssp optionsPierre Labastie2022-09-101-0/+21
| | | | Also document test failures in gcc chapter 8
* Use default-pie and default-ssp flags in gccPierre Labastie2022-09-091-0/+2
| | | | | | | | 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
* some http -> https changesXi Ruoyao2022-09-051-2/+2
|
* groff: remove -j1Xi Ruoyao2022-09-011-3/+1
|