Vaibhav Jain <[email protected]> writes: > The newly introduced 'perf_stats' attribute uses the default access > mode of 0444 letting non-root users access performance stats of an > nvdimm and potentially force the kernel into issuing large number of > expensive HCALLs. Since the information exposed by this attribute > cannot be cached hence its better to ward of access to this attribute > from non-root users. > > Hence this patch updates the access-mode of 'perf_stats' sysfs > attribute file to 0400 to make it only readable to root-users.
Or should we ratelimit it? Fixes: ?? > Reported-by: Aneesh Kumar K.V <[email protected]> > Signed-off-by: Vaibhav Jain <[email protected]> cheers _______________________________________________ Linux-nvdimm mailing list -- [email protected] To unsubscribe send an email to [email protected]
