lkml.org 
[lkml]   [2007]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/9] Unionfs: security convert lsm into a static interface fix
    Date
    From: Andrew Morton <akpm@linux-foundation.org>

    ERROR: "security_inode_permission" [fs/unionfs/unionfs.ko] undefined!
    ERROR: "security_file_ioctl" [fs/unionfs/unionfs.ko] undefined!

    Need these back.

    Cc: "Serge E. Hallyn" <serue@us.ibm.com>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: Chris Wright <chrisw@sous-sol.org>
    Cc: James Morris <jmorris@namei.org>
    Cc: Stephen Smalley <sds@tycho.nsa.gov>
    Cc: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
    ---
    security/security.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/security/security.c b/security/security.c
    index 0e1f1f1..95a6733 100644
    --- a/security/security.c
    +++ b/security/security.c
    @@ -409,6 +409,7 @@ int security_inode_permission(struct inode *inode, int mask, struct nameidata *n
    return 0;
    return security_ops->inode_permission(inode, mask, nd);
    }
    +EXPORT_SYMBOL(security_inode_permission);

    int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
    {
    @@ -518,6 +519,7 @@ int security_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
    {
    return security_ops->file_ioctl(file, cmd, arg);
    }
    +EXPORT_SYMBOL(security_file_ioctl);

    int security_file_mmap(struct file *file, unsigned long reqprot,
    unsigned long prot, unsigned long flags,
    --
    1.5.2.2
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-10-22 01:57    [W:0.021 / U:108.332 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site