From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id DB4F6272B5 for ; Wed, 28 Mar 2018 04:09:38 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04WkYqZc2LOs for ; Wed, 28 Mar 2018 04:09:38 -0400 (EDT) Received: from smtp47.i.mail.ru (smtp47.i.mail.ru [94.100.177.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 9845726E74 for ; Wed, 28 Mar 2018 04:09:38 -0400 (EDT) From: Ilya Markov Subject: [tarantool-patches] [security 0/3] System space access check lists Date: Wed, 28 Mar 2018 11:09:24 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: georgy@tarantool.org Cc: tarantool-patches@freelists.org branch: gh-3250-system-space-access Ilya Markov (2): box: Add system view for _sequence system space security: Refactor reads from systems spaces imarkov (1): security: Refactor system space access checks src/box/alter.cc | 251 +++++++++++++++++++++++-------------- src/box/bootstrap.snap | Bin 1504 -> 1540 bytes src/box/index.cc | 1 + src/box/lua/schema.lua | 103 ++++++++------- src/box/lua/space.cc | 2 + src/box/lua/upgrade.lua | 34 +++-- src/box/schema.cc | 118 ++++++++++++++++- src/box/schema.h | 28 +++-- src/box/schema_def.h | 2 + src/box/space.c | 3 +- src/box/space.h | 17 ++- src/box/sysview_engine.c | 4 + src/box/sysview_index.c | 28 +++++ src/box/user.cc | 4 - src/box/user.h | 7 ++ test/app-tap/tarantoolctl.test.lua | 4 +- test/box-py/bootstrap.result | 11 +- test/box/access.result | 69 +++++----- test/box/access.test.lua | 35 +++--- test/box/access_bin.result | 8 +- test/box/access_misc.result | 51 ++++++-- test/box/access_misc.test.lua | 11 +- test/box/access_sysview.result | 77 ++++++++++-- test/box/access_sysview.test.lua | 28 ++++- test/box/alter.result | 3 + test/box/net.box.result | 6 + test/box/net.box.test.lua | 2 + test/box/on_replace.result | 8 +- test/box/role.result | 27 +++- test/box/role.test.lua | 13 +- test/box/sequence.result | 17 ++- test/box/sequence.test.lua | 10 +- test/box/transaction.result | 6 +- test/engine/truncate.result | 2 +- test/xlog/upgrade.result | 11 +- 35 files changed, 723 insertions(+), 278 deletions(-) -- 2.7.4