]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Don't warn root if RLIMIT_MEMLOCK is low
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Wed, 30 May 2007 17:58:10 +0000 (10:58 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 30 May 2007 17:58:10 +0000 (10:58 -0700)
commit2ba26979f2839b7785d9cce532cdbabe9a68f786
treeeff4b2ad83ae38c27d526357d2301d8e8f04d3bb
parent4cf4f3dbb25b77aefd8bc5050a637d7b4d1304ab
Don't warn root if RLIMIT_MEMLOCK is low

The amount of memory root can lock isn't limited, so the rlimit value
doesn't matter in this case.  Do not print a warning about
RLIMIT_MEMLOCK being too low if EUID is 0.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
src/init.c