Disable use of the user credentials until there is code to set the levels
that DTrace uses. This fixes a bug that would have affected kernels built with MAC and all kernels built after the mpsafetty integration. The bug will be apparent in RELENG7 on MAC kernels. Reported by: kan
This commit is contained in:
parent
b13cd39d11
commit
82b3ad7e97
@ -12815,7 +12815,11 @@ dtrace_state_create(struct cdev *dev)
|
||||
state = ddi_get_soft_state(dtrace_softstate, minor);
|
||||
#else
|
||||
if (dev != NULL) {
|
||||
cr = dev->si_cred;
|
||||
/*
|
||||
* Disable this until we have the ability to set user
|
||||
* credentials for DTrace.
|
||||
* cr = dev->si_cred;
|
||||
*/
|
||||
m = dev2unit(dev);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user