mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kernel programming donts
@ 2006-01-04 17:19 J R
  2006-01-04 17:29 ` Bob Copeland
  0 siblings, 1 reply; 2+ messages in thread
From: J R @ 2006-01-04 17:19 UTC (permalink / raw)
  To: linux-kernel


Is there a list of kernel / driver development "donts" documented in 1
place. I'm looking for examples of coding errors that would lead to
leaks,  crashes or vulnerabilities - like using tainted data from
copy_from_user() in an unsafe way. Have these things been collected in 1 
place?

The only thing I could find was the coding style document - but I'm looking 
for more meaty problems than commenting style.

Thanks
-J


--
www.cqsat.com
jr at that domain

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: kernel programming donts
  2006-01-04 17:19 kernel programming donts J R
@ 2006-01-04 17:29 ` Bob Copeland
  0 siblings, 0 replies; 2+ messages in thread
From: Bob Copeland @ 2006-01-04 17:29 UTC (permalink / raw)
  To: x-lists; +Cc: linux-kernel

On 1/4/06, J R <x-list-subscriptions@hotmail.com> wrote:
>
> Is there a list of kernel / driver development "donts" documented in 1
> place. I'm looking for examples of coding errors that would lead to
> leaks,  crashes or vulnerabilities - like using tainted data from
> copy_from_user() in an unsafe way. Have these things been collected in 1
> place?

There are some documents on kerneljanitors.org, for example:

http://kerneljanitors.org/drivers-dosdonts/index.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-04 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-04 17:19 kernel programming donts J R
2006-01-04 17:29 ` Bob Copeland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®