Linux Device Drivers, Second Edition (2024)

Linux is licensed with the GNU General Public License (GPL), adocument devised for the GNU project by the Free SoftwareFoundation. The GPL allows anybody to redistribute, and even sell, aproduct covered by the GPL, as long as the recipient is allowed to rebuildan exact copy of the binary files from source. Additionally, anysoftware product derived from a product covered by the GPL must, if it isredistributed at all, be released under the GPL.

The main goal of such a license is to allow the growth of knowledge bypermitting everybody to modify programs at will; at the same time,people selling software to the public can still do their job. Despitethis simple objective, there’s a never-ending discussion about the GPLand its use. If you want to read the license, you can find it inseveral places in your system, including the directory/usr/src/linux, as a file calledCOPYING.

Third-party and custom modules are not part of the Linux kernel, andthus you’re not forced to license them under the GPL. A moduleuses the kernel through a well-defined interface,but is not part of it, similar to the way user programs use the kernelthrough system calls. Note that the exemption to GPL licensing appliesonly to modules that use only the published module interface. Modulesthat dig deeper into the kernel must adhere to the “derived work”terms of the GPL.

In brief, if your code goes in the kernel, you must use the GPL assoon as you release the code. Although personal use of your changesdoesn’t force the GPL on you, if you distribute your code you mustinclude the source code in the distribution—people acquiringyour package must be allowed to rebuild the binary at will. If youwrite a module, on the other hand, you are allowed to distribute it inbinary form. However, this is not always practical, as modules shouldin general be recompiled for each kernel version that they will belinked with (as explained in Chapter 2, in Section 2.2.1, and Chapter 11, in Section 11.3). Newkernel releases—even minor stable releases—often breakcompiled modules, requiring a recompile. Linus Torvalds has statedpublicly that he has no problem with this behavior, and that binarymodules should be expected to work only with the kernel under whichthey were compiled. As a module writer, you will generally serve yourusers better by making source available.

As far as this book is concerned, most of the code is freelyredistributable, either in source or binary form, and neither we norO’Reilly & Associates retain any right on any derived works. Allthe programs are available through FTP fromftp://ftp.ora.com/pub/examples/linux/drivers/,and the exact license terms are stated in the fileLICENSE in the same directory.

When sample programs include parts of the kernel code, the GPLapplies: the comments accompanying source code are very clear aboutthat. This only happens for a pair of source files that are veryminor to the topic of this book.

Linux Device Drivers, Second Edition (2024)
Top Articles
How to Get Two SIM Cards with the Same Number?
Beginner's Guide: How to Start Learning Coding from Scratch
Poe T4 Aisling
Dunhams Treestands
What happens if I deposit a bounced check?
How To Get Free Credits On Smartjailmail
craigslist: south coast jobs, apartments, for sale, services, community, and events
Optum Medicare Support
My Vidant Chart
LA Times Studios Partners With ABC News on Randall Emmett Doc Amid #Scandoval Controversy
C Spire Express Pay
Keniakoop
Lake Nockamixon Fishing Report
Craigslist Panama City Fl
Mflwer
Roster Resource Orioles
Weather Rotterdam - Detailed bulletin - Free 15-day Marine forecasts - METEO CONSULT MARINE
Craigslist Missoula Atv
Decosmo Industrial Auctions
Ein Blutbad wie kein anderes: Evil Dead Rise ist der Horrorfilm des Jahres
Pasco Telestaff
Highmark Wholecare Otc Store
Red Cedar Farms Goldendoodle
Shadbase Get Out Of Jail
Imouto Wa Gal Kawaii - Episode 2
Boise Craigslist Cars And Trucks - By Owner
2021 MTV Video Music Awards: See the Complete List of Nominees - E! Online
Smartfind Express Login Broward
Temu Seat Covers
Bolly2Tolly Maari 2
Nearest Ups Ground Drop Off
*!Good Night (2024) 𝙵ull𝙼ovie Downl𝚘ad Fr𝚎e 1080𝚙, 720𝚙, 480𝚙 H𝙳 HI𝙽DI Dub𝚋ed Fil𝙼yz𝚒lla Isaidub
What Is Opm1 Treas 310 Deposit
Lininii
James Ingram | Biography, Songs, Hits, & Cause of Death
Sedano's Supermarkets Expands to Orlando - Sedano's Supermarkets
Tds Wifi Outage
888-333-4026
Pay Entergy Bill
Bartow Qpublic
Clausen's Car Wash
Rush Copley Swim Lessons
Atu Bookstore Ozark
15 Best Places to Visit in the Northeast During Summer
Huntsville Body Rubs
Xre 00251
Aznchikz
Oefenpakket & Hoorcolleges Diagnostiek | WorldSupporter
Jeep Forum Cj
Joe Bartosik Ms
Heisenberg Breaking Bad Wiki
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 6575

Rating: 4.3 / 5 (74 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.