Skip to content
Commit ce8fea7a authored by Hugh Dickins's avatar Hugh Dickins Committed by Linus Torvalds
Browse files

mmap: EINVAL not ENOMEM when rejecting VM_GROWS



Currently error is -ENOMEM when rejecting VM_GROWSDOWN|VM_GROWSUP
from shared anonymous: hoist the file case's -EINVAL up for both.

Signed-off-by: default avatarHugh Dickins <hughd@google.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 917ec63b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment