summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-05-29 05:05:34 +0000
committerguenther <guenther@openbsd.org>2014-05-29 05:05:34 +0000
commitfd6bec850e62af7a28dfc5326a738155c359b68e (patch)
tree43f57bbde9d148b9647d86595b10a16046f36b94 /lib/libc
parentTo get a random seed, just call arc4random() instead of reading a (diff)
downloadwireguard-openbsd-fd6bec850e62af7a28dfc5326a738155c359b68e.tar.xz
wireguard-openbsd-fd6bec850e62af7a28dfc5326a738155c359b68e.zip
When vmcmd_map_readvn() maps in the page it reads into, it forces
it to be writable but otherwise uses the correct final permissions. Ergo, it only needs to call uvm_map_protect() if the requested permissions didn't include UVM_PROT_WRITE. ok beck@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions