[BACK]Return to kern_core.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/kern_core.c between version 1.20.8.1 and 1.21

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;

Legend:
Removed from v.1.20.8.1  
changed lines
  Added in v.1.21

CVSweb <webmaster@jp.NetBSD.org>