在 system/extras/su/su.c中怎么得到调用su程序的包名

在 system/extras/su/su.c中怎样得到调用su程序的包名。见题目。通过pid得到?还是直接可以得到?android?su?p

在 system/extras/su/su.c中怎样得到调用su程序的包名。
见题目。
通过pid得到?还是直接可以得到? android?su?pid?包名
[解决办法]
应该是通过pid 拿到。。