Re: [PATCH 15/15] prlimit: fix displaying of modified limits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 14, 2011 at 02:48:56AM +0100, Bernhard Voelker wrote:
> [PATCH 15/15] prlimit: fix displaying of modified limits
>
> When a limit is to be modified and shown, e.g. in
>   $ prlimit -p$$  -n1000 -n
> then the prlimit syscall has overwritten lims[i].rlim with the old value.
> For such cases, copy the new values afterwards again.

 This is also unnecessary now, but I have a little improved this
 thing, so the syscall is not called with the same pointer for new and
 old argument now.

 Thanks.

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux