Writing Device Drivers

User Process Information Functions

Table B-21 User Process Information Functions

Function Name 

Description 

ddi_get_cred 

returns a pointer to the credential structure of the caller 

drv_priv 

determine process credentials privilege 

ddi_get_pid 

return the process ID 

Table B-22 Deprecated User Process Information Functions

Deprecated Functions 

Replacement 

drv_getparm 

ddi_get_pid, ddi_get_cred