Character Device Drivers in deep
$29.99
Shop on Udemy

Description

Updated on Oct 10: Added Downloads sectionWhat will you learn from this course?Introduction to character driversWhat is device number and device fileAllocating device number - statically and dynamicallyCreating device file - Manually(mknod) and automatically (udev)Registering character device and its file operation with KernelCopying data from user space to kernel space and vice versaUnderstanding the various structures - struct file and struct inodeImplementation of open, release, read, write, llseek, ioctl file operationsHow to create multiple device nodes and add support for private dataFlow of write system call from kernel system call entry point to driver write file operationsHandling all the error cases in ioctl implementationSending a signal to user space from kernel spaceVarious access control mechanisms and capabilitiesMisc DriverAPI's covered in this course: MAJORMINORMKDEVregister chrdev regionalloc chrdev regionclass createdevice createclass destroydevice destroyunregister chrdev regionimajoriminorcopy from usercopy to userput userget userprint dev tformat dev tstrnlen usercontainer ofaccess okCommands used in this course: mknodudevadm monitor

logo

Udemy