summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-02-24 07:51:32 -0300
committerRenato Botelho <renato@netgate.com>2016-02-24 07:51:32 -0300
commitb15d3cfa0625b6816b5b55df864fbda78dc2add8 (patch)
treec384e7235e9894678587ee5782698526bdcc340e /usr.sbin
parent7c17fc70241a215de420457e10a510834441b90f (diff)
parent008df39fd8f9ba2311709c852fa30e39bf891bcf (diff)
downloadFreeBSD-src-b15d3cfa0625b6816b5b55df864fbda78dc2add8.zip
FreeBSD-src-b15d3cfa0625b6816b5b55df864fbda78dc2add8.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/jail/jail.820
-rw-r--r--usr.sbin/rtsold/rtsold.c5
2 files changed, 22 insertions, 3 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8
index 773c703..0831fcd 100644
--- a/usr.sbin/jail/jail.8
+++ b/usr.sbin/jail/jail.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 25, 2015
+.Dd July 6, 2015
.Dt JAIL 8
.Os
.Sh NAME
@@ -563,6 +563,22 @@ This permission is effective only together with
and only when
.Va enforce_statfs
is set to a value lower than 2.
+.It Va allow.mount.linprocfs
+privileged users inside the jail will be able to mount and unmount the
+linprocfs file system.
+This permission is effective only together with
+.Va allow.mount
+and only when
+.Va enforce_statfs
+is set to a value lower than 2.
+.It Va allow.mount.linsysfs
+privileged users inside the jail will be able to mount and unmount the
+linsysfs file system.
+This permission is effective only together with
+.Va allow.mount
+and only when
+.Va enforce_statfs
+is set to a value lower than 2.
.It Va allow.mount.tmpfs
privileged users inside the jail will be able to mount and unmount the
tmpfs file system.
@@ -1210,6 +1226,8 @@ environment of the first jail.
.Xr fdescfs 5 ,
.Xr jail.conf 5 ,
.Xr procfs 5 ,
+.Xr linprocfs 5 ,
+.Xr linsysfs 5 ,
.Xr rc.conf 5 ,
.Xr sysctl.conf 5 ,
.Xr chroot 8 ,
diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c
index 7710537..238a1e1 100644
--- a/usr.sbin/rtsold/rtsold.c
+++ b/usr.sbin/rtsold/rtsold.c
@@ -609,7 +609,7 @@ rtsol_check_timer(void)
struct timespec now, rtsol_timer;
struct ifinfo *ifi;
struct rainfo *rai;
- struct ra_opt *rao;
+ struct ra_opt *rao, *raotmp;
int flags;
clock_gettime(CLOCK_MONOTONIC_FAST, &now);
@@ -704,7 +704,8 @@ rtsol_check_timer(void)
int expire = 0;
TAILQ_FOREACH(rai, &ifi->ifi_rainfo, rai_next) {
- TAILQ_FOREACH(rao, &rai->rai_ra_opt, rao_next) {
+ TAILQ_FOREACH_SAFE(rao, &rai->rai_ra_opt,
+ rao_next, raotmp) {
warnmsg(LOG_DEBUG, __func__,
"RA expiration timer: "
"type=%d, msg=%s, expire=%s",
OpenPOWER on IntegriCloud