lkml.org 
[lkml]   [2009]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWhy current->uid is not working in 2.6.29 ?

Hello everyone,

I am new to kernel module programming and got some problem while compiling some old kernel code.

The
code is trying to get user id using current->uid,   but it is not
working by reminding me 'task_struct; doesn't contain field uid '. 

I checked the linux source code , uid is not there any more.

The 'current' is of task_struct, so could anyone tell me where is the new place for that uid ?


Thanks in advance,

-Kun 





--
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/

\
 
 \ /
  Last update: 2009-05-23 06:31    [W:0.133 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site