[lkml]   [2008]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 06b/26] Security: Make NFSD work with detached security
J. Bruce Fields <> wrote:

> Just curious--why? Are get_kernel_security(), etc., particularly
> expensive?

It involves a kmalloc(). That means an extra possibility for an error. Plus
it may allow you to cache the result of checking whether, say, SELinux
security labels are allowed to be set when passed over NFS (if such is


 \ /
  Last update: 2008-01-17 23:57    [W:0.059 / U:7.324 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site