Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2004 08:33:18 -0700 (PDT)
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/route route.c
Message-ID:  <200405071533.i47FXIqo059984@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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