Changeset 16534 in niluje


Ignore:
Timestamp:
Oct 6, 2019, 5:35:19 PM (12 days ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Refresh strace patches
Location:
Configs/trunk/Kindle/Misc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/strace-ioctls_sym-tweaks.patch

    r16436 r16534  
    11diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh
    2 index 6ffd449d..c34d06cc 100755
     2index 2e712add..c85d69df 100755
    33--- a/maint/ioctls_sym.sh
    44+++ b/maint/ioctls_sym.sh
     
    131131@@ -387,7 +447,7 @@ s/^\([[:space:]]\+[^),]\+)\),$/\1/' >> "$tmpdir/$f"
    132132                        s390_list='KVM_S390_[A-Z_]+'
    133                         x86_list='KVM_GET_CPUID2|KVM_GET_DEBUGREGS|KVM_GET_EMULATED_CPUID|KVM_GET_LAPIC|KVM_GET_MSRS|KVM_GET_MSR_FEATURE_INDEX_LIST|KVM_GET_MSR_INDEX_LIST|KVM_GET_NESTED_STATE|KVM_GET_PIT|KVM_GET_PIT2|KVM_GET_SUPPORTED_CPUID|KVM_GET_SUPPORTED_HV_CPUID|KVM_GET_VCPU_EVENTS|KVM_GET_XCRS|KVM_GET_XSAVE|KVM_HYPERV_EVENTFD|KVM_SET_CPUID|KVM_SET_CPUID2|KVM_SET_DEBUGREGS|KVM_SET_LAPIC|KVM_SET_MEMORY_ALIAS|KVM_SET_MSRS|KVM_SET_NESTED_STATE|KVM_SET_PIT|KVM_SET_PIT2|KVM_SET_VCPU_EVENTS|KVM_SET_XCRS|KVM_SET_XSAVE|KVM_XEN_HVM_CONFIG|KVM_X86_[A-Z_]+'
     133                        x86_list='KVM_GET_CPUID2|KVM_GET_DEBUGREGS|KVM_GET_EMULATED_CPUID|KVM_GET_LAPIC|KVM_GET_MSRS|KVM_GET_MSR_FEATURE_INDEX_LIST|KVM_GET_MSR_INDEX_LIST|KVM_GET_NESTED_STATE|KVM_GET_PIT|KVM_GET_PIT2|KVM_GET_SUPPORTED_CPUID|KVM_GET_SUPPORTED_HV_CPUID|KVM_GET_VCPU_EVENTS|KVM_GET_XCRS|KVM_GET_XSAVE|KVM_HYPERV_EVENTFD|KVM_SET_CPUID|KVM_SET_CPUID2|KVM_SET_DEBUGREGS|KVM_SET_LAPIC|KVM_SET_MEMORY_ALIAS|KVM_SET_MSRS|KVM_SET_NESTED_STATE|KVM_SET_PIT|KVM_SET_PIT2|KVM_SET_PMU_EVENT_FILTER|KVM_SET_VCPU_EVENTS|KVM_SET_XCRS|KVM_SET_XSAVE|KVM_XEN_HVM_CONFIG|KVM_X86_[A-Z_]+'
    134134                        case "$uname_m" in
    135135-                               aarch64|arm*) list="$ppc_list|$s390_list|$x86_list" ;;
  • Configs/trunk/Kindle/Misc/strace-mxcfb-ioctls-k5.patch

    r16436 r16534  
    11diff --git a/Makefile.am b/Makefile.am
    2 index b4f31568..1d811337 100644
     2index 7b5d4a8b..397462f2 100644
    33--- a/Makefile.am
    44+++ b/Makefile.am
    5 @@ -196,6 +196,7 @@ strace_SOURCES =    \
     5@@ -198,6 +198,7 @@ strace_SOURCES =    \
    66        msghdr.c        \
    77        msghdr.h        \
     
    1212        negated_errno.h \
    1313diff --git a/defs.h b/defs.h
    14 index 67467c12..f00ceb0b 100644
     14index 5be982ac..4da227e9 100644
    1515--- a/defs.h
    1616+++ b/defs.h
    17 @@ -945,6 +945,7 @@ DECL_IOCTL(term);
     17@@ -1059,6 +1059,7 @@ DECL_IOCTL(term);
    1818 DECL_IOCTL(ubi);
    1919 DECL_IOCTL(uffdio);
     
    2424 extern int decode_sg_io_v4(struct tcb *, const kernel_ulong_t arg);
    2525diff --git a/ioctl.c b/ioctl.c
    26 index 75c31e8b..2769596d 100644
     26index bcf265b6..db11f014 100644
    2727--- a/ioctl.c
    2828+++ b/ioctl.c
    29 @@ -264,6 +264,8 @@ ioctl_decode(struct tcb *tcp)
    30                 return fs_x_ioctl(tcp, code, arg);
    31         case 0x22:
    32                 return scsi_ioctl(tcp, code, arg);
     29@@ -262,6 +262,8 @@ ioctl_decode(struct tcb *tcp)
     30        case 'E':
     31                return evdev_ioctl(tcp, code, arg);
     32 #endif
    3333+       case 'F':
    3434+               return mxcfb_ioctl(tcp, code, arg);
     35        case 'I':
     36                return inotify_ioctl(tcp, code, arg);
    3537        case 'L':
    36                 return loop_ioctl(tcp, code, arg);
    37  #ifdef HAVE_STRUCT_MTD_WRITE_REQ
    3838diff --git a/mxcfb.c b/mxcfb.c
    3939new file mode 100644
  • Configs/trunk/Kindle/Misc/strace-mxcfb-ioctls-koa2.patch

    r16436 r16534  
    11diff --git a/Makefile.am b/Makefile.am
    2 index b4f31568..1d811337 100644
     2index 7b5d4a8b..397462f2 100644
    33--- a/Makefile.am
    44+++ b/Makefile.am
    5 @@ -196,6 +196,7 @@ strace_SOURCES =    \
     5@@ -198,6 +198,7 @@ strace_SOURCES =    \
    66        msghdr.c        \
    77        msghdr.h        \
     
    1212        negated_errno.h \
    1313diff --git a/defs.h b/defs.h
    14 index 67467c12..f00ceb0b 100644
     14index 5be982ac..4da227e9 100644
    1515--- a/defs.h
    1616+++ b/defs.h
    17 @@ -945,6 +945,7 @@ DECL_IOCTL(term);
     17@@ -1059,6 +1059,7 @@ DECL_IOCTL(term);
    1818 DECL_IOCTL(ubi);
    1919 DECL_IOCTL(uffdio);
     
    2424 extern int decode_sg_io_v4(struct tcb *, const kernel_ulong_t arg);
    2525diff --git a/ioctl.c b/ioctl.c
    26 index 75c31e8b..2769596d 100644
     26index bcf265b6..db11f014 100644
    2727--- a/ioctl.c
    2828+++ b/ioctl.c
    29 @@ -264,6 +264,8 @@ ioctl_decode(struct tcb *tcp)
    30                 return fs_x_ioctl(tcp, code, arg);
    31         case 0x22:
    32                 return scsi_ioctl(tcp, code, arg);
     29@@ -262,6 +262,8 @@ ioctl_decode(struct tcb *tcp)
     30        case 'E':
     31                return evdev_ioctl(tcp, code, arg);
     32 #endif
    3333+       case 'F':
    3434+               return mxcfb_ioctl(tcp, code, arg);
     35        case 'I':
     36                return inotify_ioctl(tcp, code, arg);
    3537        case 'L':
    36                 return loop_ioctl(tcp, code, arg);
    37  #ifdef HAVE_STRUCT_MTD_WRITE_REQ
    3838diff --git a/mxcfb.c b/mxcfb.c
    3939new file mode 100644
  • Configs/trunk/Kindle/Misc/strace-mxcfb-ioctls-kobo.patch

    r16436 r16534  
    11diff --git a/Makefile.am b/Makefile.am
    2 index b4f31568..1d811337 100644
     2index 7b5d4a8b..397462f2 100644
    33--- a/Makefile.am
    44+++ b/Makefile.am
    5 @@ -196,6 +196,7 @@ strace_SOURCES =    \
     5@@ -198,6 +198,7 @@ strace_SOURCES =    \
    66        msghdr.c        \
    77        msghdr.h        \
     
    1212        negated_errno.h \
    1313diff --git a/defs.h b/defs.h
    14 index 67467c12..f00ceb0b 100644
     14index 5be982ac..4da227e9 100644
    1515--- a/defs.h
    1616+++ b/defs.h
    17 @@ -945,6 +945,7 @@ DECL_IOCTL(term);
     17@@ -1059,6 +1059,7 @@ DECL_IOCTL(term);
    1818 DECL_IOCTL(ubi);
    1919 DECL_IOCTL(uffdio);
     
    2424 extern int decode_sg_io_v4(struct tcb *, const kernel_ulong_t arg);
    2525diff --git a/ioctl.c b/ioctl.c
    26 index 75c31e8b..2769596d 100644
     26index bcf265b6..db11f014 100644
    2727--- a/ioctl.c
    2828+++ b/ioctl.c
    29 @@ -264,6 +264,8 @@ ioctl_decode(struct tcb *tcp)
    30                 return fs_x_ioctl(tcp, code, arg);
    31         case 0x22:
    32                 return scsi_ioctl(tcp, code, arg);
     29@@ -262,6 +262,8 @@ ioctl_decode(struct tcb *tcp)
     30        case 'E':
     31                return evdev_ioctl(tcp, code, arg);
     32 #endif
    3333+       case 'F':
    3434+               return mxcfb_ioctl(tcp, code, arg);
     35        case 'I':
     36                return inotify_ioctl(tcp, code, arg);
    3537        case 'L':
    36                 return loop_ioctl(tcp, code, arg);
    37  #ifdef HAVE_STRUCT_MTD_WRITE_REQ
    3838diff --git a/linux/mxcfb-kobo.h b/linux/mxcfb-kobo.h
    3939new file mode 100644
  • Configs/trunk/Kindle/Misc/strace-mxcfb-ioctls-pw2.patch

    r16436 r16534  
    11diff --git a/Makefile.am b/Makefile.am
    2 index b4f31568..1d811337 100644
     2index 7b5d4a8b..397462f2 100644
    33--- a/Makefile.am
    44+++ b/Makefile.am
    5 @@ -196,6 +196,7 @@ strace_SOURCES =    \
     5@@ -198,6 +198,7 @@ strace_SOURCES =    \
    66        msghdr.c        \
    77        msghdr.h        \
     
    1212        negated_errno.h \
    1313diff --git a/defs.h b/defs.h
    14 index 67467c12..f00ceb0b 100644
     14index 5be982ac..4da227e9 100644
    1515--- a/defs.h
    1616+++ b/defs.h
    17 @@ -945,6 +945,7 @@ DECL_IOCTL(term);
     17@@ -1059,6 +1059,7 @@ DECL_IOCTL(term);
    1818 DECL_IOCTL(ubi);
    1919 DECL_IOCTL(uffdio);
     
    2424 extern int decode_sg_io_v4(struct tcb *, const kernel_ulong_t arg);
    2525diff --git a/ioctl.c b/ioctl.c
    26 index 75c31e8b..2769596d 100644
     26index bcf265b6..db11f014 100644
    2727--- a/ioctl.c
    2828+++ b/ioctl.c
    29 @@ -264,6 +264,8 @@ ioctl_decode(struct tcb *tcp)
    30                 return fs_x_ioctl(tcp, code, arg);
    31         case 0x22:
    32                 return scsi_ioctl(tcp, code, arg);
     29@@ -262,6 +262,8 @@ ioctl_decode(struct tcb *tcp)
     30        case 'E':
     31                return evdev_ioctl(tcp, code, arg);
     32 #endif
    3333+       case 'F':
    3434+               return mxcfb_ioctl(tcp, code, arg);
     35        case 'I':
     36                return inotify_ioctl(tcp, code, arg);
    3537        case 'L':
    36                 return loop_ioctl(tcp, code, arg);
    37  #ifdef HAVE_STRUCT_MTD_WRITE_REQ
    3838diff --git a/mxcfb.c b/mxcfb.c
    3939new file mode 100644
  • Configs/trunk/Kindle/Misc/strace-mxcfb-ioctls-pw4.patch

    r16436 r16534  
    11diff --git a/Makefile.am b/Makefile.am
    2 index b4f31568..1d811337 100644
     2index 7b5d4a8b..397462f2 100644
    33--- a/Makefile.am
    44+++ b/Makefile.am
    5 @@ -196,6 +196,7 @@ strace_SOURCES =    \
     5@@ -198,6 +198,7 @@ strace_SOURCES =    \
    66        msghdr.c        \
    77        msghdr.h        \
     
    1212        negated_errno.h \
    1313diff --git a/defs.h b/defs.h
    14 index 67467c12..f00ceb0b 100644
     14index 5be982ac..4da227e9 100644
    1515--- a/defs.h
    1616+++ b/defs.h
    17 @@ -945,6 +945,7 @@ DECL_IOCTL(term);
     17@@ -1059,6 +1059,7 @@ DECL_IOCTL(term);
    1818 DECL_IOCTL(ubi);
    1919 DECL_IOCTL(uffdio);
     
    2424 extern int decode_sg_io_v4(struct tcb *, const kernel_ulong_t arg);
    2525diff --git a/ioctl.c b/ioctl.c
    26 index 75c31e8b..2769596d 100644
     26index bcf265b6..db11f014 100644
    2727--- a/ioctl.c
    2828+++ b/ioctl.c
    29 @@ -264,6 +264,8 @@ ioctl_decode(struct tcb *tcp)
    30                 return fs_x_ioctl(tcp, code, arg);
    31         case 0x22:
    32                 return scsi_ioctl(tcp, code, arg);
     29@@ -262,6 +262,8 @@ ioctl_decode(struct tcb *tcp)
     30        case 'E':
     31                return evdev_ioctl(tcp, code, arg);
     32 #endif
    3333+       case 'F':
    3434+               return mxcfb_ioctl(tcp, code, arg);
     35        case 'I':
     36                return inotify_ioctl(tcp, code, arg);
    3537        case 'L':
    36                 return loop_ioctl(tcp, code, arg);
    37  #ifdef HAVE_STRUCT_MTD_WRITE_REQ
    3838diff --git a/mxcfb.c b/mxcfb.c
    3939new file mode 100644
Note: See TracChangeset for help on using the changeset viewer.