Re: [RFC][PATCH] /proc//rlimit

2005-01-20 Thread Bill Rugolsky Jr.
On Thu, Jan 20, 2005 at 03:43:58PM +0100, Pavel Machek wrote: > It would be nice if you could make it "value-per-file". That way, > it could become writable in future. If "max nice level" ever becomes rlimit, > this would be very usefull. Agreed, though write support present difficulties. My prin

Re: [RFC][PATCH] /proc//rlimit

2005-01-20 Thread Pavel Machek
Hi! > This patch against 2.6.11-rc1-bk6 adds /proc//rlimit to export > per-process resource limit settings. It was written to help analyze > daemon core dump size settings, but may be more generally useful. > Tested on 2.6.10. Sample output: > > [EMAIL PROTECTED] ~ # cat /proc/__/rlimit >

Re: [RFC][PATCH] /proc//rlimit

2005-01-19 Thread Chris Wright
* Bill Rugolsky Jr. ([EMAIL PROTECTED]) wrote: > Chris, on the other point that you made regarding UGO read access to "rlimit", > the same is true of "maps" (at least sans SELinux policy), so I don't > see an issue. Certainly the map information is more security sensitive. Yeah, I can't think of

Re: [RFC][PATCH] /proc//rlimit

2005-01-19 Thread Bill Rugolsky Jr.
On Wed, Jan 19, 2005 at 11:38:03AM -0800, Chris Wright wrote: > * Jan Knutar ([EMAIL PROTECTED]) wrote: > > A "cool feature" would be if you could do > > echo nofile 8192 8192 >/proc/`pidof thatserverproess`/rlimit > > :-) > > This is security sensitive, and is currently only expected to be change

Re: [RFC][PATCH] /proc//rlimit

2005-01-19 Thread Chris Wright
* Jan Knutar ([EMAIL PROTECTED]) wrote: > On Tuesday 18 January 2005 22:44, Bill Rugolsky Jr. wrote: > > This patch against 2.6.11-rc1-bk6 adds /proc//rlimit to export > > per-process resource limit settings. It was written to help analyze > > daemon core dump size settings, but may be more genera

Re: [RFC][PATCH] /proc//rlimit

2005-01-19 Thread Jan Knutar
On Tuesday 18 January 2005 22:44, Bill Rugolsky Jr. wrote: > This patch against 2.6.11-rc1-bk6 adds /proc//rlimit to export > per-process resource limit settings. It was written to help analyze > daemon core dump size settings, but may be more generally useful. > Tested on 2.6.10. Sample output:

Re: [RFC][PATCH] /proc//rlimit

2005-01-18 Thread Chris Wright
* Bill Rugolsky Jr. ([EMAIL PROTECTED]) wrote: > This patch against 2.6.11-rc1-bk6 adds /proc//rlimit to export > per-process resource limit settings. It was written to help analyze > daemon core dump size settings, but may be more generally useful. > Tested on 2.6.10. Sample output: I can certai

[RFC][PATCH] /proc//rlimit

2005-01-18 Thread Bill Rugolsky Jr.
This patch against 2.6.11-rc1-bk6 adds /proc//rlimit to export per-process resource limit settings. It was written to help analyze daemon core dump size settings, but may be more generally useful. Tested on 2.6.10. Sample output: [EMAIL PROTECTED] ~ # cat /proc/$$/rlimit cpu unlim