cvs commit: src/sys/dev/si si.c si.h src/usr.sbin/sicontrol sicontrol.8 sicontrol.c

Ed Schouten ed at
Mon Jun 9 08:47:50 UTC 2008

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 
  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

More information about the cvs-src mailing list