Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2008 11:13:49 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern subr_stack.c
Message-ID:  <200810191113.m9JBDsSC075509@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-10-19 11:13:49 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_stack.c 
  Log:
  SVN rev 184060 on 2008-10-19 11:13:49Z by kib
  
  Ktr(9) stores format string and arguments in the event circular buffer,
  not the string formatted at the time of CTRX() call. Stack_ktr(9) uses
  an on-stack buffer for the symbol name, that is supplied as an argument
  to ktr. As result, stack_ktr() traces show garbage or cause page faults.
  
  Fix stack_ktr() by using pointer to module symbol table that is supposed
  to have a longer lifetime.
  
  Tested by:      pho
  MFC after:      1 week
  
  Revision  Changes    Path
  1.8       +24 -20    src/sys/kern/subr_stack.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810191113.m9JBDsSC075509>