LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how to get SSH_CLIENT environment variable in the kernel (https://www.linuxquestions.org/questions/linux-kernel-70/how-to-get-ssh_client-environment-variable-in-the-kernel-643198/)

bruceharbin 05-19-2008 04:22 AM

how to get SSH_CLIENT environment variable in the kernel
 
how to get the SSH_CLIENT environment variable in the kernel.

I am writing a virtual device driver, it want to get the SSH_CLIENT environment variable.

Thanks.

unSpawn 05-19-2008 05:19 AM

AFAIK pulling userland content into the kernel (reading from) is a recipe for disaster. Push has been the only acceptable method: see for example /proc, sysctls, iptables.


All times are GMT -5. The time now is 06:11 PM.