Date: Wed, 15 Nov 2017 14:35:42 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r325853 - stable/11/sys/i386/i386 Message-ID: <201711151435.vAFEZgxx000375@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Wed Nov 15 14:35:42 2017 New Revision: 325853 URL: https://svnweb.freebsd.org/changeset/base/325853 Log: MFC r325553: Remove useless DEBUG printfs in i386 sendsig() implementations. Modified: stable/11/sys/i386/i386/machdep.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/i386/i386/machdep.c ============================================================================== --- stable/11/sys/i386/i386/machdep.c Wed Nov 15 13:41:03 2017 (r325852) +++ stable/11/sys/i386/i386/machdep.c Wed Nov 15 14:35:42 2017 (r325853) @@ -444,9 +444,6 @@ osendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mas * Copy the sigframe out to the user's stack. */ if (copyout(&sf, fp, sizeof(*fp)) != 0) { -#ifdef DEBUG - printf("process %ld has trashed its stack\n", (long)p->p_pid); -#endif PROC_LOCK(p); sigexit(td, SIGILL); } @@ -573,9 +570,6 @@ freebsd4_sendsig(sig_t catcher, ksiginfo_t *ksi, sigse * Copy the sigframe out to the user's stack. */ if (copyout(&sf, sfp, sizeof(*sfp)) != 0) { -#ifdef DEBUG - printf("process %ld has trashed its stack\n", (long)p->p_pid); -#endif PROC_LOCK(p); sigexit(td, SIGILL); } @@ -739,9 +733,6 @@ sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask (xfpusave != NULL && copyout(xfpusave, (void *)sf.sf_uc.uc_mcontext.mc_xfpustate, xfpusave_len) != 0)) { -#ifdef DEBUG - printf("process %ld has trashed its stack\n", (long)p->p_pid); -#endif PROC_LOCK(p); sigexit(td, SIGILL); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711151435.vAFEZgxx000375>