login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
8
Re: [patch 2/2] track and print last unloaded module in the oops trace
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Ingo Molnar <mingo@...>
To: DM <dm.n9107@...>
Cc: Arjan van de Ven <arjan@...>, <linux-kernel@...>, <rusty@...>, <ak@...>
Subject:
Re: [patch 2/2] track and print last unloaded module in the oops trace
Date: Tuesday, January 8, 2008 - 12:18 pm
* DM <dm.n9107@gmail.com> wrote:
quoted text
> On Jan 8, 2008 3:26 PM, Arjan van de Ven <arjan@infradead.org> wrote: > > > > > > Why use sprintf? If a module name contains the % character we could > > > overflow the buffer. Or is module-unloading root-only and we don't > > > care? > > > > module loading isn't just root only; the name comes from an already loaded module. > > If you can load kernel modules of your choice you own the entire kernel already anway > > > > Still, strcpy seems like a better choice IMHO.
agreed, this just isnt obvious IMO: + sprintf(last_unloaded_module, mod->name); Ingo --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 2/2] track and print last unloaded module in the oops...
, Arjan van de Ven
, (Sun Jan 6, 7:19 pm)
Re: [patch 2/2] track and print last unloaded module in the ...
, DM
, (Tue Jan 8, 9:51 am)
Re: [patch 2/2] track and print last unloaded module in the ...
, Arjan van de Ven
, (Tue Jan 8, 10:26 am)
Re: [patch 2/2] track and print last unloaded module in the ...
, DM
, (Tue Jan 8, 10:39 am)
Re: [patch 2/2] track and print last unloaded module in the ...
, Ingo Molnar
, (Tue Jan 8, 12:18 pm)
Re: [patch 2/2] track and print last unloaded module in the ...
, Rusty Russell
, (Tue Jan 8, 5:20 pm)
Re: [patch 2/2] track and print last unloaded module in the ...
, Rusty Russell
, (Sun Jan 6, 9:25 pm)
Re: [patch 2/2] track and print last unloaded module in the ...
, Ingo Molnar
, (Tue Jan 8, 7:23 am)
Re: [patch 2/2] track and print last unloaded module in the ...
, Rusty Russell
, (Tue Jan 8, 7:52 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Eric Paris
[RFC 0/5] [TALPA] Intro to a linux interface for on access scanning
Linus Torvalds
Linux 2.6.25-rc4
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 13/37] dccp: Deprecate Ack Ratio sysctl
Vladimir Ivashchenko
Re: HTB accuracy for high speed
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
900 guests
online.
Online users
Kedar Sovani
affiliatehepx
freewebarticles
whitenmyteetho
4x4accessories
weddingphotogr
Syndicate