On Tue, 09 Aug 2016, Jason Cooper wrote: > Perhaps a /dev/hwrng[0-9] per rng? That would lend itself nicely to a > sysfs interface for per device quality, rate, and enabled attributes. > e.g. /sys/class/hw_random/hwrng0/{device/,quality,rate,enabled} IMHO, this is mightly annoying to use from inside a rngd-like utility in a race-free, safe way. It looks to me that ioctl() would be a much better interface for everything but the "enabled" functionality (which should be reported to the rngd-like utility as open() on the real device failing with, e.g., ENXIO, when that source is disabled). -- Henrique Holschuh -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html