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
00b4430eb8
commit
fd4cdfbf46
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183417
@ -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…
Reference in New Issue
Block a user