seemp: check validity of task struct pointer
Check task struct pointer against task list to determine the validity
of the pointer. When the pointer is invalid, return -1 as the pid.
Change-Id: I5bc0c4ad8f29f02587fb60b279350a89cc4f9ee1
Signed-off-by:
Yida Wang <yidaw@codeaurora.org>
Loading
Please register or sign in to comment