Answer:The advantage of making only some of the symbols defined inside a kernel accessible to a loadable kernel module is that there are a fixed set of entry points made available to the kernel module.This ensures that loadable modules cannot invoke arbitrary code within the kernel and thereby interfere with the kernel's execution.By restricting the set of entry points,the kernel is guaranteed that the interactions with the module take place at controlled points where certain invariants hold.The disadvantage with making only a small set of the symbols defined accessible to the kernel module is the loss in flexibility and might sometimes lead to a performance issue as some of the details of the kernel are hidden from the module.
Answer:The advantage of making only some of the symbols defined inside a kernel accessible to a loadable kernel module is that there are a fixed set of entry points made available to the kernel module.This ensures that loadable modules cannot invoke arbitrary code within the kernel and thereby interfere with the kernel's execution.By restricting the set of entry points,the kernel is guaranteed that the interactions with the module take place at controlled points where certain invariants hold.The disadvantage with making only a small set of the symbols defined accessible to the kernel module is the loss in flexibility and might sometimes lead to a performance issue as some of the details of the kernel are hidden from the module.