1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00

Implement the task_pid_vnr() function macro in the LinuxKPI.

Submitted by:	Johannes Lundberg <johalun0@gmail.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
Sponsored by:	Limelight Networks
This commit is contained in:
Hans Petter Selasky 2018-06-05 15:40:09 +00:00
parent 747d9a8165
commit 5a1d03bb7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334661

View File

@ -89,6 +89,7 @@ struct task_struct {
#define task_pid_group_leader(task) (task)->task_thread->td_proc->p_pid #define task_pid_group_leader(task) (task)->task_thread->td_proc->p_pid
#define task_pid(task) ((task)->pid) #define task_pid(task) ((task)->pid)
#define task_pid_nr(task) ((task)->pid) #define task_pid_nr(task) ((task)->pid)
#define task_pid_vnr(task) ((task)->pid)
#define get_pid(x) (x) #define get_pid(x) (x)
#define put_pid(x) do { } while (0) #define put_pid(x) do { } while (0)
#define current_euid() (curthread->td_ucred->cr_uid) #define current_euid() (curthread->td_ucred->cr_uid)