Ignore useless file sizes reported by stat and do not panic if user passes a te_string bound to an external buffer. This makes it possible to read sysfs files directly into buffers used for RCF values.
Testing done: these changes were successfully used to expose information from sysfs through Configurator
Ignore useless file sizes reported by
stat
and do not panic if user passes ate_string
bound to an external buffer. This makes it possible to read sysfs files directly into buffers used for RCF values.Testing done: these changes were successfully used to expose information from sysfs through Configurator