Re: [PATCH] show RLIMIT_SIGPENDING usage in /proc/PID/status

From: Chris Wright
Date: Wed Feb 23 2005 - 21:37:15 EST


* Roland McGrath (roland@xxxxxxxxxx) wrote:
> Jeremy mentioned the aggravation of not being able to tell when your
> processes are using up signal queue entries and hitting the
> RLIMIT_SIGPENDING limit. This patch adds a line to /proc/PID/status
> showing how many queue items are in use, and allowed, for your uid.

Two questions: 1) This changes the interface for consumers of
/proc/[pid]/status data, do we care? Adding new line like this should
be safe enough. 2) Perhaps we should do /proc/[pid]/rlimit/ type dir
for each value? This has been asked for before.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/