3 ms·
> Using JSON here is a very strange choice. I agree! Perhaps the userspace administrative tool (which links json-c) parses it and converts it to something mor
by loeg 9y ago
> Using JSON here is a very strange choice.
I agree! Perhaps the userspace administrative tool (which links json-c) parses it and converts it to something more like an ioctl struct for the kernel.
- majewsky 9y agoAFAIK the kernel only contains dm-crypt. The whole key handling takes place in userspace, in cryptsetup(1). (If you want to have a bad day, you can send a patch to Linus to put a JSON parser in the kernel.)