config.proto: clang-format
authorRobert Swiecki <robert@swiecki.net>
Mon, 12 Jun 2017 00:08:16 +0000 (02:08 +0200)
committerRobert Swiecki <robert@swiecki.net>
Mon, 12 Jun 2017 00:08:16 +0000 (02:08 +0200)
config.proto

index 2ae26564120ac3d0deae28adab8b71973b0272d2..a73c47b57804510a20d7e7c10a46f4251cde8a0a 100644 (file)
@@ -30,14 +30,14 @@ message MountPt
 {
     /* Can be skipped for filesystems like 'proc' */
     optional string src = 1;
-       /* Should 'src' path be prefixed with this envvar? */
-       optional string prefix_src_env = 2;
-       /* If specified, contains buffer that will be written to the dst file */
-       optional bytes src_content = 3;
-       /* Mount point inside jail */
+    /* Should 'src' path be prefixed with this envvar? */
+    optional string prefix_src_env = 2;
+    /* If specified, contains buffer that will be written to the dst file */
+    optional bytes src_content = 3;
+    /* Mount point inside jail */
     required string dst = 4;
-       /* Should 'dst' path be prefixed with this envvar? */
-       optional string prefix_dst_env = 5;
+    /* Should 'dst' path be prefixed with this envvar? */
+    optional string prefix_dst_env = 5;
     /* Can be empty for mount --bind mounts */
     optional string fstype = 6 [ default = "" ];
     /* E.g. size=5000000 for 'tmpfs' */
@@ -61,9 +61,9 @@ message Exe
 }
 message NsJailConfig
 {
-       /* Optional name and description for this config */
-       optional string name = 1 [ default = "" ];
-       optional string description = 2 [ default = "" ];
+    /* Optional name and description for this config */
+    optional string name = 1 [ default = "" ];
+    optional string description = 2 [ default = "" ];
 
     /* Execution mode: see 'msg Mode' description for more */
     required Mode mode = 3 [ default = ONCE ];