Changeset d035526
- Timestamp:
- 06/04/2007 07:36:27 PM (17 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 513b259
- Parents:
- c1f28d5
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Config.in
rc1f28d5 rd035526 397 397 default "2.6" if KERNEL_26 398 398 default "2.4" if KERNEL_24 399 400 menu "HLFS Additional Features" 401 depends on BOOK_HLFS 402 403 config SET_SSP 404 bool "Stack-smashing protector" 405 default y 406 407 config SET_ASLR 408 bool "Address-space layout randomization" 409 default y 410 411 config SET_PAX 412 bool "PaX-aware ELF executables and kernel" 413 default y 414 415 config SET_HARDENED_TMP 416 bool "Hardened temporary files creation" 417 default y 418 419 config SET_WARNINGS 420 bool "Additional warnings" 421 default y 422 423 config SET_MISC 424 bool "Miscellaneous features" 425 default y 426 427 config SET_BLOWFISH 428 bool "Blowfish passwords" 429 default y 430 endmenu 431 432 config SSP 433 depends on SET_SSP 434 string 435 default ",ssp," 436 437 config ASLR 438 depends on SET_ASLR 439 string 440 default ",aslr," 441 442 config PAX 443 depends on SET_PAX 444 string 445 default ",pax," 446 447 config HARDENED_TMP 448 depends on SET_HARDENED_TMP 449 string 450 default ",hardened_tmp," 451 452 config WARNINGS 453 depends on SET_WARNINGS 454 string 455 default ",warnings," 456 457 config MISC 458 depends on SET_MISC 459 string 460 default ",misc," 461 462 config BLOWFISH 463 depends on SET_BLOWFISH 464 string 465 default ",blowfish," 399 466 #--- End HLFS specific params 400 467 -
HLFS/hlfs.xsl
rc1f28d5 rd035526 36 36 --> 37 37 <xsl:param name="bomb-testsuite" select="n"/> 38 39 <!-- Additional features --> 40 <xsl:param name="features">,ssp,aslr,pax,hardened_tmp,warnings,misc,blowfish,</xsl:param> 38 41 39 42 <!-- Time zone --> … … 150 153 <xsl:if test="(@condition=$model or not(@condition)) and 151 154 (@vendor=$kernel or not(@vendor)) and 152 child::* = userinput and not(@role = 'nodump')"> 155 child::* = userinput and (not(@role) or 156 (@role and contains($features,concat(',',@role,','))))"> 153 157 <xsl:apply-templates select="userinput" mode="screen"/> 154 158 </xsl:if> -
common/libs/func_book_parser
rc1f28d5 rd035526 126 126 --stringparam testsuite $TEST \ 127 127 --stringparam bomb-testsuite $BOMB_TEST \ 128 --stringparam features $SSP$ASLR$PAX$HARDENED_TMP$WARNINGS$MISC$BLOWFISH \ 128 129 --stringparam timezone $TIMEZONE \ 129 130 --stringparam page $PAGE \ -
common/libs/func_validate_configs.sh
rc1f28d5 rd035526 32 32 # BOOK Settings by book 33 33 local -r LFS_book="$BOOK_common BLFS_TOOL" 34 local -r HLFS_book="$BOOK_common BLFS_TOOL MODEL KERNEL GRSECURITY_HOST" 34 local -r HLFS_added="SET_SSP SET_ASLR SET_PAX SET_HARDENED_TMP SET_WARNINGS \ 35 SET_MISC SET_BLOWFISH" 36 local -r HLFS_book="$BOOK_common BLFS_TOOL MODEL KERNEL GRSECURITY_HOST $HLFS_added" 35 37 local -r CLFS_book="$BOOK_common BLFS_TOOL METHOD $BOOK_clfsX TARGET32 BOOT_CONFIG" 36 38 local -r CLFS2_book="$BOOK_common BLFS_TOOL $BOOK_clfsX" -
jhalfs
rc1f28d5 rd035526 112 112 INSTALL_LOG=${INSTALL_LOG:-n} 113 113 CLEAN=${CLEAN:=n} 114 SET_SSP=${SET_SSP:=n} 115 SET_ASLR=${SET_ASLR:=n} 116 SET_PAX=${SET_PAX:=n} 117 SET_HARDENED_TMP=${SET_HARDENED_TMP:=n} 118 SET_WARNINGS=${SET_WARNINGS:=n} 119 SET_MISC=${SET_MISC:=n} 120 SET_BLOWFISH=${SET_BLOWFISH:=n} 114 121 115 122 # Book surces envars
Note:
See TracChangeset
for help on using the changeset viewer.