trae 3 месяцев назад
Родитель
Сommit
57c20fb4a9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/actions/susfs/action.yml

+ 1 - 1
.github/actions/susfs/action.yml

@@ -161,7 +161,7 @@ runs:
         if [ "${{ inputs.sublevel }}" -le "30" ]; then
           echo "Applying taskmmu.c Android 15 6.6 Fake Patch"
           sed -i '/smap_gather_stats(vma, &mss, last_vma_end);/a\last_vma_end = vma->vm_end;' fs/proc/task_mmu.c
-          #sed -i '0,/last_vma_end = vma->vm_end;/{s/last_vma_end = vma->vm_end;/\t\t\t\t&/}' fs/proc/task_mmu.c
+          sed -i '$!{h;d}; x; s/last_vma_end = vma->vm_end;/\t\t\t\t&/' fs/proc/task_mmu.c
         fi
         if [ "${{ inputs.sublevel }}" -le "92" ]; then
           echo "Applying base.c Android 15 6.6 Fake Patch"