drivers/char/hw_random/virtio-rng.c
0 → 100644
+155
−0
include/linux/virtio_rng.h
0 → 100644
+8
−0
Loading
Gitlab 现已全面支持 git over ssh 与 git over https。通过 HTTPS 访问请配置带有 read_repository / write_repository 权限的 Personal access token。通过 SSH 端口访问请使用 22 端口或 13389 端口。如果使用CAS注册了账户但不知道密码,可以自行至设置中更改;如有其他问题,请发邮件至 service@cra.moe 寻求协助。
Note that by itself, having a "hardware" random generator does very little: you should probably run "rngd" in your guest to feed this into the kernel entropy pool. Included: virtio_rng: dont use vmalloced addresses for virtio If virtio_rng is build as a module, random_data is an address in vmalloc space. As virtio expects guest real addresses, this can cause any kind of funny behaviour, so lets allocate random_data dynamically with kmalloc. Signed-off-by:Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
CRA Git | Maintained and supported by SUSTech CRA and CCSE