Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Nov 2014 13:48:12 -0800
From:      Xin Li <delphij@delphij.net>
To:        Ian Lepore <ian@FreeBSD.org>, d@delphij.net
Cc:        Konstantin Belousov <kostikbel@gmail.com>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Mark R V Murray <mark@grondar.org>
Subject:   Re: svn commit: r273958 - head/sys/dev/random
Message-ID:  <5456A69C.6040902@delphij.net>
In-Reply-To: <5456A47E.2030405@delphij.net>
References:  <201411020201.sA221unt091493@svn.freebsd.org>	 <720EB74E-094A-43F3-8B1C-47BC7F6FECC3@grondar.org>	 <1414934579.17308.248.camel@revolution.hippie.lan>	 <6FB65828-6A79-4BDE-A9F7-BC472BA538CE@grondar.org>	 <CAJ-VmomeOwE3LOpehhJ__G=FCoBDRXrrn%2BSfjwPFODts6YYHNQ@mail.gmail.com>	 <20141102192057.GB53947@kib.kiev.ua>	 <29A795E1-19E2-49E4-9653-143D3F6F3F12@grondar.org>	 <20141102194625.GC53947@kib.kiev.ua>	 <751CD860-95B9-4F68-AE69-976B42823AD0@grondar.org>	 <54568E41.8030305@delphij.net> <20141102201331.GE53947@kib.kiev.ua>	 <545693B4.8030602@delphij.net> <1414961583.1200.27.camel@revolution.hippie.lan> <5456A47E.2030405@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010700040707080307060704
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Another revision to make Jilles happy -- changed 'block' to 'randrd'
and 'randwr', I saw his email but forgot to make the change.

Cheers,
- -- 
Xin LI <delphij@delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0

iQIcBAEBCgAGBQJUVqacAAoJEJW2GBstM+nsi2cQAKGiKs+VvTNyTnG3HEYOql3s
H08TEloDczU7QyX2UMR/4MtgGTBOjLZ4xCLqvaFqJkHsxjWevW0V4XMryqrwn4B8
zLA68CJb5WsUWtUlVgrMiJnZCYI5SMYzxiUwLQdOc1aBrsEJKKvVxd0DqlF5NoEC
K4BhYvACh7tPRi5zDuCa2fjZYV5/Dgw5E46AehuD42JH+dsh4yP5tx6EZhISfig5
maT0rkgDsk8ZAHuf2pESiOvHHudxiiDrRmlNEz24lcgj/JkX4WvtAG+GaAJDwRRp
BUgkEWM8FnODFEn2ei4nYzaMqQ62XKzjU6nrzXBBY4/Y2BCAoKsDgYn9vALpwlPq
YJxrvMKqeCZiJ9iEHY+4e48FXsj7juaky4QhoJxKA1D3iOvZ7Krkh2cKywfF5Ei4
UNtFgTS/y1m7ATD7GWIXjCyZI8eb9LWPh3hYp7DTh826uR2UWGtucbkZX1rMvD3w
lCZcI5PRTSy4B+1jDXEZURkd2JZxDkOlNBQSyTZSiCLLNCVGNFjrMaFuPOLfygiM
CRnZptgOsfZO7q4lYj0eafB6VVBeJKVE7ZUodkGNxtSYS5p06a4TIFalWiM6FH4D
cwi8lnB11LipDDeNxRz7CtX+tFxugStQadZIdxKBam4edwM5ddoCnT7JjKtdgSU8
7B1Hr3lnLAtz525XLsed
=POhM
-----END PGP SIGNATURE-----

--------------010700040707080307060704
Content-Type: text/plain; charset=UTF-8;
 name="random-tsleep.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="random-tsleep.diff"

SW5kZXg6IHN5cy9kZXYvcmFuZG9tL3JhbmRvbV9hZGFwdG9ycy5jCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0K
LS0tIHN5cy9kZXYvcmFuZG9tL3JhbmRvbV9hZGFwdG9ycy5jCShyZXZpc2lvbiAyNzM5ODIp
CisrKyBzeXMvZGV2L3JhbmRvbS9yYW5kb21fYWRhcHRvcnM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jc3hfc2xv
Y2soJnJhbmRvbV9hZGFwdG9yc19sb2NrKTsKIAlyYW5kb21fYWRhcHRvci0+cmFfcmVzZWVk
KCk7CiAJc3hfc3VubG9jaygmcmFuZG9tX2FkYXB0b3JzX2xvY2spOwogCg==
--------------010700040707080307060704
Content-Type: application/octet-stream;
 name="random-tsleep.diff.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="random-tsleep.diff.sig"

iQIcBAABCgAGBQJUVqacAAoJEJW2GBstM+nsn/QP+wQGlivJ5VW+x0jtuPimFu+QTsVkQE15
N2l+c7BW8EF55iqE7s7zHmo824+LUdF2U2sY5lj/PRG9Rrb6ATt1jNCJhYH6wFdKRwWgXACo
bB011nSytp+vLT4aPZXdvbWwPzbD0zGrswQgjyYQdTQDnevCo4Fm9W1citI4auxEurhzcU++
E5xLSncJWxRv0dQUMCFOt2tH1rCpXaC21ocCCq+BJZ8nS7SCNuOjGvgUqJOQ/WHpVcWMShmn
7ommD9YTGQ9I1axoExtFT58Kr63Fiy3Q1MlzRPqUQ+NOitI1O5+CZvLUCY9tDOuM4AAIjO7j
dArEUEhtfbDVzXSwjxquJWXFFT8K/jcEaylRjAWEnv27aWXPjL4GFRDdC/Xavs5XBlvvNaMQ
QKPHyZHCWnQ5u3msBKCJfq5JFL0IRKJcPsB3gJ010LmSmKa2SyEx16ReQY6EGZIDGox5oDl5
rnRaJzDK/Z+4hB4c021qyDv9tzJwDoiHw+QzCBG5gtHrJAPneN0lLbn6RkNciKKbf98nmjgy
KxPHZ4eCnRGcb1d9yxyrHMEeuRSNWB2aRovbXq5Ct8teRvhSyhZgsBuMG5GkA74RNHKixd8T
5l8p/wbPnPcdLvUIu4IQ2CFEhcF7XDRv+BeijWQo2Of3LIuK43+F+80pOsDJld192ALZNY57
hzO2
--------------010700040707080307060704--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5456A69C.6040902>