[lkml]   [2004]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] implement in-kernel keys & keyring management
On Sat, 7 Aug 2004, Linus Torvalds wrote:

> On Sun, 8 Aug 2004, James Morris wrote:
> >
> > I would suggest that the /sbin/request-key interface be done via Netlink
> > messaging instead.

> I really disagree.
> If you want to use netlink, do so. But do it from the /sbin/request-key
> script or binary.
> I've never seen a good binary deamon listening for things. It's a horrible
> interface. It's undebuggable, it's inflexible, and it's just plain nasty.
> I'm just looking at how _well_ /sbin/hotplug has worked out. I believe
> that it would have been a disaster done with a binary messaging setup.

I'm not disagreeing with the above, but what about performance? Part of
the reason I suggested Netlink is that it's likely to be more efficient to
send messages over a socket than to exec a program for each key request
from the kernel.

It's difficult to know if performance will actually be an issue without
understanding the potential workload more. What if many thousands of
clients are connected to a fileserver? Would calling /sbin/request-key
for each key request be likely to cause performance problems?

- James
James Morris

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.157 / U:1.268 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site