|
|
@@ -97,14 +97,14 @@ runs:
|
|
|
|
|
|
FIX_REJ=0
|
|
|
if [ "${{ inputs.kernel_version }}" = "5.10" ] && [ "${{ inputs.android_version }}" = "android12" ]; then
|
|
|
- if grep -q '^size_t this_len = min_t(size_t, count, PAGE_SIZE);$' fs/proc/base.c; then
|
|
|
- sed -i 's/^int this_len = min_t(int, count, PAGE_SIZE);$/size_t this_len = min_t(size_t, count, PAGE_SIZE);/' fs/proc/base.c
|
|
|
- FIX_REJ=1
|
|
|
- fi
|
|
|
- if ! grep -q '#include <linux/mnt_idmapping.h>$' fs/open.c; then
|
|
|
- sed -i '/#include <linux\/compat.h>$/a #include <linux/mnt_idmapping.h>' fs/open.c
|
|
|
- FIX_REJ=1
|
|
|
- fi
|
|
|
+ #if grep -q '^size_t this_len = min_t(size_t, count, PAGE_SIZE);$' fs/proc/base.c; then
|
|
|
+ # sed -i 's/^int this_len = min_t(int, count, PAGE_SIZE);$/size_t this_len = min_t(size_t, count, PAGE_SIZE);/' fs/proc/base.c
|
|
|
+ # FIX_REJ=1
|
|
|
+ #fi
|
|
|
+ #if ! grep -q '#include <linux/mnt_idmapping.h>$' fs/open.c; then
|
|
|
+ # sed -i '/#include <linux\/compat.h>$/a #include <linux/mnt_idmapping.h>' fs/open.c
|
|
|
+ # FIX_REJ=1
|
|
|
+ #fi
|
|
|
elif [ "${{ inputs.kernel_version }}" = "5.15" ] && [ "${{ inputs.android_version }}" = "android13" ]; then
|
|
|
if grep -q '^size_t this_len = min_t(size_t, count, PAGE_SIZE);$' fs/proc/base.c; then
|
|
|
sed -i 's/^int this_len = min_t(int, count, PAGE_SIZE);$/size_t this_len = min_t(size_t, count, PAGE_SIZE);/' fs/proc/base.c
|