cvs commit: src/sbin/route route.c

Christian S.J. Peron csjp at FreeBSD.org
Fri May 7 08:33:19 PDT 2004


csjp        2004/05/07 08:33:18 PDT

  FreeBSD src repository

  Modified files:
    sbin/route           route.c 
  Log:
  Teach route(8) how to deal with root being in a prison.  If prison
  root is allowed to create raw sockets, then they will be able to create
  routing sockets, too.  However prison-root is not able to manipulate
  routing tables.  So when route(8) attempts to write to a routing
  socket and recieves EPERM from the kernel, exit rather than moving
  on with execution.
  
  Approved by:    bmilekic (mentor)
  
  Revision  Changes    Path
  1.75      +4 -0      src/sbin/route/route.c


More information about the cvs-src mailing list