Re: Linux Kernel | Process Open Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 23, 2016 at 11:55 AM, Shahab Khalid <shabiroxx@xxxxxxxxx> wrote:
> Hi all,
>
> I am trying to get process open files of active processes. I am reading
> linux dump. I am able to get actives process. I am trying to reach d_name in
> dentry structure but unfortunately the I am receiving the denrty ZERO (0).
>
> I am reaching the dentry as
>
> task_structure->files_struct->fdtable->file->path->dentry
>
> till struct path I am receiving some address but dentry is zero.

code listing would be more helpful.

>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
        ---P.K.S

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux