OpenBSD Journal

Adding System Calls (an OpenBSD Example)

Contributed by jose on from the kernel-coding dept.

BSDForums.org writes: "Kernel programming sometimes feels like a dark art where application programmers should never venture, but sometimes it's the right way to solve a problem. (Oh, and it's also very interesting.) One of the easiest places to start is by adding a new system call to a kernel. Kevin Lo explains how and why, with the OpenBSD kernel in this Onlamp.com article ."

Pretty short article, and a neat way to learn more about kernel internals. What's the worst that can happen, you'll just crash your host and have to reboot a backup kernel ...

(Comments are closed)


Comments
  1. By samh () on

    Probably the best article about OpenBSD I have read.

  2. By djm () on

    Great article - I'm looking forward to the one on LKMs.

    Comments
    1. By dan () on

      you can check this previous OpenBSD Journal article:

      http://www.deadly.org/article.php3?sid=20020725021302

      Comments
      1. By dan () on

        sorry, wrong URL:

        http://deadly.org/article.php3?sid=20010812210650

  3. Comments
    1. By joe black () on

      I agree with you.

Latest Articles

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]