No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter eef5c756ed exfat: Fix pontential use after free in exfat_load_upcase_table()
This code calls brelse(bh) and then dereferences "bh" on the next line
resulting in a possible use after free.  The brelse() should just be
moved down a line.

Fixes: b676fdbcf4c8 ("exfat: standardize checksum calculation")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-06-09 08:45:56 +09:00
.travis.yml exfat: remove metadata journing tests 2020-06-09 08:45:52 +09:00
.travis_cmd_wrapper.pl exfat: add travis-CI build and test support 2020-02-03 22:43:47 +09:00
.travis_get_mainline_kernel exfat: add travis-CI build and test support 2020-02-03 22:43:47 +09:00
balloc.c exfat: Unify access to the boot sector 2020-04-06 14:11:45 +09:00
cache.c exfat: initial commit 2020-02-03 21:47:19 +09:00
dir.c exfat: standardize checksum calculation 2020-06-04 15:42:47 +09:00
exfat_fs.h exfat: standardize checksum calculation 2020-06-04 15:42:47 +09:00
exfat_raw.h exfat: separate the boot sector analysis 2020-06-04 15:42:41 +09:00
fatent.c exfat: Use a more common logging style 2020-04-06 12:50:48 +09:00
file.c exfat: fix incorrect update of stream entry in __exfat_truncate() 2020-06-04 15:42:57 +09:00
inode.c exfat: optimize dir-cache 2020-06-04 15:42:34 +09:00
Kconfig exfat: initial commit 2020-02-03 21:47:19 +09:00
Makefile exfat: linux 4.16 kernel build support 2020-02-04 09:18:10 +09:00
misc.c exfat: standardize checksum calculation 2020-06-04 15:42:47 +09:00
namei.c exfat: optimize dir-cache 2020-06-04 15:42:34 +09:00
nls.c exfat: Fix pontential use after free in exfat_load_upcase_table() 2020-06-09 08:45:56 +09:00
README.md exfat: fix typo 2020-02-10 21:35:58 +09:00
super.c exfat: add the dummy mount options to be backward compatible with staging/exfat 2020-06-04 15:42:50 +09:00

exFAT filesystem

This is the exfat filesystem for support from the linux 4.1 kernel to the latest kernel.

Installing as a stand-alone module

Install prerequisite package for Fedora, RHEL:

	yum install kernel-devel-$(uname -r)

Build step:

	make
	sudo make install

To load the driver manually, run this as root:

	modprobe exfat

Installing as a part of the kernel

  1. Let's take [linux] as the path to your kernel source dir.
	cd [linux]
	cp -ar exfat [linux]/fs/
  1. edit [linux]/fs/Kconfig
	source "fs/fat/Kconfig"
	+source "fs/exfat/Kconfig"
	source "fs/ntfs/Kconfig"
  1. edit [linux]/fs/Makefile
	obj-$(CONFIG_FAT_FS)          += fat/
	+obj-$(CONFIG_EXFAT_FS)       += exfat/
	obj-$(CONFIG_BFS_FS)          += bfs/
  1. make menuconfig and set exfat
	File systems  --->
		DOS/FAT/NT Filesystems  --->
			<M> exFAT filesystem support
			(utf8) Default iocharset for exFAT

build your kernel