]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r298584:
authorjamie <jamie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 30 Apr 2016 04:02:32 +0000 (04:02 +0000)
committerjamie <jamie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 30 Apr 2016 04:02:32 +0000 (04:02 +0000)
commit721a57fe62224238edf059a8e3c7d59685f97506
treeb702d80e5fbb4b719a105ae465cdf6329ed024a7
parent398dd283509ea269768658f877d00584ecf0b752
MFC r298584:

  Note the existence of module-specific jail paramters, starting with the
  linux.* parameters when linux emulation is loaded.

MFC r298585:

  Encapsulate SYSV IPC objects in jails.  Define per-module parameters
  sysvmsg, sysvsem, and sysvshm, with the following bahavior:

  inherit: allow full access to the IPC primitives.  This is the same as
  the current setup with allow.sysvipc is on.  Jails and the base system
  can see (and moduly) each other's objects, which is generally considered
  a bad thing (though may be useful in some circumstances).

  disable: all no access, same as the current setup with allow.sysvipc off.

  new: A jail may see use the IPC objects that it has created.  It also
  gets its own IPC key namespace, so different jails may have their own
  objects using the same key value.  The parent jail (or base system) can
  see the jail's IPC objects, but not its keys.

PR: 48471

git-svn-id: svn://svn.freebsd.org/base/stable/10@298835 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/sysv_msg.c
sys/kern/sysv_sem.c
sys/kern/sysv_shm.c
usr.sbin/jail/jail.8