Premium
Communicating between the kernel and user‐space in Linux using Netlink sockets
Author(s) -
NeiraAyuso Pablo,
Gasca Rafael M.,
Lefevre Laurent
Publication year - 2010
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.981
Subject(s) - user space , computer science , linux kernel , extensibility , kernel (algebra) , space (punctuation) , task (project management) , operating system , configfs , software , sysfs , human–computer interaction , world wide web , software engineering , engineering , systems engineering , mathematics , combinatorics
When developing Linux kernel features, it is a good practice to expose the necessary details to user‐space to enable extensibility. This allows the development of new features and sophisticated configurations from user‐space. Generally, software developers have to face the task of looking for a good way to communicate between the kernel and user‐space in Linux. This tutorial introduces you to Netlink sockets, a flexible and extensible messaging system that provides communication between kernel and user‐space. We provide the fundamental guidelines for practitioners who wish to develop Netlink‐based interfaces. Copyright © 2010 John Wiley & Sons, Ltd.