Re: [cryptoapi/sysfs] display cipher details in sysfs

From: Greg KH
Date: Tue Sep 07 2004 - 12:01:42 EST


On Tue, Sep 07, 2004 at 12:37:48PM -0400, James Morris wrote:
> On Sun, 5 Sep 2004, Greg KH wrote:
>
> > Other than that, I like this move, /proc/crypto isn't the best thing to
> > have in a proc filesystem :)
>
> The only issue is what to do about potentially expanding this into an API
> (e.g. open() an algorithm and write to it). Does this sort of thing
> belong in sysfs?

No, not really. That should be in a special fs just for crypto stuff
(cryptofs?) sysfs is for displaying and setting single units of kernel
information at at time. So for just showing this crypto information, it
would be fine to use.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/