Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Aufs5 Standalone
Commits
1dbb5c86
Commit
1dbb5c86
authored
Jun 09, 2019
by
J. R. Okajima
Browse files
aufs5.x-rcN 20190610
Signed-off-by:
J. R. Okajima
<
hooanon05g@gmail.com
>
parent
5a7ee5bc
Changes
6
Hide whitespace changes
Inline
Side-by-side
aufs5-base.patch
View file @
1dbb5c86
...
...
@@ -2,10 +2,10 @@ SPDX-License-Identifier: GPL-2.0
aufs5.x-rcN base patch
diff --git a/MAINTAINERS b/MAINTAINERS
index
429c6c624861..382d5a5edd7e
100644
index
a6954776a37e..c30c2d323711
100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -27
58
,6 +27
58
,19 @@
F: include/linux/audit.h
@@ -27
69
,6 +27
69
,19 @@
F: include/linux/audit.h
F: include/uapi/linux/audit.h
F: kernel/audit*
...
...
@@ -26,7 +26,7 @@ index 429c6c624861..382d5a5edd7e 100644
M: Miguel Ojeda Sandonis <miguel.ojeda.sandonis@gmail.com>
S: Maintained
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index
102d79575895..0d62fd56648d
100644
index
f11b7dc16e9d..1b723737592b
100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -746,6 +746,24 @@
static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
...
...
@@ -103,7 +103,7 @@ index df6542ec3b88..407d7b45e2ee 100644
int (*update_time)(struct inode *, struct timespec64 *, int);
diff --git a/fs/namespace.c b/fs/namespace.c
index
ffb13f0562b0..4a9b8c3a70d2
100644
index
b26778bdc236..b460383a4228
100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -770,6 +770,12 @@
static inline int check_mnt(struct mount *mnt)
...
...
aufs5-loopback.patch
View file @
1dbb5c86
...
...
@@ -2,7 +2,7 @@ SPDX-License-Identifier: GPL-2.0
aufs5.x-rcN loopback patch
diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index
0d62fd56648d..c5543376c6b2
100644
index
1b723737592b..16561a96019c
100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -633,6 +633,15 @@
static inline void loop_update_dio(struct loop_device *lo)
...
...
@@ -95,9 +95,9 @@ index 0d62fd56648d..c5543376c6b2 100644
+ get_file(file);
+ }
error = mutex_lock_killable(&loop_ctl_mutex);
if (error)
@@ -
998
,6 +10
26
,7 @@
static int loop_set_fd(struct loop_device *lo, fmode_t mode,
/*
* If we don't hold exclusive handle for the device, upgrade to it
@@ -
1009
,6 +10
37
,7 @@
static int loop_set_fd(struct loop_device *lo, fmode_t mode,
lo->lo_device = bdev;
lo->lo_flags = lo_flags;
lo->lo_backing_file = file;
...
...
@@ -105,8 +105,8 @@ index 0d62fd56648d..c5543376c6b2 100644
lo->transfer = NULL;
lo->ioctl = NULL;
lo->lo_sizelimit = 0;
@@ -10
36
,6 +10
65
,8 @@
static int loop_set_fd(struct loop_device *lo, fmode_t mode,
mutex_unlock(&loop_ctl_mutex
);
@@ -10
52
,6 +10
81
,8 @@
static int loop_set_fd(struct loop_device *lo, fmode_t mode,
blkdev_put(bdev, mode | FMODE_EXCL
);
out_putf:
fput(file);
+ if (virt_file)
...
...
@@ -114,7 +114,7 @@ index 0d62fd56648d..c5543376c6b2 100644
out:
/* This is safe: open() is still holding a reference. */
module_put(THIS_MODULE);
@@ -108
2
,6 +11
13
,7 @@
loop_init_xfer(struct loop_device *lo, struct loop_func_table *xfer,
@@ -10
9
8,6 +11
29
,7 @@
loop_init_xfer(struct loop_device *lo, struct loop_func_table *xfer,
static int __loop_clr_fd(struct loop_device *lo, bool release)
{
struct file *filp = NULL;
...
...
@@ -122,7 +122,7 @@ index 0d62fd56648d..c5543376c6b2 100644
gfp_t gfp = lo->old_gfp_mask;
struct block_device *bdev = lo->lo_device;
int err = 0;
@@ -11
05
,6 +113
7
,7 @@
static int __loop_clr_fd(struct loop_device *lo, bool release)
@@ -11
21
,6 +11
5
3,7 @@
static int __loop_clr_fd(struct loop_device *lo, bool release)
spin_lock_irq(&lo->lo_lock);
lo->lo_backing_file = NULL;
...
...
@@ -130,7 +130,7 @@ index 0d62fd56648d..c5543376c6b2 100644
spin_unlock_irq(&lo->lo_lock);
loop_release_xfer(lo);
@@ -1
187
,6 +12
20
,8 @@
static int __loop_clr_fd(struct loop_device *lo, bool release)
@@ -1
203
,6 +12
36
,8 @@
static int __loop_clr_fd(struct loop_device *lo, bool release)
*/
if (filp)
fput(filp);
...
...
aufs5-mmap.patch
View file @
1dbb5c86
...
...
@@ -15,10 +15,10 @@ index 9c8ca6cd3ce4..2ae2c94aceca 100644
rc = 0;
}
diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c
index
3b63be64e436..fb9913bf3d10
100644
index
14c2badb8fd9..65afe5287e43
100644
--- a/fs/proc/nommu.c
+++ b/fs/proc/nommu.c
@@ -4
5
,7 +4
5
,10 @@
static int nommu_region_show(struct seq_file *m, struct vm_region *region)
@@ -4
1
,7 +4
1
,10 @@
static int nommu_region_show(struct seq_file *m, struct vm_region *region)
file = region->vm_file;
if (file) {
...
...
@@ -125,7 +125,7 @@ index 8ec38b11b361..d3f5492a2611 100644
atomic_long_t swap_readahead_info;
diff --git a/kernel/fork.c b/kernel/fork.c
index
b2b87d450b80..c97d53f7c49a
100644
index
75675b9bf6df..dc333a5e6926
100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -549,7 +549,7 @@
static __latent_entropy int dup_mmap(struct mm_struct *mm,
...
...
aufs5-standalone.patch
View file @
1dbb5c86
...
...
@@ -86,7 +86,7 @@ index 407d7b45e2ee..b4d3e100abd0 100644
/**
* touch_atime - update the access time
diff --git a/fs/namespace.c b/fs/namespace.c
index
4a9b8c3a70d2..64e82b22d55e
100644
index
b460383a4228..b74d15701ed7
100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -436,6 +436,7 @@
void __mnt_drop_write(struct vfsmount *mnt)
...
...
@@ -300,10 +300,10 @@ index dc28914fa72e..c2ddfea2b280 100644
}
+EXPORT_SYMBOL_GPL(__devcgroup_check_permission);
diff --git a/security/security.c b/security/security.c
index
613a5c00e602..7ebb58f218a0
100644
index
f493db0bf62a..96f118be469f
100644
--- a/security/security.c
+++ b/security/security.c
@@ -99
7
,6 +99
7
,7 @@
int security_path_rmdir(const struct path *dir, struct dentry *dentry)
@@ -99
3
,6 +99
3
,7 @@
int security_path_rmdir(const struct path *dir, struct dentry *dentry)
return 0;
return call_int_hook(path_rmdir, 0, dir, dentry);
}
...
...
@@ -311,7 +311,7 @@ index 613a5c00e602..7ebb58f218a0 100644
int security_path_unlink(const struct path *dir, struct dentry *dentry)
{
@@ -10
13
,6 +101
4
,7 @@
int security_path_symlink(const struct path *dir, struct dentry *dentry,
@@ -10
09
,6 +101
0
,7 @@
int security_path_symlink(const struct path *dir, struct dentry *dentry,
return 0;
return call_int_hook(path_symlink, 0, dir, dentry, old_name);
}
...
...
@@ -319,7 +319,7 @@ index 613a5c00e602..7ebb58f218a0 100644
int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
struct dentry *new_dentry)
@@ -10
2
1,6 +10
23
,7 @@
int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
@@ -101
7
,6 +10
19
,7 @@
int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
return 0;
return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry);
}
...
...
@@ -327,7 +327,7 @@ index 613a5c00e602..7ebb58f218a0 100644
int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
const struct path *new_dir, struct dentry *new_dentry,
@@ -104
8
,6 +10
51
,7 @@
int security_path_truncate(const struct path *path)
@@ -104
4
,6 +10
47
,7 @@
int security_path_truncate(const struct path *path)
return 0;
return call_int_hook(path_truncate, 0, path);
}
...
...
@@ -335,7 +335,7 @@ index 613a5c00e602..7ebb58f218a0 100644
int security_path_chmod(const struct path *path, umode_t mode)
{
@@ -105
5
,6 +105
9
,7 @@
int security_path_chmod(const struct path *path, umode_t mode)
@@ -105
1
,6 +105
5
,7 @@
int security_path_chmod(const struct path *path, umode_t mode)
return 0;
return call_int_hook(path_chmod, 0, path, mode);
}
...
...
@@ -343,7 +343,7 @@ index 613a5c00e602..7ebb58f218a0 100644
int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
{
@@ -10
62
,6 +106
7
,7 @@
int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
@@ -10
58
,6 +106
3
,7 @@
int security_path_chown(const struct path *path, kuid_t uid, kgid_t gid)
return 0;
return call_int_hook(path_chown, 0, path, uid, gid);
}
...
...
@@ -351,7 +351,7 @@ index 613a5c00e602..7ebb58f218a0 100644
int security_path_chroot(const struct path *path)
{
@@ -11
62
,6 +116
8
,7 @@
int security_inode_permission(struct inode *inode, int mask)
@@ -11
58
,6 +116
4
,7 @@
int security_inode_permission(struct inode *inode, int mask)
return 0;
return call_int_hook(inode_permission, 0, inode, mask);
}
...
...
@@ -359,7 +359,7 @@ index 613a5c00e602..7ebb58f218a0 100644
int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
{
@@ -133
9
,6 +134
6
,7 @@
int security_file_permission(struct file *file, int mask)
@@ -133
5
,6 +134
2
,7 @@
int security_file_permission(struct file *file, int mask)
return fsnotify_perm(file, mask);
}
...
...
include/uapi/linux/aufs_type.h
View file @
1dbb5c86
...
...
@@ -40,7 +40,7 @@
#include <linux/limits.h>
#define AUFS_VERSION "5.x-rcN-2019060
3
"
#define AUFS_VERSION "5.x-rcN-201906
1
0"
/* todo? move this to linux-2.6.19/include/magic.h */
#define AUFS_SUPER_MAGIC ('a' << 24 | 'u' << 16 | 'f' << 8 | 's')
...
...
proc_mounts.patch
View file @
1dbb5c86
...
...
@@ -15,7 +15,7 @@ index 6250de544760..29abfea2db50 100644
extern const struct seq_operations mounts_op;
diff --git a/fs/namespace.c b/fs/namespace.c
index
ffb13f0562b0..674517838ee1
100644
index
b26778bdc236..6478bf650177
100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1260,46 +1260,78 @@
struct vfsmount *mnt_clone_internal(const struct path *path)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment