]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ovl: move super block magic number to magic.h
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 4 Nov 2015 18:59:52 +0000 (10:59 -0800)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Tue, 1 Aug 2017 15:52:31 +0000 (08:52 -0700)
commit5dada3d96184ac22a785b4c2f7a30bf5ba04576a
treedb0d79bcc762a6de2f5d2a1b028a7685a14c1b0f
parent85d477ab1e2c00bc1013a1f30f6c1eae05140960
ovl: move super block magic number to magic.h

Orabug: 2654637926540706
CVE-2016-1575
CVE-2016-1576

The overlayfs file system is not recognized by programs
like tail because the magic number is not in standard header location.

Move it so that the value will propagate on for the GNU library
and utilities. Needs to go in the fstatfs manual page as well.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
(cherry picked from commit 257f871993474e2bde6c497b54022c362cf398e1)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
fs/overlayfs/super.c
include/uapi/linux/magic.h