mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-24 08:02:35 +00:00
The strlcpy() feature check slows every build unnecessarily - so make it a __weak function so it does not have to be auto-detected. If the libc (or any other library) has an strlcpy() implementation it will be used - otherwise our fallback is active. Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-zjbrcupapu08ePsyYhhhxiwk@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org> |
History
|
|
|---|---|---|
| .. | ||
| bitmap.h | ||
| bitops.h | ||
| compiler.h | ||
| const.h | ||
| ctype.h | ||
| export.h | ||
| hash.h | ||
| kernel.h | ||
| linkage.h | ||
| list.h | ||
| magic.h | ||
| poison.h | ||
| prefetch.h | ||
| rbtree.h | ||
| rbtree_augmented.h | ||
| string.h | ||
| types.h | ||