# git rev-parse -q --verify acc657692aed438e9931438f8c923b2b107aebf9^{commit} acc657692aed438e9931438f8c923b2b107aebf9 already have revision, skipping fetch # git checkout -q -f -B kisskb acc657692aed438e9931438f8c923b2b107aebf9 # git clean -qxdf # < git log -1 # commit acc657692aed438e9931438f8c923b2b107aebf9 # Author: David Howells # Date: Wed Jan 10 21:11:40 2024 +0000 # # keys, dns: Fix size check of V1 server-list header # # Fix the size check added to dns_resolver_preparse() for the V1 server-list # header so that it doesn't give EINVAL if the size supplied is the same as # the size of the header struct (which should be valid). # # This can be tested with: # # echo -n -e '\0\0\01\xff\0\0' | keyctl padd dns_resolver desc @p # # which will give "add_key: Invalid argument" without this fix. # # Fixes: 1997b3cb4217 ("keys, dns: Fix missing size check of V1 server-list header") # Reported-by: Pengfei Xu # Link: https://lore.kernel.org/r/ZZ4fyY4r3rqgZL+4@xpf.sh.intel.com/ # Signed-off-by: David Howells # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 acc657692aed438e9931438f8c923b2b107aebf9 # make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- 64r2_defconfig Using /kisskb/src/arch/mips/configs/generic_defconfig as base Merging /kisskb/src/arch/mips/configs/generic/64r2.config Merging /kisskb/src/arch/mips/configs/generic/eb.config ./.config.64r2_defconfig:96:warning: override: CPU_BIG_ENDIAN changes choice state Merging /kisskb/src/arch/mips/configs/generic/board-boston.config Merging /kisskb/src/arch/mips/configs/generic/board-marduk.config Merging /kisskb/src/arch/mips/configs/generic/board-ranchu.config Merging /kisskb/src/arch/mips/configs/generic/board-virt.config .config:95:warning: override: CPU_BIG_ENDIAN changes choice state # < make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 160 ARCH=mips O=/kisskb/build/linus_64r2_defconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.5.0-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/vdso/vgettimeofday.c:50:5: warning: no previous prototype for '__vdso_clock_gettime' [-Wmissing-prototypes] int __vdso_clock_gettime(clockid_t clock, ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:64:5: warning: no previous prototype for '__vdso_gettimeofday' [-Wmissing-prototypes] int __vdso_gettimeofday(struct __kernel_old_timeval *tv, ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:72:5: warning: no previous prototype for '__vdso_clock_getres' [-Wmissing-prototypes] int __vdso_clock_getres(clockid_t clock_id, ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/mm/fault.c:324:17: warning: no previous prototype for 'do_page_fault' [-Wmissing-prototypes] asmlinkage void do_page_fault(struct pt_regs *regs, ^~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:14:5: warning: no previous prototype for '__vdso_clock_gettime' [-Wmissing-prototypes] int __vdso_clock_gettime(clockid_t clock, ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:28:5: warning: no previous prototype for '__vdso_gettimeofday' [-Wmissing-prototypes] int __vdso_gettimeofday(struct __kernel_old_timeval *tv, ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:36:5: warning: no previous prototype for '__vdso_clock_getres' [-Wmissing-prototypes] int __vdso_clock_getres(clockid_t clock_id, ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:42:5: warning: no previous prototype for '__vdso_clock_gettime64' [-Wmissing-prototypes] int __vdso_clock_gettime64(clockid_t clock, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:14:5: warning: no previous prototype for '__vdso_clock_gettime' [-Wmissing-prototypes] int __vdso_clock_gettime(clockid_t clock, ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:28:5: warning: no previous prototype for '__vdso_gettimeofday' [-Wmissing-prototypes] int __vdso_gettimeofday(struct __kernel_old_timeval *tv, ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:36:5: warning: no previous prototype for '__vdso_clock_getres' [-Wmissing-prototypes] int __vdso_clock_getres(clockid_t clock_id, ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/mips/vdso/vgettimeofday.c:42:5: warning: no previous prototype for '__vdso_clock_gettime64' [-Wmissing-prototypes] int __vdso_clock_gettime64(clockid_t clock, ^~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/irq_work.c:72:13: warning: no previous prototype for 'arch_irq_work_raise' [-Wmissing-prototypes] void __weak arch_irq_work_raise(void) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:156:5: warning: no previous prototype for 'ioread64_lo_hi' [-Wmissing-prototypes] u64 ioread64_lo_hi(const void __iomem *addr) ^~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:163:5: warning: no previous prototype for 'ioread64_hi_lo' [-Wmissing-prototypes] u64 ioread64_hi_lo(const void __iomem *addr) ^~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:170:5: warning: no previous prototype for 'ioread64be_lo_hi' [-Wmissing-prototypes] u64 ioread64be_lo_hi(const void __iomem *addr) ^~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:178:5: warning: no previous prototype for 'ioread64be_hi_lo' [-Wmissing-prototypes] u64 ioread64be_hi_lo(const void __iomem *addr) ^~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:264:6: warning: no previous prototype for 'iowrite64_lo_hi' [-Wmissing-prototypes] void iowrite64_lo_hi(u64 val, void __iomem *addr) ^~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:272:6: warning: no previous prototype for 'iowrite64_hi_lo' [-Wmissing-prototypes] void iowrite64_hi_lo(u64 val, void __iomem *addr) ^~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:280:6: warning: no previous prototype for 'iowrite64be_lo_hi' [-Wmissing-prototypes] void iowrite64be_lo_hi(u64 val, void __iomem *addr) ^~~~~~~~~~~~~~~~~ /kisskb/src/lib/iomap.c:288:6: warning: no previous prototype for 'iowrite64be_hi_lo' [-Wmissing-prototypes] void iowrite64be_hi_lo(u64 val, void __iomem *addr) ^~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_64r2_defconfig_mips-gcc8 # Build took: 0:00:53.220517