-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to call into kernel's x.509 parsing functions #58
Comments
My interest is primarily in fuzzing of various linux kernel APIs, which are not exposed as syscalls. Is it reasonable to want to use lkl for this, or is it outside your goals? |
I'm on the side where symbols in liblkl.so should be exposed (while @tavip not) :) I believe fuzz testing is definitely in the lkl's scope. |
For now, the thing to do might be to add the symbols you're interested in to
Then you'd want to follow the example of how It's tricky because on the one hand, it would be great to expose the whole kernel to userspace, but on the other hand, most code you expose that way is going to be broken, and it seems wrong to drop ~10M lines of undocumented (as far as using it as a library is concerned) code onto the user's lap. A compromise might be to provide a nice, documented way to pick extra symbols to expose (e.g. say |
I'm very excited by
lkl
for a project I"m working on, however I need access to the kernel's x509 functions, specificallyx509_cert_parse
(https://github.com/torvalds/linux/blob/master/crypto/asymmetric_keys/x509_cert_parser.c#L68).However, I don't see this in
strings lkl.o
. I'd be great if this could be added! Not sure if that's just a matter of adjusting the.config
or if more work is involved.The text was updated successfully, but these errors were encountered: