Forbid duplicated rlimits with same type#607
Conversation
Alternative of opencontainers#583 , as what we do for `namespaces` in opencontainers#597 . Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
|
On Wed, Nov 02, 2016 at 07:15:57PM -0700, Qiang Huang wrote:
The concern with using objects for namespaces was the path handling |
|
On Wed, Nov 02, 2016 at 08:36:27PM -0700, W. Trevor King wrote:
Actually, we don't. But an rlimit entry with neither hard nor soft is |
|
@wking I still don't see the problem of using array here after we fix the duplicated type issue. |
|
It's nothing insurmountable, but add-or-replace and removal are much easier with objects. In #597 I linked to this hoop jumping you need to support then for arrays. |
Alternative of #583 , as what we do for
namespacesin #597 .
Signed-off-by: Qiang Huang h.huangqiang@huawei.com