Go to file
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
appendices some http -> https changes 2022-09-05 09:52:05 +08:00
bootscripts Mark raid array as clean at shutdown 2022-07-23 22:42:36 +02:00
chapter01 Package Updates. 2022-09-07 14:59:45 -05:00
chapter02 some http -> https changes 2022-09-05 09:52:05 +08:00
chapter03 some http -> https changes 2022-09-05 09:52:05 +08:00
chapter04 decorate the references to root and lfs user 2022-04-21 14:12:43 +08:00
chapter05 gcc: some reword of PIE/SSP/ASLR note 2022-09-11 11:35:06 +08:00
chapter06 Use default-pie and default-ssp flags in gcc 2022-09-09 16:15:06 +02:00
chapter07 some http -> https changes 2022-09-05 09:52:05 +08:00
chapter08 gcc: some reword of PIE/SSP/ASLR note 2022-09-11 11:35:06 +08:00
chapter09 some http -> https changes 2022-09-05 09:52:05 +08:00
chapter10 grub: add a note about filesystem UUID and partition UUID usage 2022-08-26 20:30:29 +08:00
chapter11 whatnow: update online resources list for maintainance 2022-09-05 10:04:33 +08:00
images Adding some new png files to supoprt alternate css 2015-08-10 17:53:57 +00:00
part3intro part 3 intro: warn that don't copy source tree with cp -R 2022-02-22 13:34:36 +08:00
prologue some http -> https changes 2022-09-05 09:52:05 +08:00
stylesheets Remove eol spaces in xsl stylesheets 2021-09-07 23:28:43 +02:00
udev-lfs Remove eol spaces 2021-09-07 23:10:29 +02:00
.gitignore Ignore fop.log 2022-03-15 11:17:36 -05:00
aux-file-data.sh Convert bootscripts and udev tarballs to xz 2019-06-30 19:25:49 +00:00
general.ent provide revision-specific wget-list-$(REV) file 2022-06-21 15:22:27 +08:00
git-version.sh Package updates. 2021-12-31 07:10:48 -06:00
index.xml Just a test 2021-04-13 15:01:48 -05:00
INSTALL doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
lfs-latest-git.php Fix currency for mpfr 2022-04-19 11:36:18 -05:00
lfs-latest.php Remove eol spaces 2021-09-07 23:10:29 +02:00
make-aux-files.sh Fix make-aux-file for lfs-bootscript entities 2021-09-22 23:21:31 +02:00
Makefile provide revision-specific wget-list-$(REV) file 2022-06-21 15:22:27 +08:00
obfuscate.sh Added a versose flag and other fixes to the Makefile. 2007-07-06 17:54:18 +00:00
packages.ent Package Updates. 2022-09-07 14:59:45 -05:00
patches.ent Intermediate update prior to lfs-11.2-rc1 2022-08-20 10:35:01 -05:00
pdf-fixups.sh Fix pdf presentation issues and some misc issues 2022-03-14 13:08:40 -05:00
process-scripts.sh Remove eol spaces 2021-09-07 23:10:29 +02:00
README Remove eol spaces 2021-09-07 23:05:44 +02:00
tidy.conf Adjust tidy.conf for recent version 2018-09-04 16:33:51 +00:00

LFS Book README

This document is meant to instruct the user on how to convert the book's XML
source to other formats (e.g. HTML, PDF, PS and TXT).  First, if you have not
already done so, please read the INSTALL file for instructions on how to install
the required software.  If you have already completed the steps outlined in the
INSTALL file, then continue reading for examples how to convert these files into
various other formats.

In all examples, setting the parameter REV=systemd is needed to build the
systemd version of the book.

XML to XHTML:
-------------
make BASEDIR=/path/to/output/location


XML to single file XHTML (nochunks):
------------------------------------
make BASEDIR=/path/to/output/location nochunks

XML to TXT
----------
Follow the instructions for nochunks and then run:
lynx -dump /path/to/nochunks >/path/to/output

XML to PDF:
-----------
make BASEDIR=/path/to/output/location pdf