Actions
Bug #9782
closedeventfd support in zones is incomplete
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2018-09-01
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
#6188 introduced eventfd support, but device was not added to zones. This leads to issues when application detect eventfd support, but can't use.
The fix is trivial:
diff --git a/usr/src/lib/brand/ipkg/zone/platform.xml b/usr/src/lib/brand/ipkg/zone/platform.xml index 7d5a59ed92..af417212f0 100644 --- a/usr/src/lib/brand/ipkg/zone/platform.xml +++ b/usr/src/lib/brand/ipkg/zone/platform.xml @@ -52,6 +52,7 @@ <device match="dsk" /> <device match="dtrace/*" /> <device match="dtrace/provider/*" /> + <device match="eventfd" /> <device match="fd" /> <device match="full" /> <device match="ipnet" /> diff --git a/usr/src/lib/brand/labeled/zone/platform.xml b/usr/src/lib/brand/labeled/zone/platform.xml index c87a66e5a6..013623d7c5 100644 --- a/usr/src/lib/brand/labeled/zone/platform.xml +++ b/usr/src/lib/brand/labeled/zone/platform.xml @@ -66,6 +66,7 @@ <device match="dsk" /> <device match="dtrace/*" /> <device match="dtrace/provider/*" /> + <device match="eventfd" /> <device match="fd" /> <device match="full" /> <device match="ipnet" /> diff --git a/usr/src/lib/brand/sn1/zone/platform.xml b/usr/src/lib/brand/sn1/zone/platform.xml index 88bb27e3db..1b8391a2f4 100644 --- a/usr/src/lib/brand/sn1/zone/platform.xml +++ b/usr/src/lib/brand/sn1/zone/platform.xml @@ -56,6 +56,7 @@ <device match="dsk" /> <device match="dtrace/*" /> <device match="dtrace/provider/*" /> + <device match="eventfd" /> <device match="fd" /> <device match="full" /> <device match="ipnet" /> diff --git a/usr/src/lib/brand/solaris10/zone/platform.xml b/usr/src/lib/brand/solaris10/zone/platform.xml index d0de2081d4..6dc5d49981 100644 --- a/usr/src/lib/brand/solaris10/zone/platform.xml +++ b/usr/src/lib/brand/solaris10/zone/platform.xml @@ -68,6 +68,7 @@ <device match="dsk" /> <device match="dtrace/*" /> <device match="dtrace/provider/*" /> + <device match="eventfd" /> <device match="fd" /> <device match="full" /> <device match="ipnet" />
Updated by Electric Monk over 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit 8c3347c4989237d6ebeeb03a67b21a523fc105d6
commit 8c3347c4989237d6ebeeb03a67b21a523fc105d6 Author: Alexander Pyhalov <apyhalov@gmail.com> Date: 2018-09-04T14:21:37.000Z 9782 eventfd support in zones is incomplete Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
Actions