The following reply was made to PR bin/161257; it has been noted by GNATS. From: Mikolaj Golub <[email protected]> To: Kostik Belousov <[email protected]> Cc: John Baldwin <[email protected]>, [email protected], Robert Watson <[email protected]> Subject: Re: bin/161257: procstat(1): procstat should grow a -l flag to display resource limits Date: Sun, 06 Nov 2011 22:44:43 +0200
On Sun, 6 Nov 2011 20:42:34 +0200 Kostik Belousov wrote: KB> And you can already handle the future structure grow by doing the following: KB> size_t len; KB> len = req->oldlen; KB> if (sizeof(limp->pl_rlimit) < len) KB> return (EINVAL); KB> error = SYSCTL_OUT(req, limp->pl_rlimit, req->oldlen); Thank you. The updated patch: http://people.freebsd.org/~trociny/rlimit.2.patch -- Mikolaj Golub _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
