summaryrefslogtreecommitdiff
path: root/sound/soc/cirrus/Makefile
blob: 5514146cbdf0ebd5dd4fc7499680745eab8b36aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# EP93xx Platform Support
snd-soc-ep93xx-objs				:= ep93xx-pcm.o
snd-soc-ep93xx-i2s-objs	 			:= ep93xx-i2s.o
snd-soc-ep93xx-ac97-objs 			:= ep93xx-ac97.o

obj-$(CONFIG_SND_EP93XX_SOC)			+= snd-soc-ep93xx.o
obj-$(CONFIG_SND_EP93XX_SOC_I2S)		+= snd-soc-ep93xx-i2s.o
obj-$(CONFIG_SND_EP93XX_SOC_AC97)		+= snd-soc-ep93xx-ac97.o

# EP93XX Machine Support
snd-soc-snappercl15-objs			:= snappercl15.o
snd-soc-simone-objs				:= simone.o
snd-soc-edb93xx-objs				:= edb93xx.o

obj-$(CONFIG_SND_EP93XX_SOC_SNAPPERCL15)	+= snd-soc-snappercl15.o
obj-$(CONFIG_SND_EP93XX_SOC_SIMONE)		+= snd-soc-simone.o
obj-$(CONFIG_SND_EP93XX_SOC_EDB93XX)		+= snd-soc-edb93xx.o
a href='/cgit.cgi/linux/net-next.git/commit/fs/Kconfig.binfmt?id=9b1bf12d5d51bca178dea21b04a0805e29d60cf1'>9b1bf12d5d51bca178dea21b04a0805e29d60cf1 (diff)
core_pattern: fix truncation by core_pattern handler with long parameters
We met a parameter truncated issue, consider following: > echo "|/root/core_pattern_pipe_test %p /usr/libexec/blah-blah-blah \ %s %c %p %u %g 11 12345678901234567890123456789012345678 %t" > \ /proc/sys/kernel/core_pattern This is okay because the strings is less than CORENAME_MAX_SIZE. "cat /proc/sys/kernel/core_pattern" shows the whole string. but after we run core_pattern_pipe_test in man page, we found last parameter was truncated like below: argc[10]=<12807486> The root cause is core_pattern allows % specifiers, which need to be replaced during parse time, but the replace may expand the strings to larger than CORENAME_MAX_SIZE. So if the last parameter is % specifiers, the replace code is using snprintf(out_ptr, out_end - out_ptr, ...), this will write out of corename array. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Xiaotian Feng <dfeng@redhat.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: Oleg Nesterov <oleg@redhat.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Neil Horman <nhorman@tuxdriver.com> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/Kconfig.binfmt')