version 1.20.8.1, 2014/07/14 06:21:22 |
version 1.21, 2014/01/01 18:57:16 |
Line 155 coredump(struct lwp *l, const char *patt |
|
Line 155 coredump(struct lwp *l, const char *patt |
|
error = coredump_buildname(p, name, pattern, MAXPATHLEN); |
error = coredump_buildname(p, name, pattern, MAXPATHLEN); |
mutex_exit(&lim->pl_lock); |
mutex_exit(&lim->pl_lock); |
|
|
if (error) { |
|
mutex_exit(p->p_lock); |
|
mutex_exit(proc_lock); |
|
goto done; |
|
} |
|
|
|
/* |
/* |
* On a simple filename, see if the filesystem allow us to write |
* On a simple filename, see if the filesystem allow us to write |
* core dumps there. |
* core dumps there. |
Line 309 coredump_buildname(struct proc *p, char |
|
Line 303 coredump_buildname(struct proc *p, char |
|
} |
} |
|
|
int |
int |
coredump_write(void *cookie, enum uio_seg segflg, const void *data, size_t len) |
coredump_write(struct coredump_iostate *cookie, enum uio_seg segflg, |
|
const void *data, size_t len) |
{ |
{ |
struct coredump_iostate *io = cookie; |
struct coredump_iostate *io = cookie; |
int error; |
int error; |