[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:1.947 / U:0.068 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site