Skip to content
Commit f66d45e9 authored by Guy Streeter's avatar Guy Streeter Committed by Linus Torvalds
Browse files

[PATCH] correct sys_shmget allocation check



As written, sys_shmget will return ENOSPC when one page is still
available for allocation. This patch corrects the test.

Signed-off-by: default avatarGuy Streeter <guy.streeter+lkml@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
--
parent 821836e5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment