Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7197183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:55:36+00:00 2026-05-28T20:55:36+00:00

On a freshly installed Ubuntu , i found kernel headers in both /usr/include/linux ,

  • 0

On a freshly installed Ubuntu , i found kernel headers in both /usr/include/linux , and /usr/src/kernel-version-headers/include/linux

Are they mutually the same ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:55:39+00:00Added an answer on May 28, 2026 at 8:55 pm

    They are very different; the /usr/include/linux headers are the headers that were used when compiling the system’s standard C library. They are owned by the C library packaging, and updated in lockstep with the standard C library. They exist to provide the userland interface to the kernel, as understood and “brokered”1 by the C library.

    The /usr/src/linux-headers-$(uname -r)/include/linux headers are used via the /lib/modules/$(uname -r)/build symbolic links. They are owned by the kernel headers packages and updated in lockstep with the kernel. These are a subset of the kernel headers and enough of the Kbuild system required to build out-of-tree kernel modules. These files represent the kernel internals — modules must build against these if they are to properly understand in-memory objects. See the kernel’s Documentation/kbuild/modules.txt file for some details.


    1: “Mediated” was my first word choice, but it implies some sort of access controls, which isn’t the case. “Brokered” implies a third-party process, but that is also not the case. Consider: when a C program calls _exit(), it is actually calling the Standard C library’s _exit() wrapper, which calls the exit(2) system call. The select(2) interface has an upper limit on the number of file descriptors that can be tracked, and that limit is compiled into the standard C library. Even if the kernel’s interface were extended, the C library would also need to be recompiled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got problem with look of freshly installed Eclipse in my Ubuntu 10.04. The
I have freshly installed Ubuntu OS , installed Eclipse and then added Android sdk
I've got problem with connecting to MySQL database on my freshly installed Windows 7
I installed Eclipse on my Ubuntu machine and then the Ruby Development Tools (RDT),
My iPhone app has the following problem: Freshly installed, when I read out my
Is there some list of .dll files that are available on the various freshly-installed
A freshly installed TFS 2010 is at http://serverX:8080/tfs . A Windows 7 developer machine
I have an RCP product which doesn't run. Then I installed Eclipse freshly, and
I freshly installed Boost 1.44 with the latest available installer from http://www.boostpro.com/download/ . Then
I'm trying to install Graphics32 to my freshly installed Embarcadero RAD Studio XE. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.