|
|
@@ -103,6 +103,7 @@ runs:
|
|
|
fi
|
|
|
if [ "${{ inputs.sublevel }}" -le "117" ]; then
|
|
|
sed -i '/^\s*\/\*/,/^\s*u32 mask = mark->mask & IN_ALL_EVENTS;$/d' fs/notify/fdinfo.c
|
|
|
+ perl -i -pe 's/\bmask,\s*mark->ignored_mask\)/inotify_mark_user_mask(mark)/g' fs/notify/fdinfo.c
|
|
|
fi
|
|
|
fi
|
|
|
if [ "${{ inputs.kernel_version }}" = "5.15" ] && [ "${{ inputs.android_version }}" = "android13" ]; then
|
|
|
@@ -162,7 +163,7 @@ runs:
|
|
|
fi
|
|
|
if [ "${{ inputs.sublevel }}" -le "117" ]; then
|
|
|
perl -i -pe 's/^(\s*if \(inode\) \{)/$1\n \/\*\n * IN_ALL_EVENTS represents all of the mask bits\n * that we expose to userspace. There is at\n * least one bit (FS_EVENT_ON_CHILD) which is\n * used only internally to the kernel.\n *\/\n u32 mask = mark->mask & IN_ALL_EVENTS;/m' fs/notify/fdinfo.c
|
|
|
- perl -i -pe 's/\binotify_mark_user_mask\(mark\)/mark->ignored_mask/g' fs/notify/fdinfo.c
|
|
|
+ perl -i -pe 's/\binotify_mark_user_mask\(mark\)/mask, mark->ignored_mask)/g' fs/notify/fdinfo.c
|
|
|
fi
|
|
|
fi
|
|
|
|