[LTP] getpwnam(nobody) failed

$rik@nth srikanth007m@gmail.com
Mon Oct 19 04:02:04 CEST 2015


Any help would really unblocks lot of users those who are running LTP
on Android platform.

TIA.

On Fri, Oct 16, 2015 at 6:01 PM, $rik@nth <srikanth007m@gmail.com> wrote:
> Cyril,
>
> I came across the implementation of getpwnam in bionic. But i am not
> getting on how to overcome to apply bionic changes to existing LTP for
> checking.
>
> https://github.com/android/platform_bionic/blob/master/libc/bionic/stubs.cpp
>
> On Thu, Oct 15, 2015 at 10:04 PM, $rik@nth <srikanth007m@gmail.com> wrote:
>> Thanks Cyril for chiming into the issue. But still it is creating
>> these nodes and users with permissions. There might be a use for some
>> operations  which needs to be running by nobody. Its just a guess, as
>> i didn't dive into bionic libc as you did it.
>>
>> Does anyone in this group running LTP on android and observed similar
>> issue. Any pointers to fix this issue would really helps to lot of
>> users running LTP on android platform.
>>
>>
>>
>> On Thu, Oct 15, 2015 at 7:41 PM, Cyril Hrubis <chrubis@suse.cz> wrote:
>>> Hi!
>>>> Need some help in understanding the behavior of failure cases though
>>>> user 'nobody' is present. I am unable to figure it out as i am running
>>>> them on android kernel.
>>>
>>> I glanced over the bionic libc for android and it looks like /etc/passwd
>>> is not used at all. The calls are emualted using some android_id_info
>>> database there. I'm afraid that you have to look deeper into the bionic
>>> libc to figure out how exactly this works.
>>>
>>> --
>>> Cyril Hrubis
>>> chrubis@suse.cz
>>
>>
>>
>> --
>> Thanks & Regards,
>> M.Srikanth Kumar.
>
>
>
> --
> Thanks & Regards,
> M.Srikanth Kumar.



-- 
Thanks & Regards,
M.Srikanth Kumar.


More information about the Ltp mailing list