Writing Device Drivers

User Process Information Functions

The user process information functions are:

ddi_get_cred()

Return a pointer to the credential structure of the caller

drv_priv()

Determine process credentials privilege

ddi_get_pid()

Return the process ID

Table B–7 Deprecated User Process Information Functions

Deprecated Functions 

Replacement 

drv_getparm()

ddi_get_pid(), ddi_get_cred()