|
|
| version 1.24, 2004/01/07 11:04:18 | version 1.25, 2004/02/08 05:44:58 |
|---|---|
| Line 1454 coredump(struct proc *p) | Line 1454 coredump(struct proc *p) |
| */ | */ |
| limit = p->p_rlimit[RLIMIT_CORE].rlim_cur; | limit = p->p_rlimit[RLIMIT_CORE].rlim_cur; |
| if (limit == 0) | if (limit == 0) |
| return 0; | return EFBIG; |
| name = expand_name(p->p_comm, p->p_ucred->cr_uid, p->p_pid); | name = expand_name(p->p_comm, p->p_ucred->cr_uid, p->p_pid); |
| if (name == NULL) | if (name == NULL) |