user880946
user880946

Reputation: 489

glib and linux kernel

I need to make some RPC calls from a module that resides in the kernel. I was wondering if glib could be used for this prurpose. Has anyone tried using the glib library inside the kernel? Is that even possible?

Upvotes: 0

Views: 499

Answers (1)

Diego Woitasen
Diego Woitasen

Reputation: 35368

No, it's not possible to use userspace libraries in the kernel. Have a look at net/sunrpc/ directory for the kernel impletantion of RPC. It's used by the NFS kernel code.

Upvotes: 6

Related Questions