wok view linux/stuff/aufs3-standalone.patch @ rev 15733

linux: add CONFIG_X86_MSR and CONFIG_EFI
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 01 19:09:17 2014 +0100 (2014-01-01)
parents
children a1084fda7f23
line source
1 aufs3.2 standalone patch
3 diff --git a/fs/file_table.c b/fs/file_table.c
4 index c322794..2aad244 100644
5 --- a/fs/file_table.c
6 +++ b/fs/file_table.c
7 @@ -443,6 +443,8 @@ void file_sb_list_del(struct file *file)
8 }
9 }
11 +EXPORT_SYMBOL(file_sb_list_del);
12 +
13 #ifdef CONFIG_SMP
15 /*
16 diff --git a/fs/inode.c b/fs/inode.c
17 index ee4e66b..728042b 100644
18 --- a/fs/inode.c
19 +++ b/fs/inode.c
20 @@ -65,6 +65,7 @@ static struct hlist_head *inode_hashtable __read_mostly;
21 static __cacheline_aligned_in_smp DEFINE_SPINLOCK(inode_hash_lock);
23 __cacheline_aligned_in_smp DEFINE_SPINLOCK(inode_sb_list_lock);
24 +EXPORT_SYMBOL(inode_sb_list_lock);
26 /*
27 * Empty aops. Can be used for the cases where the user does not
28 diff --git a/fs/namei.c b/fs/namei.c
29 index 4cc94cf..af19e30 100644
30 --- a/fs/namei.c
31 +++ b/fs/namei.c
32 @@ -1757,6 +1757,7 @@ struct dentry *lookup_hash(struct nameidata *nd)
33 {
34 return __lookup_hash(&nd->last, nd->path.dentry, nd);
35 }
36 +EXPORT_SYMBOL(lookup_hash);
38 /**
39 * lookup_one_len - filesystem helper to lookup single pathname component
40 diff --git a/fs/namespace.c b/fs/namespace.c
41 index cfc6d44..173d15a 100644
42 --- a/fs/namespace.c
43 +++ b/fs/namespace.c
44 @@ -1506,6 +1506,7 @@ int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg,
45 }
46 return 0;
47 }
48 +EXPORT_SYMBOL(iterate_mounts);
50 static void cleanup_group_ids(struct vfsmount *mnt, struct vfsmount *end)
51 {
52 diff --git a/fs/notify/group.c b/fs/notify/group.c
53 index 63fc294..6f4adca 100644
54 --- a/fs/notify/group.c
55 +++ b/fs/notify/group.c
56 @@ -22,6 +22,7 @@
57 #include <linux/srcu.h>
58 #include <linux/rculist.h>
59 #include <linux/wait.h>
60 +#include <linux/module.h>
62 #include <linux/fsnotify_backend.h>
63 #include "fsnotify.h"
64 @@ -70,6 +71,7 @@ void fsnotify_put_group(struct fsnotify_group *group)
65 if (atomic_dec_and_test(&group->refcnt))
66 fsnotify_destroy_group(group);
67 }
68 +EXPORT_SYMBOL(fsnotify_put_group);
70 /*
71 * Create a new fsnotify_group and hold a reference for the group returned.
72 @@ -102,3 +104,4 @@ struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops)
74 return group;
75 }
76 +EXPORT_SYMBOL(fsnotify_alloc_group);
77 diff --git a/fs/notify/mark.c b/fs/notify/mark.c
78 index e14587d..be6533b 100644
79 --- a/fs/notify/mark.c
80 +++ b/fs/notify/mark.c
81 @@ -112,6 +112,7 @@ void fsnotify_put_mark(struct fsnotify_mark *mark)
82 if (atomic_dec_and_test(&mark->refcnt))
83 mark->free_mark(mark);
84 }
85 +EXPORT_SYMBOL(fsnotify_put_mark);
87 /*
88 * Any time a mark is getting freed we end up here.
89 @@ -189,6 +190,7 @@ void fsnotify_destroy_mark(struct fsnotify_mark *mark)
90 if (unlikely(atomic_dec_and_test(&group->num_marks)))
91 fsnotify_final_destroy_group(group);
92 }
93 +EXPORT_SYMBOL(fsnotify_destroy_mark);
95 void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask)
96 {
97 @@ -276,6 +278,7 @@ err:
99 return ret;
100 }
101 +EXPORT_SYMBOL(fsnotify_add_mark);
103 /*
104 * clear any marks in a group in which mark->flags & flags is true
105 @@ -331,6 +334,7 @@ void fsnotify_init_mark(struct fsnotify_mark *mark,
106 atomic_set(&mark->refcnt, 1);
107 mark->free_mark = free_mark;
108 }
109 +EXPORT_SYMBOL(fsnotify_init_mark);
111 static int fsnotify_mark_destroy(void *ignored)
112 {
113 diff --git a/fs/open.c b/fs/open.c
114 index 22c41b5..33b4033 100644
115 --- a/fs/open.c
116 +++ b/fs/open.c
117 @@ -60,6 +60,7 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs,
118 mutex_unlock(&dentry->d_inode->i_mutex);
119 return ret;
120 }
121 +EXPORT_SYMBOL(do_truncate);
123 static long do_sys_truncate(const char __user *pathname, loff_t length)
124 {
125 diff --git a/fs/splice.c b/fs/splice.c
126 index e3569b0..9dc07b7 100644
127 --- a/fs/splice.c
128 +++ b/fs/splice.c
129 @@ -1109,6 +1109,7 @@ long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
131 return splice_write(pipe, out, ppos, len, flags);
132 }
133 +EXPORT_SYMBOL(do_splice_from);
135 /*
136 * Attempt to initiate a splice from a file to a pipe.
137 @@ -1135,6 +1136,7 @@ long do_splice_to(struct file *in, loff_t *ppos,
139 return splice_read(in, ppos, pipe, len, flags);
140 }
141 +EXPORT_SYMBOL(do_splice_to);
143 /**
144 * splice_direct_to_actor - splices data directly between two non-pipes
145 diff --git a/security/commoncap.c b/security/commoncap.c
146 index ee4f848..611fd70 100644
147 --- a/security/commoncap.c
148 +++ b/security/commoncap.c
149 @@ -975,3 +975,4 @@ int cap_file_mmap(struct file *file, unsigned long reqprot,
150 }
151 return ret;
152 }
153 +EXPORT_SYMBOL(cap_file_mmap);
154 diff --git a/security/device_cgroup.c b/security/device_cgroup.c
155 index 4450fbe..bc94175 100644
156 --- a/security/device_cgroup.c
157 +++ b/security/device_cgroup.c
158 @@ -7,6 +7,7 @@
159 #include <linux/device_cgroup.h>
160 #include <linux/cgroup.h>
161 #include <linux/ctype.h>
162 +#include <linux/export.h>
163 #include <linux/list.h>
164 #include <linux/uaccess.h>
165 #include <linux/seq_file.h>
166 @@ -500,6 +501,7 @@ found:
168 return -EPERM;
169 }
170 +EXPORT_SYMBOL(__devcgroup_inode_permission);
172 int devcgroup_inode_mknod(int mode, dev_t dev)
173 {
174 diff --git a/security/security.c b/security/security.c
175 index e2f684a..892000c 100644
176 --- a/security/security.c
177 +++ b/security/security.c
178 @@ -411,6 +411,7 @@ int security_path_rmdir(struct path *dir, struct dentry *dentry)
179 return 0;
180 return security_ops->path_rmdir(dir, dentry);
181 }
182 +EXPORT_SYMBOL(security_path_rmdir);
184 int security_path_unlink(struct path *dir, struct dentry *dentry)
185 {
186 @@ -427,6 +428,7 @@ int security_path_symlink(struct path *dir, struct dentry *dentry,
187 return 0;
188 return security_ops->path_symlink(dir, dentry, old_name);
189 }
190 +EXPORT_SYMBOL(security_path_symlink);
192 int security_path_link(struct dentry *old_dentry, struct path *new_dir,
193 struct dentry *new_dentry)
194 @@ -435,6 +437,7 @@ int security_path_link(struct dentry *old_dentry, struct path *new_dir,
195 return 0;
196 return security_ops->path_link(old_dentry, new_dir, new_dentry);
197 }
198 +EXPORT_SYMBOL(security_path_link);
200 int security_path_rename(struct path *old_dir, struct dentry *old_dentry,
201 struct path *new_dir, struct dentry *new_dentry)
202 @@ -453,6 +456,7 @@ int security_path_truncate(struct path *path)
203 return 0;
204 return security_ops->path_truncate(path);
205 }
206 +EXPORT_SYMBOL(security_path_truncate);
208 int security_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
209 mode_t mode)
210 @@ -461,6 +465,7 @@ int security_path_chmod(struct dentry *dentry, struct vfsmount *mnt,
211 return 0;
212 return security_ops->path_chmod(dentry, mnt, mode);
213 }
214 +EXPORT_SYMBOL(security_path_chmod);
216 int security_path_chown(struct path *path, uid_t uid, gid_t gid)
217 {
218 @@ -468,6 +473,7 @@ int security_path_chown(struct path *path, uid_t uid, gid_t gid)
219 return 0;
220 return security_ops->path_chown(path, uid, gid);
221 }
222 +EXPORT_SYMBOL(security_path_chown);
224 int security_path_chroot(struct path *path)
225 {
226 @@ -544,6 +550,7 @@ int security_inode_readlink(struct dentry *dentry)
227 return 0;
228 return security_ops->inode_readlink(dentry);
229 }
230 +EXPORT_SYMBOL(security_inode_readlink);
232 int security_inode_follow_link(struct dentry *dentry, struct nameidata *nd)
233 {
234 @@ -558,6 +565,7 @@ int security_inode_permission(struct inode *inode, int mask)
235 return 0;
236 return security_ops->inode_permission(inode, mask);
237 }
238 +EXPORT_SYMBOL(security_inode_permission);
240 int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
241 {
242 @@ -673,6 +681,7 @@ int security_file_permission(struct file *file, int mask)
244 return fsnotify_perm(file, mask);
245 }
246 +EXPORT_SYMBOL(security_file_permission);
248 int security_file_alloc(struct file *file)
249 {
250 @@ -700,6 +709,7 @@ int security_file_mmap(struct file *file, unsigned long reqprot,
251 return ret;
252 return ima_file_mmap(file, prot);
253 }
254 +EXPORT_SYMBOL(security_file_mmap);
256 int security_file_mprotect(struct vm_area_struct *vma, unsigned long reqprot,
257 unsigned long prot)