Thread (18 messages) 18 messages, 4 authors, 2011-05-06

Re: [RFC v3 01/10] lsm: add security_socket_closed()

flat view

From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: 2011-05-03 15:30:02
Also in: lkml, netfilter-devel

Samir Bellabes wrote:
Allow a module to update security informations when a socket is closed.
Is security_inode_free() too late for doing it?

static void ccs_inode_free_security(struct inode *inode)
{
        if (inode->i_sb && inode->i_sb->s_magic == SOCKFS_MAGIC)
                ccs_update_socket_tag(inode, 0);
}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help