Page MenuHomeFreeBSD

vm_map_protect.9: update after code changes
ClosedPublic

Authored by kib on Jan 23 2021, 8:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 3:53 PM
Unknown Object (File)
Oct 28 2024, 7:00 AM
Unknown Object (File)
Oct 3 2024, 11:45 PM
Unknown Object (File)
Oct 2 2024, 4:10 AM
Unknown Object (File)
Oct 1 2024, 3:56 PM
Unknown Object (File)
Sep 30 2024, 11:22 PM
Unknown Object (File)
Sep 30 2024, 2:04 AM
Unknown Object (File)
Sep 27 2024, 9:52 PM
Subscribers
None

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Jan 23 2021, 8:21 PM
kib created this revision.
share/man/man9/vm_map_protect.9
55–56

I think it's fine to leave this as "sets". I assume you changed it because the function does not necessarily set both. Because it's entirely dependent on the function's arguments I think it's still reasonable to say sets. To me "may set" implies that vm_map_protect will itself decide if one/both will be set.

84

Perhaps "are not allowed to"?

As is (and before your change) it seems unclear to me whether this is something the caller must take care not to violate, or that the function disallows.

97

Maybe something like
"Also, any in-progress wiring operation on the map affecting the specified range will cause .Nm to sleep, waiting for completion"

115

"The map does not allow ..." I think is clearer

116

Drop If as above, "Both new protection and..."
Or maybe Both VM_MAP_PROTECT_SET_PROT and VM_MAP_PROTECT_SET_MAXPROT were ..."

kib marked 5 inline comments as done.

Handle Ed notes.

share/man/man9/vm_map_protect.9
87

"The operation"

I would change "is declined" to "will fail" and "the condition" to "this condition".

89

"a shared mapping"

"of a read-only file from read-only to read-write"

126

s/for backing/to back/

129

"... protection updates were requested"

130

"but the specified"

kib marked 5 inline comments as done.

Mark' notes.

This revision is now accepted and ready to land.Jan 25 2021, 9:29 PM
This revision was automatically updated to reflect the committed changes.