How to get the device number of 'bpf_get_ns_current_pid_tgid' helper

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

 



Hello all,

As we know, to call 'bpf_get_ns_current_pid_tgid' helper we need dev
and inode number. The inode number is quite easy to get by 'ls -lh
/proc/xx/ns/'. So how can we get the device number easily in practice?
the kernel test just uses 0 to test.

Thanks,
Li Qiang



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux