This is an example of how to add a context set/unset wrapper inside
the kernel, for something like open flags:
1) Alloc a new SYSIND_CTX_* sequential index inside linux/indirect.h
2) Define a new "struct sysind_ctx_*" to be used by userspace
3) Define proper set/unset functions inside
This is an example of how to add a context set/unset wrapper inside
the kernel, for something like open flags:
1) Alloc a new SYSIND_CTX_* sequential index inside linux/indirect.h
2) Define a new struct sysind_ctx_* to be used by userspace
3) Define proper set/unset functions inside
2 matches
Mail list logo