lkml.org 
[lkml]   [2010]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: BUG: Securityfs and bind mounts (2.6.34)
Date
On Thursday 08 Jul 2010 16:20:59 Greg KH wrote:
> > :) Well I do not know, but, it kind of smelled like a bug in the
> > : vfs/mount
> >
> > handling/securityfs area so I thought to let experts know. I _think_ I
> > did nothing that much wrong. Just used the exposed API
> > (securityfs_remove) and some bind mount shuffling from userspace.
>
> securitfs just uses libfs underneath it, and really doesn't have any
> bindings for module ownerships, so I wouldn't recommend doing what you
> just did.

Just do double check what you are saying, securityfs is not safe for use from
modules? If so I would then recommend removing the exports otherwise it is an
invitation to shoot yourself into the foot. Also, in-three TPM driver can be
built as a module so how does that work?

Tvrtko

Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.


\
 
 \ /
  Last update: 2010-07-08 17:35    [W:0.062 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site