Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 08-25-2016, 11:16 AM   #1
LQ Newbie
Registered: Aug 2016
Location: Binghamton
Distribution: Ubuntu
Posts: 1

Rep: Reputation: Disabled
Unhappy find_get_pid returns null inside jprobe function

In a kernel module I have use jprobe to capture parameters of an open system call, when I pass a single process(in the userspace) id to kernel function find_get_pid(current_pid) returns the actual struct pid but when the process is in a user defined pid namespace find_get_pid(current_pid) returns null inside a jprobe function, but in a different kernel function user defined pid namespace find_get_pid(current_pid) returns pointer to struct pid , any idea why this becomes null inside jprobe function ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript: Function that detects click and returns control to calling function slackaddict Programming 2 11-27-2013 02:53 PM
why skb_dst() returns NULL Maximus_JR Programming 0 05-21-2012 05:28 AM
XtWindowToWidget() function returns NULL with Sun jre1.5, working fine with java1.4 prashanthprabhu Linux - Software 0 05-13-2009 02:21 AM
setlocale() returns NULL mic Programming 2 11-08-2005 03:49 AM
Kmalloc returns null iannou Linux - General 0 06-28-2003 10:36 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration