Re: /proc/<pid>/rlimit

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Sat, 13 Mar 1999 23:15:58 +0000 (GMT)


On Sat, 13 Mar 1999, Chuck Lever wrote:

> can people try this out and make suggestions? i think it would be
> appropriate to include with the large fdset patch in the ac series.

Looks cool, A couple of comment, though:

1. I'd like to see the sprintf() become and snprintf(). It'll save
your life one day :)

2. s/S_IRUGO/S_IRUSR/, please. It's not particularly dangerous
information to leak, but it's currently not available to other
processes, and don't really see the need to open it up.

Matthew.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/