diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-12-23 03:18:50 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-12-23 03:18:50 -0200 |
commit | f6e042da02e76cc79b6acaf5b3a8a0704f8bc59a (patch) | |
tree | 5f1b6409b581fd737e9fe5305f06dd9215d5332e /libre/linux-libre-grsec/linux.install | |
parent | 04eb70c19bfd0f3e1d137a9e6905d629f3110b75 (diff) | |
download | abslibre-f6e042da02e76cc79b6acaf5b3a8a0704f8bc59a.tar.gz abslibre-f6e042da02e76cc79b6acaf5b3a8a0704f8bc59a.tar.bz2 abslibre-f6e042da02e76cc79b6acaf5b3a8a0704f8bc59a.zip |
linux-libre-grsec{,-knock}: the UDEREF PCID bug has been fixed
Diffstat (limited to 'libre/linux-libre-grsec/linux.install')
-rw-r--r-- | libre/linux-libre-grsec/linux.install | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libre/linux-libre-grsec/linux.install b/libre/linux-libre-grsec/linux.install index 99069bc58..cee2a22fc 100644 --- a/libre/linux-libre-grsec/linux.install +++ b/libre/linux-libre-grsec/linux.install @@ -4,13 +4,12 @@ KERNEL_NAME= KERNEL_VERSION= -_uderef_warning() { +_uderef_news() { if [[ $(uname -m) = x86_64 ]]; then cat <<EOF -CONFIG_PAX_MEMORY_UDEREF is now enabled on x86_64 and can be disabled by -passing \`pax_nouderef\` on the kernel line. UDEREF's PCID support on Sandy -Bridge and later is known to have issues with recent kernel versions and can be -disabled by passing \`nopcid\` to use the legacy implementation. +The UDEREF PCID bug has been fixed. If you added \`nopcid\` or \`pax_nouderef\` +to the kernel line as a workaround it should now be removed to take advantage +of the stronger PCID-based UDEREF implementation. EOF fi } @@ -21,8 +20,6 @@ post_install () { depmod ${KERNEL_VERSION} echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..." mkinitcpio -p linux-libre${KERNEL_NAME} - - _uderef_warning } post_upgrade() { @@ -46,8 +43,8 @@ post_upgrade() { echo ">>> include the 'keyboard' hook in your mkinitcpio.conf." fi - if [[ $(vercmp $2 3.15.6_gnu.201407232200-2) -lt 0 ]]; then - _uderef_warning + if [[ $(vercmp $2 3.17.7_gnu.201412211910-1) -lt 0 ]]; then + _uderef_news fi } |