Linux Kernel Programming - IPC b/w Userspace and KernelSpace

via Udemy

Go to Course: https://www.udemy.com/course/netlinksockets/

Overview

Welcome to the Linux Kernel Programming world! This is the course on Netlink Sockets in which I have covered Netlink Sockets in Detail which is a kernel facility provided to userspace applications to carry out bidirectional IPC with kernel space. In this course, We shall learn how Netlink Sockets can be used to exchange Netlink Messages between Kernel and Userspace.This Course could also be your first step towards entering the kernel programming world!! This is a good starting point for those who will be writing kernel code for the first time. We shall be writing lots of lots of kernel and userspace code to understand Netlink Based communication. Need-less to say you should be good with C programming.Table Of Contents:******************Section 1: Setting Up Development EnvironmentAgenda, Pre-requiste, AssumptionHow to do Kernel Programming based Courses ?Setting up Development EnvironmentInstalling Linux Kernel HeadersSection 2: Writing Linux Kernel ModulesWhat are LKMs ?Hellow-World LKMSection 3: Understanding Netlink SocketsCommunication Mediums in the SystemSockets - As a unified interfaceNetlink Communication Use-CasesThe Netlink Project for the CourseSection 4: Netlink Communication - Theory before CodingNetlink Msg formatsNetlink Msg typesNetlink Msg flags Netlink Communication ModelNetlink Sequence NumberNetlink Port ID Section 5 & 6: Writing a First Netlink ProgramGreet Kernel from Userspace Receive Reply from Kernel to Userspace Section 7: The Netlink Attributes - The Concept of TLVsThe Concept of TLVsParsing of TLV BufferSection 6: Getting Started with Netlink ProjectProblem StatementSending CREATE Netlink Msg to KernelGetting Feedback/Reply from Kernel to UserspaceSending UPDATE Netlink Msg to KernelNetlink DELETE Netlink Msg to KernelNetlink READ operation Reading Data from Kernel Space into USer spaceSection 7: Netlink Group SubscriptionSending Kernel Data to Multiple Userspace processesMulticast Group Subscription Multicast Group unsubscriptionSection 8: Selective Event-based Notification(Un)Subscribing for the event in Kernel SpaceWhere to go from here?

Skills

Reviews