mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-09 23:34:42 +08:00
e780c452cf
As pointed out by Arnd Bergmann, this fixes a couple of issues but will increase code size: The original macro user_termio_to_kernel_termios was not endian safe. It used an unsigned short ptr to access the low bits in a 32-bit word. Both user_termio_to_kernel_termios and kernel_termios_to_user_termio are missing error checking on put_user/get_user and copy_to/from_user. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Reviewed-by: Nicolas Pitre <nico@linaro.org> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
38 lines
811 B
Makefile
38 lines
811 B
Makefile
include include/asm-generic/Kbuild.asm
|
|
|
|
header-y += hwcap.h
|
|
|
|
generic-y += auxvec.h
|
|
generic-y += bitsperlong.h
|
|
generic-y += cputime.h
|
|
generic-y += current.h
|
|
generic-y += emergency-restart.h
|
|
generic-y += errno.h
|
|
generic-y += exec.h
|
|
generic-y += ioctl.h
|
|
generic-y += ipcbuf.h
|
|
generic-y += irq_regs.h
|
|
generic-y += kdebug.h
|
|
generic-y += local.h
|
|
generic-y += local64.h
|
|
generic-y += msgbuf.h
|
|
generic-y += param.h
|
|
generic-y += parport.h
|
|
generic-y += percpu.h
|
|
generic-y += poll.h
|
|
generic-y += resource.h
|
|
generic-y += sections.h
|
|
generic-y += segment.h
|
|
generic-y += sembuf.h
|
|
generic-y += serial.h
|
|
generic-y += shmbuf.h
|
|
generic-y += siginfo.h
|
|
generic-y += sizes.h
|
|
generic-y += socket.h
|
|
generic-y += sockios.h
|
|
generic-y += termbits.h
|
|
generic-y += termios.h
|
|
generic-y += timex.h
|
|
generic-y += types.h
|
|
generic-y += unaligned.h
|