cvs commit: src/sys/kern kern_jail.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Feb 19 06:29:15 PST 2004


pjd         2004/02/19 06:29:14 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_jail.c 
  Log:
  Added sysctl security.jail.jailed.
  It returns 1 is process is inside of jail and 0 if it is not.
  Information if we are in jail or not is not a secret, there is plenty of
  ways to discover it. Many people are using own hack to check this and
  this will be a legal way from now on.
  
  It will be great if our starting scripts will take advantage of this sysctl
  to allow clean "boot" inside jail.
  
  Approved by:    rwatson, scottl (mentor)
  
  Revision  Changes    Path
  1.39      +13 -0     src/sys/kern/kern_jail.c


More information about the cvs-all mailing list