lkml.org 
[lkml]   [2008]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 06b/26] Security: Make NFSD work with detached security
Date
J. Bruce Fields <bfields@fieldses.org> 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
possible).

David


\
 
 \ /
  Last update: 2008-01-17 23:57    [W:1.947 / U:0.068 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site