Default resource limits setrlimit()



Is there a way to set the default resource usage limits (setrlimit(), getrlimit()) for any process in the operating system.

For example, I would like the core file to be dumped for any process receiving SIGSEGV by default (except when otherwise specified).

Sorav
.