Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2008 08:43:27 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/si si.c si.h src/usr.sbin/sicontrol sicontrol.8 sicontrol.c
Message-ID:  <200806090847.m598ln6m012259@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2008-06-09 08:43:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/si           si.c si.h 
    usr.sbin/sicontrol   sicontrol.8 sicontrol.c 
  Log:
  SVN rev 179668 on 2008-06-09 08:43:27Z by ed
  
  Remove sicontrol(8)'s "ttystat".
  
  In the FreeBSD base system, there are only two utilities that use struct
  tty, namely pstat and sicontrol. The sicontrol utility calls the
  TCSI_TTY ioctl(), which copies struct tty back to userspace.
  
  sicontrol should not have this functionality. The same data is already
  provided by pstat. If we really want to be able to export these numbers
  through a file descriptor to userspace, we can export struct xtty, which
  should provide a better abstraction. The ttystat option was only used as
  a debugging aid.
  
  This makes sicontrol compile in the mpsafetty branch.
  
  Reviewed by:    peter
  Approved by:    philip (mentor)
  
  Revision  Changes    Path
  1.141     +0 -5      src/sys/dev/si/si.c
  1.22      +0 -1      src/sys/dev/si/si.h
  1.21      +0 -3      src/usr.sbin/sicontrol/sicontrol.8
  1.18      +1 -64     src/usr.sbin/sicontrol/sicontrol.c



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