chiark / gitweb /
core: un-break PrivateDevices= by allowing it to mknod /dev/ptmx
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Thu, 18 Jan 2018 12:07:31 +0000 (12:07 +0000)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:11 +0000 (07:50 +0200)
commit59c2515f2ea238d2712b25229e43fe176139a3bb
treeb9bf2ecea10515ef6ea330dee56d08c96438c4a3
parent6290a1dcc0ab66c4ef6548979be8ccb394b84415
core: un-break PrivateDevices= by allowing it to mknod /dev/ptmx

#7886 caused PrivateDevices= to silently fail-open.
https://github.com/systemd/systemd/pull/7886#issuecomment-358542849

Allow PrivateDevices= to succeed, in creating /dev/ptmx, even though
DeviceControl=closed applies.

No specific justification was given for blocking mknod of /dev/ptmx.  Only
that we didn't seem to need it, because we weren't creating it correctly as
a device node.
src/core/cgroup.c