<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Badari Pulavarty wrote:
<blockquote TYPE=CITE>On Thu, 2006-06-15 at 13:31 -0400, Dave Anderson
wrote:
<br>> Badari Pulavarty wrote:
<br>>
<br>> > Just realized that -mm has patches to remove system_utsname.
<br>> > Thing to watch out for future changes for crash.
<br>> >
<br>>
<br>> What does sys_uname() read?
<p>system_utsname is gone in -mm2. Instead, it gets it from namespace
<br>thingy ..
<p>static inline struct new_utsname *utsname(void)
<br>{
<br>        return &current->nsproxy->uts_ns->name;
<br>}
<br> </blockquote>
<tt>Ok, thanks...</tt><tt></tt>
<p><tt>Well, at a minimum we'll have to skip the</tt>
<br><tt>verify_namelist() stage, or perhaps call it later,</tt>
<br><tt>some time after:</tt><tt></tt>
<p><tt>(1) task_init() is complete, and</tt>
<br><tt>(2) the required new_utsname fields get filled in from</tt>
<br><tt>    following the trail above, perhaps from the
first</tt>
<br><tt>    idle task?</tt><tt></tt>
<p><tt>Unless there's some other way we can access it.</tt><tt></tt>
<p><tt>Not a major problem, I wouldn't think...</tt><tt></tt>
<p><tt>Thanks,</tt>
<br><tt>  Dave</tt>
<br><tt></tt> </html>