Mark arguments to certain syscalls as being const
authorDavid Howells <dhowells@redhat.com>
Wed, 11 Aug 2010 10:26:22 +0000 (11:26 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Aug 2010 23:53:13 +0000 (16:53 -0700)
commitc7887325230aec47d47a32562a6e26014a0fafca
tree10535943dace59ddb01d3440aa582bc4640e8016
parentb84ae4a1401a731ef5fee987c0cb08743838dda7
Mark arguments to certain syscalls as being const

Mark arguments to certain system calls as being const where they should be but
aren't.  The list includes:

 (*) The filename arguments of various stat syscalls, execve(), various utimes
     syscalls and some mount syscalls.

 (*) The filename arguments of some syscall helpers relating to the above.

 (*) The buffer argument of various write syscalls.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
44 files changed:
arch/alpha/kernel/osf_sys.c
arch/alpha/kernel/process.c
arch/arm/kernel/sys_arm.c
arch/arm/kernel/sys_oabi-compat.c
arch/avr32/include/asm/syscalls.h
arch/avr32/kernel/process.c
arch/blackfin/kernel/process.c
arch/frv/kernel/process.c
arch/h8300/kernel/process.c
arch/ia64/include/asm/unistd.h
arch/ia64/kernel/process.c
arch/m32r/kernel/process.c
arch/m68k/kernel/process.c
arch/m68knommu/kernel/process.c
arch/microblaze/kernel/sys_microblaze.c
arch/mips/kernel/syscall.c
arch/mn10300/kernel/process.c
arch/parisc/hpux/fs.c
arch/powerpc/kernel/process.c
arch/powerpc/kernel/sys_ppc32.c
arch/s390/kernel/compat_linux.c
arch/s390/kernel/compat_linux.h
arch/s390/kernel/entry.h
arch/s390/kernel/process.c
arch/sh/include/asm/syscalls_32.h
arch/sh/include/asm/syscalls_64.h
arch/sh/kernel/process_64.c
arch/sparc/kernel/sys_sparc32.c
arch/um/kernel/exec.c
arch/um/kernel/internal.h
arch/um/kernel/syscall.c
arch/x86/ia32/sys_ia32.c
arch/x86/include/asm/sys_ia32.h
arch/x86/include/asm/syscalls.h
arch/x86/kernel/entry_64.S
arch/x86/kernel/process.c
arch/xtensa/kernel/process.c
fs/compat.c
fs/stat.c
fs/utimes.c
include/linux/compat.h
include/linux/fs.h
include/linux/syscalls.h
include/linux/time.h