Linux System Programming, 2nd Edition
Talking Directly to the Kernel and C Library
Publisher: O'Reilly Media
Final Release Date: May 2013
Pages: 456

Write software that draws directly on services offered by the Linux kernel and core system libraries. With this comprehensive book, Linux kernel contributor Robert Love provides you with a tutorial on Linux system programming, a reference manual on Linux system calls, and an insider’s guide to writing smarter, faster code.

Love clearly distinguishes between POSIX standard functions and special services offered only by Linux. With a new chapter on multithreading, this updated and expanded edition provides an in-depth look at Linux from both a theoretical and applied perspective over a wide range of programming topics, including:

  • A Linux kernel, C library, and C compiler overview
  • Basic I/O operations, such as reading from and writing to files
  • Advanced I/O interfaces, memory mappings, and optimization techniques
  • The family of system calls for basic process management
  • Advanced process management, including real-time processes
  • Thread concepts, multithreaded programming, and Pthreads
  • File and directory management
  • Interfaces for allocating memory and optimizing memory access
  • Basic and advanced signal interfaces, and their role on the system
  • Clock management, including POSIX clocks and high-resolution timers
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLinux System Programming, 2nd Edition
 
4.4

(based on 15 reviews)

Ratings Distribution

  • 5 Stars

     

    (8)

  • 4 Stars

     

    (5)

  • 3 Stars

     

    (2)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

93%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (11)
  • Accurate (10)
  • Helpful examples (10)
  • Well-written (10)
  • Concise (9)

Cons

    Best Uses

    • Intermediate (10)
    • Novice (7)
    • Student (7)
    • Expert (5)
      • Reviewer Profile:
      • Developer (11), Sys admin (6)

    Reviewed by 15 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

    (2 of 4 customers found this review helpful)

     
    3.0

    Style of narration is too rhetorical

    By jne100

    from Moscow

    Comments about oreilly Linux System Programming, 2nd Edition:

    I like this book, except one thing. IMHO style of narration just awful. It was really hard to understand for me as for nonnative speaker. There was no such problems with another books. Every page contain rarely used English words, misleading phrases, unfamiliar idioms, even Latin! If there is little known or not polular synonym for some word - it is definitely will be used. And all this rhetorical prose absolutely makes no sense. It is technical literature after all, not novel or a book of poems.

     
    4.0

    Very good

    By brydling

    from Sweden

    Verified Buyer

    Comments about oreilly Linux System Programming, 2nd Edition:

    This book is a nice read for anyone interested in Linux development.

     
    5.0

    Excellent reference and great read.

    By John

    from Corning, NY

    About Me Developer

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about oreilly Linux System Programming, 2nd Edition:

      Well written. Contains a wealth of pertinent information for programming for Linux systems.

       
      5.0

      Met my expectations!

      By Dennis

      from Berlin, DE

      About Me Developer, Sys Admin

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Novice
        • Student

        Comments about oreilly Linux System Programming, 2nd Edition:

        Very good for beginners. When you just started, it is a good overview with many code-examples.
        For experienced users, i would recommend another book, more deep in detail and subject.

        For my needs it is a good choice!

         
        5.0

        Excellent book

        By Xazu

        from melbourne

        About Me Developer

        Verified Buyer

        Pros

        • Accurate
        • Concise
        • Helpful examples

        Cons

          Best Uses

          • Intermediate
          • Novice

          Comments about oreilly Linux System Programming, 2nd Edition:

          This book provides a wealth of knowledge in Linux system prog.

           
          5.0

          Fine book, great author

          By Ray

          from Anchorage, AK

          About Me Developer

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate

            Comments about oreilly Linux System Programming, 2nd Edition:

            Very well written book. Hits all the bases. Recommended.

             
            4.0

            Deep dive into the Linux System

            By graphi1

            from Germany

            About Me Sys Admin

            Verified Buyer

            Pros

            • Accurate

            Cons

            • Difficult to understand

            Best Uses

            • Expert

            Comments about oreilly Linux System Programming, 2nd Edition:

            N/A

             
            5.0

            Fast, to the point with no fluff

            By Surge

            from Toronto, Canada

            About Me Developer

            Verified Buyer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice
              • Student

              Comments about oreilly Linux System Programming, 2nd Edition:

              The only piece missing from the book is a section on network programming, other than that book can't be better. I just don't have time to read 1700 pages book from another author. With this book I get up to date overview of linux system programming. Can't wait for Robert to write update to his Linux Kernel Development.

              (1 of 1 customers found this review helpful)

               
              4.0

              Clear explanation, great reference

              By ioggstream

              from Latina, Italia

              About Me Developer, Sys Admin

              Verified Buyer

              Pros

              • Accurate
              • Concise
              • Easy to understand

              Cons

                Best Uses

                • Intermediate
                • Student

                Comments about oreilly Linux System Programming, 2nd Edition:

                The book explains clearly the linux system calls and their usage, especially process management and IO access.

                It's a wonderful reference and a concise way to learn Linux.

                It's not a programming manual for beginners and doesn't cover networking - which you can learn on the Stevens' book.

                (3 of 5 customers found this review helpful)

                 
                3.0

                Linux System Programming

                By Mat

                from Bentonville, AR

                About Me Developer

                Verified Reviewer

                Pros

                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                • Not comprehensive enough

                Best Uses

                • Novice
                • Student

                Comments about oreilly Linux System Programming, 2nd Edition:

                I picked up a copy of Linux System Programming to help me understand how to directly interact with the Linux kernel and from that, use these skills to help with reverse-engineering malware. While my expectations weren't exceeded by any means, the book could have been so much more.

                From an introductory standpoint— the book is alright. Decent examples— enough to (hopefully) drive your curiosity and further your exploration into kernel development.

                From a REM perspective, you can take the code snippets in this book, compile them, and then use a little fu to extract the assembler and take a look at that.

                objdump -d ./$1|grep '[0-9a-f]:'|grep -v 'file'|cut -f2 -d:|cut -f1-6 -d' '|tr -s ' '|tr '\t' ' '|sed 's/ $//g'|sed 's/ /\x/g'|paste -d " -s |sed 's/^/"/'|sed 's/$/"/g'

                Overall, the book wasn't bad, but at the same time, wasn't great. If you're a C guy (or gal) and are looking to get your feet wet in kernel development, this would probably be a good fit for you.

                Displaying reviews 1-10

                Back to top

                Previous | Next »

                 
                Buy 2 Get 1 Free Free Shipping Guarantee
                Buying Options
                Immediate Access - Go Digital what's this?
                Ebook: $50.99
                Formats:  DAISY, ePub, Mobi, PDF
                Print & Ebook: $65.99
                Print: $59.99