From: Robert Swiecki Date: Sat, 28 Apr 2018 22:51:55 +0000 (+0200) Subject: config.proto: deprecated --chroot and friends X-Git-Tag: 2.7~46 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e4f6234563a15d32bba21dce0710883068b966f;p=platform%2Fupstream%2Fnsjail.git config.proto: deprecated --chroot and friends --- diff --git a/config.proto b/config.proto index eb5f709..b0103f8 100644 --- a/config.proto +++ b/config.proto @@ -75,10 +75,10 @@ message NsJailConfig { /* Execution mode: see 'msg Mode' description for more */ optional Mode mode = 3 [default = ONCE]; - /* Equivalent to a bind mount with dst='/' */ - optional string chroot_dir = 4; - /* Applies both to the chroot_dir and to /proc mounts */ - optional bool is_root_rw = 5 [default = false]; + /* Equivalent to a bind mount with dst='/'. DEPRECATED: Use bind mounts. */ + optional string chroot_dir = 4 [deprecated = true]; + /* Applies both to the chroot_dir and to /proc mounts. DEPRECATED: Use bind mounts */ + optional bool is_root_rw = 5 [default = false, deprecated = true]; /* Hostname inside jail */ optional string hostname = 8 [default = "NSJAIL"]; /* Initial current working directory for the binary */