diff options
author | 2014-05-29 05:05:34 +0000 | |
---|---|---|
committer | 2014-05-29 05:05:34 +0000 | |
commit | fd6bec850e62af7a28dfc5326a738155c359b68e (patch) | |
tree | 43f57bbde9d148b9647d86595b10a16046f36b94 /lib/libc | |
parent | To get a random seed, just call arc4random() instead of reading a (diff) | |
download | wireguard-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