This is an automated email from the ASF dual-hosted git repository. bmahler pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 4b96eaaacf211b4a23fd508ae3968a96c1a0f68e Author: Benjamin Mahler <[email protected]> AuthorDate: Fri Jul 26 16:41:23 2024 -0400 Revert "[cgroups2] Clarify device documentation." This reverts commit fd17efe3402fc859efc63d3cd32658d1ec61a015. --- src/linux/cgroups2.hpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/linux/cgroups2.hpp b/src/linux/cgroups2.hpp index a06534432..a814bc03c 100644 --- a/src/linux/cgroups2.hpp +++ b/src/linux/cgroups2.hpp @@ -436,15 +436,13 @@ using cgroups::devices::Entry; // For access to be granted, the requested access must match an entry in the // allow list, and not match with any entry on the deny list. If the device // type, major, minor numbers match with an entry on the deny list, there must -// be no overlap between the requested access and the deny entry's accesses. +// be no overlap between the requested access and the deny entry's accesses // // We additionally enforce the following constraints on both allow and deny: -// -// 1. Entries must not have empty accesses specified. -// 2. No two entries on the same list can have the same selector -// (type, major & minor numbers). -// 3. No two entries on the same list can be encompassed by the other entry -// (See Entry::encompassed). +// 1. No Entry can have no accesses specified +// 2. No two entries on the same list can have the same type, major & minor +// numbers. +// 3. No two entries on the same list can be encompassed by the other entry. Try<Nothing> configure( const std::string& cgroup, const std::vector<Entry>& allow,
