Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
Programming Linux

Become a Linux Kernel Hacker and Write Your Own Module 143

M-Saunders (706738) writes "It might sound daunting, but kernel hacking isn't a mysterious black art reserved for the geekiest of programmers. With a bit of background knowledge, anyone with a grounding in C can implement a new kernel module and understand how the kernel works internally. Linux Voice explains how to write a module that creates a new device node, /dev/reverse, that reverses a string when it's written to it. Sure, it's not the most practical example in the world, but it's a good starting point for your own projects, and gives you an insight into how it all fits together."
This discussion has been archived. No new comments can be posted.

Become a Linux Kernel Hacker and Write Your Own Module

Comments Filter:
  • Umm (Score:5, Insightful)

    by ADRA ( 37398 ) on Tuesday May 27, 2014 @05:01PM (#47102567)

    Well yes, any C developer (already a minority in the umbrella of 'programmers' these days) can write code for the kernel, but just because one can write software for the kernel doesn't mean they can write anything meaningful to be done in kernel space vs. anywhere else. If you're expecting a slew of new driver hackers reverse engineering chipsets, and implementing better drivers, testing all corner cases (because dev's LOVE testing) I think you're barking up a very small tree, but all the luck to you, becase what's good for Linux is good for me, you, us all.

  • by mlts ( 1038732 ) on Tuesday May 27, 2014 @05:48PM (#47102849)

    There is always the ability to panic.

  • by Anonymous Coward on Tuesday May 27, 2014 @09:53PM (#47104289)

    Take that APK! I'm going to put my motherfucking hosts file in the kernel..that's right.. I'm going to have a /dev/hosts

    You heard me right! /dev/motherfucking/hosts

    True ring 0 baby!

Life in the state of nature is solitary, poor, nasty, brutish, and short. - Thomas Hobbes, Leviathan