Created
March 21, 2011 18:22
-
-
Save colemanjp/879920 to your computer and use it in GitHub Desktop.
prelink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 | |
" egrep -v '^#|^$' /etc/sysconfig/prelink" | |
PRELINKING=yes | |
PRELINK_OPTS=-mR | |
PRELINK_FULL_TIME_INTERVAL=14 | |
PRELINK_NONRPM_CHECK_INTERVAL=7 | |
4 | |
" egrep -v '^#|^$' /etc/sysconfig/prelink" | |
PRELINKING=yes | |
PRELINK_OPTS=-mR | |
PRELINK_FULL_TIME_INTERVAL=14 | |
PRELINK_NONRPM_CHECK_INTERVAL=7 | |
3 | |
" egrep -v '^#|^$' /etc/sysconfig/prelink" | |
PRELINKING=no | |
PRELINK_OPTS=-mR | |
PRELINK_FULL_TIME_INTERVAL=14 | |
5 | |
# Set this to no to disable prelinking altogether | |
# (if you change this from yes to no prelink -ua | |
# will be run next night to undo prelinking) | |
PRELINKING=yes | |
# Options to pass to prelink | |
# -m Try to conserve virtual memory by allowing overlapping | |
# assigned virtual memory slots for libraries which | |
# never appear together in one binary | |
# -R Randomize virtual memory slot assignments for libraries. | |
# This makes it slightly harder for various buffer overflow | |
# attacks, since library addresses will be different on each | |
# host using -R. | |
PRELINK_OPTS=-mR | |
# How often should full prelink be run (in days) | |
# Normally, prelink will be run in quick mode, every | |
# $PRELINK_FULL_TIME_INTERVAL days it will be run | |
# in normal mode. Comment it out if it should be run | |
# in normal mode always. | |
PRELINK_FULL_TIME_INTERVAL=14 | |
# How often should prelink run (in days) even if | |
# no packages have been upgraded via rpm. | |
# If $PRELINK_FULL_TIME_INTERVAL days have not elapsed | |
# yet since last normal mode prelinking, last | |
# quick mode prelinking happened less than | |
# $PRELINK_NONRPM_CHECK_INTERVAL days ago | |
# and no packages have been upgraded by rpm | |
# since last quick mode prelinking, prelink | |
# will not do anything. | |
# Change to | |
# PRELINK_NONRPM_CHECK_INTERVAL=0 | |
# if you want to disable the rpm database timestamp | |
# check (especially if you don't use rpm/up2date/yum/apt-rpm | |
# exclusively to upgrade system libraries and/or binaries). | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment