Subject: Re: core dump filename format
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-userlevel
Date: 09/07/1999 16:19:08
On Tue, 7 Sep 1999, Manuel Bouyer wrote:
> The default value would be %s.core, but can be changed at runtime by a sysctl.
                             ^^
%n.core, probably


> Absolute path are allowed, as something like: "/var/core/%u/%n.core"
> kern.shortcorename would disappear, as the same thing can be achieved
> with kern.corename="core".
> 
> As this attribute is really close to process limits, I plan to extend
> getrlimit/setrlimit with a new resource type (Otherwise a new syscall would
> need to be created for this purpose). They would now take a void * parameter,
> which would be a struct rlimit * or char *, depending on the resource type.
> In the kernel this attribute would be added to "struct plimit".
> 
> Then each shell will be updated to allow users to set this new "limit".

I don't understand what that new "limit" should be used for. Can you
please explain? Frontend to set the corefile-name?


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra