]> git.ipfire.org Git - thirdparty/libvirt.git/commit
process: Allow virProcessPrLimit() to get current limit
authorAndrea Bolognani <abologna@redhat.com>
Fri, 20 Nov 2015 16:21:11 +0000 (17:21 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 17 Dec 2015 09:12:47 +0000 (10:12 +0100)
commitc2f797544fc271a54f776fa55c7d6c131088d219
treed602492ed3f49218255f024d6702421ae4a07b56
parentdf2fadfc6e0d41a2efa31e1900338e9bfd017189
process: Allow virProcessPrLimit() to get current limit

The prlimit() function allows both getting and setting limits for
a process; expose the same functionality in our wrapper.

Add the const modifier for new_limit, in accordance with the
prototype for prlimit().
src/util/virprocess.c