Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 14:20:26 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern tty.c tty_info.c tty_pts.c
Message-ID:  <200902281420.n1SEKXf2099516@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-02-28 14:20:26 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c tty_info.c tty_pts.c 
  Log:
  SVN rev 189167 on 2009-02-28 14:20:26Z by ed
  
  Replace bcopy() calls inside the TTY layer with memcpy()/strlcpy().
  
  In all these cases the buffers never overlap. Program names are also
  likely to be shorter, so use a regular strlcpy() to copy p_comm.
  
  Revision  Changes    Path
  1.310     +7 -7      src/sys/kern/tty.c
  1.6       +1 -1      src/sys/kern/tty_info.c
  1.29      +1 -1      src/sys/kern/tty_pts.c



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