Re: Re: [PATCH] usb-storage: don't call utsname()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steve French (smfltc)
Date: Wednesday, May 21, 2008 - 11:19 am

Greg KH wrote:
I agree - what was wrong with utsname->release ... it seems odd to 
statically build the kernel's version
number into a module - it should be something we should be able to query 
(and it shouldn't change without
reboot so accessing it is not racy).  Access to other fields in the 
structure (nodename, domainname etc.) might
need to be included in a macro but I didn't see one in utsname.h for this.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] unexport uts_sem, Adrian Bunk, (Mon May 5, 11:29 am)
Re: [2.6 patch] unexport uts_sem, Frank Ch. Eigler, (Tue May 20, 10:16 am)
Re: [2.6 patch] unexport uts_sem, Christoph Hellwig, (Tue May 20, 10:27 am)
Re: [2.6 patch] unexport uts_sem, Frank Ch. Eigler, (Tue May 20, 11:38 am)
Re: [2.6 patch] unexport uts_sem, Christoph Hellwig, (Wed May 21, 5:37 am)
Re: Re: [2.6 patch] unexport uts_sem, Steve French (smfltc), (Wed May 21, 7:48 am)
[PATCH] usb-storage: don't call utsname(), Alan Stern, (Wed May 21, 10:51 am)
Re: [PATCH] usb-storage: don't call utsname(), Greg KH, (Wed May 21, 11:09 am)
Re: Re: [PATCH] usb-storage: don't call utsname(), Steve French (smfltc), (Wed May 21, 11:19 am)
Re: [PATCH] usb-storage: don't call utsname(), Christoph Hellwig, (Wed May 21, 11:52 am)
Re: [PATCH] usb-storage: don't call utsname(), Greg KH, (Wed May 21, 12:35 pm)
Re: Re: [PATCH] usb-storage: don't call utsname(), Steve French (smfltc), (Wed May 21, 2:01 pm)