[BACK]Return to linux_sig_notalpha.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / compat / linux / common

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

Diff for /src/sys/compat/linux/common/linux_sig_notalpha.c between version 1.36 and 1.36.6.1

version 1.36, 2007/12/20 23:02:56 version 1.36.6.1, 2008/06/02 13:23:03
Line 15 
Line 15 
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. All advertising materials mentioning features or use of this software  
  *    must display the following acknowledgement:  
  *      This product includes software developed by the NetBSD  
  *      Foundation, Inc. and its contributors.  
  * 4. Neither the name of The NetBSD Foundation nor the names of its  
  *    contributors may be used to endorse or promote products derived  
  *    from this software without specific prior written permission.  
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS   * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED   * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
Line 107  linux_sys_siggetmask(struct lwp *l, cons
Line 100  linux_sys_siggetmask(struct lwp *l, cons
         linux_old_sigset_t lss;          linux_old_sigset_t lss;
         int error;          int error;
   
         mutex_enter(&p->p_smutex);          mutex_enter(p->p_lock);
         error = sigprocmask1(l, SIG_SETMASK, 0, &bss);          error = sigprocmask1(l, SIG_SETMASK, 0, &bss);
         mutex_exit(&p->p_smutex);          mutex_exit(p->p_lock);
         if (error)          if (error)
                 return (error);                  return (error);
         native_to_linux_old_sigset(&lss, &bss);          native_to_linux_old_sigset(&lss, &bss);
Line 135  linux_sys_sigsetmask(struct lwp *l, cons
Line 128  linux_sys_sigsetmask(struct lwp *l, cons
   
         nlss = SCARG(uap, mask);          nlss = SCARG(uap, mask);
         linux_old_to_native_sigset(&nbss, &nlss);          linux_old_to_native_sigset(&nbss, &nlss);
         mutex_enter(&p->p_smutex);          mutex_enter(p->p_lock);
         error = sigprocmask1(l, SIG_SETMASK, &nbss, &obss);          error = sigprocmask1(l, SIG_SETMASK, &nbss, &obss);
         mutex_exit(&p->p_smutex);          mutex_exit(p->p_lock);
         if (error)          if (error)
                 return (error);                  return (error);
         native_to_linux_old_sigset(&olss, &obss);          native_to_linux_old_sigset(&olss, &obss);

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.36.6.1

CVSweb <webmaster@jp.NetBSD.org>