1
0
Fork 0
mirror of https://github.com/followmsi/android_kernel_google_msm.git synced 2024-11-06 23:17:41 +00:00
android_kernel_google_msm/fs
Daniel Rosenberg 88598fa8ae ANDROID: sdcardfs: Avoid setting GIDs outside of valid ranges
When setting up the ownership of files on the lower filesystem,
ensure that these values are in reasonable ranges for apps. If
they aren't, default to AID_MEDIA_RW

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 37516160
Change-Id: I0bec76a61ac72aff0b993ab1ad04be8382178a00
2017-09-22 19:12:32 +03:00
..
9p fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
adfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
affs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
afs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
autofs4 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
befs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
bfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
btrfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
cachefiles
ceph fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
cifs move d_rcu from overlapping d_child to overlapping d_alias 2017-09-22 19:11:55 +03:00
coda fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
configfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
cramfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
crypto ext4/fscrypto: avoid RCU lookup in d_revalidate 2016-10-29 23:12:37 +08:00
debugfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
devpts fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
dlm dlm fixes for 3.4 2012-04-23 18:22:42 -07:00
ecryptfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
efs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
exofs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
exportfs move d_rcu from overlapping d_child to overlapping d_alias 2017-09-22 19:11:55 +03:00
ext2 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
ext3 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
ext4 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
f2fs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
fat fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
freevxfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
fscache
fuse fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
gfs2 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
hfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
hfsplus fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
hostfs
hpfs
hppfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
hugetlbfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
isofs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
jbd
jbd2 jbd2: use GFP_NOFS for blkdev_issue_flush 2012-04-23 21:43:41 -04:00
jffs2 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
jfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
lockd lockd: fix the endianness bug 2012-04-13 13:50:52 -04:00
logfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
minix fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
ncpfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
nfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
nfs_common
nfsd fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
nilfs2 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
nls
notify vfs: Add permission2 for filesystems with per mount permissions 2017-09-22 19:12:07 +03:00
ntfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
ocfs2 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
omfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
openpromfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
proc UPSTREAM: capabilities: ambient capabilities 2017-09-01 13:38:08 +03:00
pstore
qnx4 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
qnx6 fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
quota
ramfs
reiserfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
romfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
sdcardfs ANDROID: sdcardfs: Avoid setting GIDs outside of valid ranges 2017-09-22 19:12:32 +03:00
squashfs
sysfs
sysv fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
ubifs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
udf udf: Check path length when reading symlink 2017-07-10 01:48:57 +03:00
ufs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
xfs fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
yaffs2 fs: yaffs2: Add null pointer check before dereferencing inode 2013-02-27 18:19:17 -08:00
aio.c BACKPORT: aio: mark AIO pseudo-fs noexec 2017-03-03 13:15:25 -07:00
anon_inodes.c
attr.c vfs: Add setattr2 for filesystems with per mount permissions 2017-09-22 19:12:07 +03:00
bad_inode.c
binfmt_aout.c VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
binfmt_elf.c VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
binfmt_elf_fdpic.c VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
binfmt_em86.c
binfmt_flat.c VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
binfmt_misc.c fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
binfmt_script.c
binfmt_som.c VM: add "vm_mmap()" helper function 2012-04-20 17:29:13 -07:00
bio-integrity.c
bio.c bio allocation failure due to bio_get_nr_vecs() 2012-05-11 16:45:12 +02:00
block_dev.c block: don't mark buffers beyond end of disk as mapped 2012-05-11 16:42:14 +02:00
buffer.c block: fix infinite loop in __getblk_slow 2013-03-15 17:09:41 -07:00
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c fs: Add TTY PM IOCTLs to compat table 2016-10-29 23:08:34 +08:00
dcache.c constify d_lookup() arguments 2017-09-22 19:12:14 +03:00
dcookies.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c epoll: use freezable blocking call 2013-07-12 14:22:57 -07:00
exec.c vfs: Add permission2 for filesystems with per mount permissions 2017-09-22 19:12:07 +03:00
fcntl.c
fhandle.c vfs: read file_handle only once in handle_to_path 2016-10-29 23:12:11 +08:00
fifo.c
file.c
file_table.c brlocks/lglocks: API cleanups 2015-07-13 11:17:41 -07:00
filesystems.c fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
fs-writeback.c sync: don't block the flusher thread waiting on IO 2016-10-29 23:12:18 +08:00
fs_struct.c sdcardfs: override umask on mkdir and create 2017-09-22 19:12:02 +03:00
generic_acl.c BACKPORT: posix_acl: Clear SGID bit when setting file permissions 2017-06-26 20:26:17 +03:00
inode.c fs: introduce inode operation ->update_time 2015-07-13 11:17:49 -07:00
internal.h vfs: Allow filesystems to access their private mount data 2017-09-22 19:12:06 +03:00
ioctl.c
ioprio.c block: fix use-after-free in sys_ioprio_get() 2016-11-11 13:35:57 +11:00
Kconfig Included sdcardfs source code for kernel 3.0 2017-09-22 19:11:56 +03:00
Kconfig.binfmt
libfs.c move d_rcu from overlapping d_child to overlapping d_alias 2017-09-22 19:11:55 +03:00
locks.c
Makefile Included sdcardfs source code for kernel 3.0 2017-09-22 19:11:56 +03:00
mbcache.c
mount.h proc: Usable inode numbers for the namespace file descriptors. 2015-07-13 11:18:01 -07:00
mpage.c
namei.c ANDROID: vfs: Missed updating truncate to truncate2 2017-09-22 19:12:10 +03:00
namespace.c BACKPORT: smarter propagate_mnt() 2017-09-22 19:12:10 +03:00
no-block.c
open.c vfs: Add setattr2 for filesystems with per mount permissions 2017-09-22 19:12:07 +03:00
pipe.c pipe: limit the per-user amount of pages allocated in pipes 2016-10-29 23:12:35 +08:00
pnode.c ANDROID: mnt: remount should propagate to slaves of slaves 2017-09-22 19:12:11 +03:00
pnode.h ANDROID: mnt: remount should propagate to slaves of slaves 2017-09-22 19:12:11 +03:00
posix_acl.c BACKPORT: posix_acl: Clear SGID bit when setting file permissions 2017-06-26 20:26:17 +03:00
proc_namespace.c vfs: Allow filesystems to access their private mount data 2017-09-22 19:12:06 +03:00
read_write.c
read_write.h
readdir.c kernel: Only expose su when daemon is running 2017-05-19 18:41:25 -06:00
select.c select: use freezable blocking call 2013-07-12 14:22:58 -07:00
seq_file.c fs/seq_file: Use vmalloc by default for allocations > PAGE_SIZE 2014-11-18 15:13:24 -08:00
signalfd.c
splice.c splice: introduce FMODE_SPLICE_READ and FMODE_SPLICE_WRITE 2017-06-26 21:30:22 +03:00
stack.c
stat.c
statfs.c
super.c vfs: Allow filesystems to access their private mount data 2017-09-22 19:12:06 +03:00
sync.c
timerfd.c timerfd: support CLOCK_BOOTTIME clock 2017-08-27 19:07:23 +03:00
utimes.c vfs: Add setattr2 for filesystems with per mount permissions 2017-09-22 19:12:07 +03:00
xattr.c
xattr_acl.c