On Mon, Nov 14, 2011 at 02:48:11AM +0100, Bernhard Voelker wrote: > + if (lims[i].modify) { > + if (!pid) > + warnx(_("setting limits of the prlimit process is pointless")); Well, I don't think that we want such warnings in our utils :-) Let's inform users about errors, the rest should be described in man pages. Anyway, it would be nice to have something like: prlimit --nofile=1000 /bin/program so somewhere after show_limits() should be exec(). Karel -- 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