Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

madvise: correct the comment of MADV_DODUMP flag

s/MADV_NODUMP/MADV_DONTDUMP/

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Zhang Yanfei and committed by
Linus Torvalds
85892f19 29f175d1

+1 -1
+1 -1
include/uapi/asm-generic/mman-common.h
··· 50 50 51 51 #define MADV_DONTDUMP 16 /* Explicity exclude from the core dump, 52 52 overrides the coredump filter bits */ 53 - #define MADV_DODUMP 17 /* Clear the MADV_NODUMP flag */ 53 + #define MADV_DODUMP 17 /* Clear the MADV_DONTDUMP flag */ 54 54 55 55 /* compatibility flags */ 56 56 #define MAP_FILE 0