]> git.baikalelectronics.ru Git - kernel.git/commit
userns; Correct the comment in map_write
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 6 Dec 2014 02:03:28 +0000 (20:03 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Fri, 12 Dec 2014 00:07:06 +0000 (18:07 -0600)
commit0dbe33b4d96baed7b4ce61955e903b93f5a40c1e
tree26eb0855cf23ff3978821e2e5ab42d6df7902ccb
parent8e7a9736545f5c5d5854548e85f9ab3ce7f99ea4
userns; Correct the comment in map_write

It is important that all maps are less than PAGE_SIZE
or else setting the last byte of the buffer to '0'
could write off the end of the allocated storage.

Correct the misleading comment.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/user_namespace.c