FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-29-2008, 08:10 PM
Tim Gardner
 
Default UBUNTU: SAUCE: Export symbols for aufs (in lum). OriginalAuthor: Julian Andres Klode

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
fs/file_table.c | 1 +
fs/namei.c | 5 +++--
fs/splice.c | 12 +++++++-----
include/linux/namei.h | 1 +
include/linux/splice.h | 6 ++++++
security/security.c | 1 +
6 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/fs/file_table.c b/fs/file_table.c
index 8308422..0b6dbac 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -347,6 +347,7 @@ void put_filp(struct file *file)
file_free(file);
}
}
+EXPORT_SYMBOL(put_filp);

void file_move(struct file *file, struct list_head *list)
{
diff --git a/fs/namei.c b/fs/namei.c
index 3130ce8..5f2f3c4 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1305,8 +1305,7 @@ int __user_path_lookup_open(const char __user *name, unsigned int lookup_flags,
return err;
}

-static struct dentry *__lookup_hash(struct qstr *name,
- struct dentry *base, struct nameidata *nd)
+struct dentry *__lookup_hash(struct qstr *name, struct dentry *base, struct nameidata *nd)
{
struct dentry *dentry;
struct inode *inode;
@@ -3001,6 +3000,7 @@ EXPORT_SYMBOL(follow_up);
EXPORT_SYMBOL(get_write_access); /* binfmt_aout */
EXPORT_SYMBOL(getname);
EXPORT_SYMBOL(lock_rename);
+EXPORT_SYMBOL(__lookup_hash);
EXPORT_SYMBOL(lookup_one_len);
EXPORT_SYMBOL(page_follow_link_light);
EXPORT_SYMBOL(page_put_link);
@@ -3027,3 +3027,4 @@ EXPORT_SYMBOL(vfs_symlink);
EXPORT_SYMBOL(vfs_unlink);
EXPORT_SYMBOL(dentry_unhash);
EXPORT_SYMBOL(generic_readlink);
+EXPORT_SYMBOL(deny_write_access);
diff --git a/fs/splice.c b/fs/splice.c
index d7e1a4c..6ce2eaf 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -878,8 +878,8 @@ EXPORT_SYMBOL(generic_splice_sendpage);
/*
* Attempt to initiate a splice from pipe to file.
*/
-static long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
- loff_t *ppos, size_t len, unsigned int flags)
+long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
+ loff_t *ppos, size_t len, unsigned int flags)
{
int ret;

@@ -895,13 +895,14 @@ static long do_splice_from(struct pipe_inode_info *pipe, struct file *out,

return out->f_op->splice_write(pipe, out, ppos, len, flags);
}
+EXPORT_SYMBOL(do_splice_from);

/*
* Attempt to initiate a splice from a file to a pipe.
*/
-static long do_splice_to(struct file *in, loff_t *ppos,
- struct pipe_inode_info *pipe, size_t len,
- unsigned int flags)
+long do_splice_to(struct file *in, loff_t *ppos,
+ struct pipe_inode_info *pipe, size_t len,
+ unsigned int flags)
{
int ret;

@@ -917,6 +918,7 @@ static long do_splice_to(struct file *in, loff_t *ppos,

return in->f_op->splice_read(in, ppos, pipe, len, flags);
}
+EXPORT_SYMBOL(do_splice_to);

/**
* splice_direct_to_actor - splices data directly between two non-pipes
diff --git a/include/linux/namei.h b/include/linux/namei.h
index 24d88e9..33c7f23 100644
--- a/include/linux/namei.h
+++ b/include/linux/namei.h
@@ -74,6 +74,7 @@ extern struct file *lookup_instantiate_filp(struct nameidata *nd, struct dentry
extern struct file *nameidata_to_filp(struct nameidata *nd, int flags);
extern void release_open_intent(struct nameidata *);

+struct dentry * __lookup_hash(struct qstr *name, struct dentry * base, struct nameidata *nd);
extern struct dentry *lookup_one_len(const char *, struct dentry *, int);
extern struct dentry *lookup_one_noperm(const char *, struct dentry *);

diff --git a/include/linux/splice.h b/include/linux/splice.h
index 528dcb9..5123bc6 100644
--- a/include/linux/splice.h
+++ b/include/linux/splice.h
@@ -71,4 +71,10 @@ extern ssize_t splice_to_pipe(struct pipe_inode_info *,
extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *,
splice_direct_actor *);

+extern long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
+ loff_t *ppos, size_t len, unsigned int flags);
+extern long do_splice_to(struct file *in, loff_t *ppos,
+ struct pipe_inode_info *pipe, size_t len,
+ unsigned int flags);
+
#endif
diff --git a/security/security.c b/security/security.c
index f47d84f..89c5f53 100644
--- a/security/security.c
+++ b/security/security.c
@@ -471,6 +471,7 @@ int security_inode_follow_link(struct dentry *dentry, struct nameidata *nd)
return 0;
return security_ops->inode_follow_link(dentry, nd);
}
+EXPORT_SYMBOL(security_inode_permission);

int security_inode_permission(struct inode *inode, int mask, struct nameidata *nd)
{
--
1.5.4.3


--------------000302090601070207040208
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

--------------000302090601070207040208--
 

Thread Tools




All times are GMT. The time now is 02:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org