# git rev-parse -q --verify a45ea48e2bcd92c1f678b794f488ca0bda9835b8^{commit} a45ea48e2bcd92c1f678b794f488ca0bda9835b8 already have revision, skipping fetch # git checkout -q -f -B kisskb a45ea48e2bcd92c1f678b794f488ca0bda9835b8 # git clean -qxdf # < git log -1 # commit a45ea48e2bcd92c1f678b794f488ca0bda9835b8 # Author: David Howells # Date: Sun Jan 26 01:02:53 2020 +0000 # # afs: Fix characters allowed into cell names # # The afs filesystem needs to prohibit certain characters from cell names, # such as '/', as these are used to form filenames in procfs, leading to # the following warning being generated: # # WARNING: CPU: 0 PID: 3489 at fs/proc/generic.c:178 # # Fix afs_alloc_cell() to disallow nonprintable characters, '/', '@' and # names that begin with a dot. # # Remove the check for "@cell" as that is then redundant. # # This can be tested by running: # # echo add foo/.bar 1.2.3.4 >/proc/fs/afs/cells # # Note that we will also need to deal with: # # - Names ending in ".invalid" shouldn't be passed to the DNS. # # - Names that contain non-valid domainname chars shouldn't be passed to # the DNS. # # - DNS replies that say "your-dns-needs-immediate-attention." and # replies containing A records that say 127.0.53.53 should be # considered invalid. # [https://www.icann.org/en/system/files/files/name-collision-mitigation-01aug14-en.pdf] # # but these need to be dealt with by the kafs-client DNS program rather # than the kernel. # # Reported-by: syzbot+b904ba7c947a37b4b291@syzkaller.appspotmail.com # Cc: stable@kernel.org # Signed-off-by: David Howells # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 a45ea48e2bcd92c1f678b794f488ca0bda9835b8 # < make -s -j 24 ARCH=sh O=/kisskb/build/linus_polaris_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- polaris_defconfig # make -s -j 24 ARCH=sh O=/kisskb/build/linus_polaris_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/math-emu/math.c:23:0: /kisskb/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] In file included from /kisskb/src/arch/sh/math-emu/math.c:24:0: /kisskb/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] /kisskb/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:41:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:40:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_polaris_defconfig_sh4 # Build took: 0:01:00.558835