lkml.org 
[lkml]   [2011]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC v3 01/10] lsm: add security_socket_closed()
From
Date
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);
}


\
 
 \ /
  Last update: 2011-05-03 17:33    [W:0.630 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site