Updating with "scripts/update-fuchsia-sdk.sh"
Change-Id: I410acf93bda918633f383063ff9543604a60e981
Reviewed-on: https://fuchsia-review.googlesource.com/c/samples/+/376373
Reviewed-by: third_party Roller <third-party-roller@fuchsia-infra.iam.gserviceaccount.com>
Commit-Queue: third_party Roller <third-party-roller@fuchsia-infra.iam.gserviceaccount.com>
diff --git a/third_party/fuchsia-sdk/.build-id/80/0ea41e91ffb679.debug b/third_party/fuchsia-sdk/.build-id/80/0ea41e91ffb679.debug
new file mode 100755
index 0000000..d6a1fb9
--- /dev/null
+++ b/third_party/fuchsia-sdk/.build-id/80/0ea41e91ffb679.debug
Binary files differ
diff --git a/third_party/fuchsia-sdk/.build-id/8d/a971e4ecef91b1.debug b/third_party/fuchsia-sdk/.build-id/8d/a971e4ecef91b1.debug
new file mode 100755
index 0000000..63f6c1b
--- /dev/null
+++ b/third_party/fuchsia-sdk/.build-id/8d/a971e4ecef91b1.debug
Binary files differ
diff --git a/third_party/fuchsia-sdk/.build-id/94/112f84f508e84a.debug b/third_party/fuchsia-sdk/.build-id/94/112f84f508e84a.debug
deleted file mode 100755
index b8fb6f2..0000000
--- a/third_party/fuchsia-sdk/.build-id/94/112f84f508e84a.debug
+++ /dev/null
Binary files differ
diff --git a/third_party/fuchsia-sdk/.build-id/c5/c6a205508b9fb8.debug b/third_party/fuchsia-sdk/.build-id/c5/c6a205508b9fb8.debug
deleted file mode 100755
index 7d4746b..0000000
--- a/third_party/fuchsia-sdk/.build-id/c5/c6a205508b9fb8.debug
+++ /dev/null
Binary files differ
diff --git a/third_party/fuchsia-sdk/arch/arm64/dist/libsyslog.so b/third_party/fuchsia-sdk/arch/arm64/dist/libsyslog.so
index 50fd5fd..95ecf74 100755
--- a/third_party/fuchsia-sdk/arch/arm64/dist/libsyslog.so
+++ b/third_party/fuchsia-sdk/arch/arm64/dist/libsyslog.so
Binary files differ
diff --git a/third_party/fuchsia-sdk/arch/arm64/lib/libsyslog.so b/third_party/fuchsia-sdk/arch/arm64/lib/libsyslog.so
index b8fb6f2..d6a1fb9 100755
--- a/third_party/fuchsia-sdk/arch/arm64/lib/libsyslog.so
+++ b/third_party/fuchsia-sdk/arch/arm64/lib/libsyslog.so
Binary files differ
diff --git a/third_party/fuchsia-sdk/arch/x64/dist/libsyslog.so b/third_party/fuchsia-sdk/arch/x64/dist/libsyslog.so
index e5240e7..18ce66b 100755
--- a/third_party/fuchsia-sdk/arch/x64/dist/libsyslog.so
+++ b/third_party/fuchsia-sdk/arch/x64/dist/libsyslog.so
Binary files differ
diff --git a/third_party/fuchsia-sdk/arch/x64/lib/libsyslog.so b/third_party/fuchsia-sdk/arch/x64/lib/libsyslog.so
index 7d4746b..63f6c1b 100755
--- a/third_party/fuchsia-sdk/arch/x64/lib/libsyslog.so
+++ b/third_party/fuchsia-sdk/arch/x64/lib/libsyslog.so
Binary files differ
diff --git a/third_party/fuchsia-sdk/bin/femu.sh b/third_party/fuchsia-sdk/bin/femu.sh
index f4007ee..dba325d 100755
--- a/third_party/fuchsia-sdk/bin/femu.sh
+++ b/third_party/fuchsia-sdk/bin/femu.sh
@@ -89,6 +89,7 @@
 shift
 done
 
+check-ssh-config
 if [[ "${AUTH_KEYS_FILE}" != "" ]]; then
   auth_keys_file="${AUTH_KEYS_FILE}"
 else
diff --git a/third_party/fuchsia-sdk/fidl/fuchsia.net.http/client.fidl b/third_party/fuchsia-sdk/fidl/fuchsia.net.http/client.fidl
index 1e72445..e167a2d 100644
--- a/third_party/fuchsia-sdk/fidl/fuchsia.net.http/client.fidl
+++ b/third_party/fuchsia-sdk/fidl/fuchsia.net.http/client.fidl
@@ -69,6 +69,9 @@
     /// Determines when to give up on waiting for a response from the server. If no deadline is
     /// provided, the implementation will provide a reasonable default.
     5: zx.time deadline;
+
+    // Legacy duplicate of |url|, to allow soft-transition to fuchsia.url.Url.
+    6: bytes url_as_bytes;
 };
 
 /// A description of the redirect the server requested.
diff --git a/third_party/fuchsia-sdk/meta/manifest.json b/third_party/fuchsia-sdk/meta/manifest.json
index 7c0e6d6..55e8940 100644
--- a/third_party/fuchsia-sdk/meta/manifest.json
+++ b/third_party/fuchsia-sdk/meta/manifest.json
@@ -6,7 +6,7 @@
       "x64"
     ]
   },
-  "id": "0.20200327.3.1",
+  "id": "0.20200329.1.1",
   "parts": [
     {
       "meta": "bin/fconfig-meta.json",
diff --git a/third_party/fuchsia-sdk/pkg/fit/include/lib/fit/function.h b/third_party/fuchsia-sdk/pkg/fit/include/lib/fit/function.h
index ec92f48..21f6138 100644
--- a/third_party/fuchsia-sdk/pkg/fit/include/lib/fit/function.h
+++ b/third_party/fuchsia-sdk/pkg/fit/include/lib/fit/function.h
@@ -54,9 +54,9 @@
 // EXAMPLES
 //
 // -
-// https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/utest/fit/examples/function_example1.cc
+// https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/ulib/fit/test/examples/function_example1.cc
 // -
-// https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/utest/fit/examples/function_example2.cc
+// https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/ulib/fit/test/examples/function_example2.cc
 //
 template <typename T, size_t inline_target_size = default_inline_target_size>
 using function = function_impl<inline_target_size,
diff --git a/third_party/fuchsia-sdk/pkg/syslog/include/lib/syslog/global.h b/third_party/fuchsia-sdk/pkg/syslog/include/lib/syslog/global.h
index f5966b2..3c93477 100644
--- a/third_party/fuchsia-sdk/pkg/syslog/include/lib/syslog/global.h
+++ b/third_party/fuchsia-sdk/pkg/syslog/include/lib/syslog/global.h
@@ -13,8 +13,7 @@
 __BEGIN_CDECLS
 
 // Gets the global logger for the process to which log messages emitted
-// using the FX_LOG macros will be written.  Returns NULL if logging is
-// not configured.
+// using the FX_LOG macros will be written. This function is thread-safe.
 fx_logger_t* fx_log_get_logger(void);
 
 // Returns true if writing messages with the given severity is enabled in the
@@ -24,20 +23,24 @@
   return logger && severity >= fx_logger_get_min_severity(logger);
 }
 
-// Initializes the logging infrastructure with the specified configuration.
-// Returns |ZX_ERR_BAD_STATE| if logging has already been initialized.
+// Reconfigures the global logger for this process with the specified
+// configuration.
 // If |console_fd| and |log_service_channel| are invalid in |config|,
-// this function chooses a default destination for the log.
+// this function doesn't change the currently used file descriptor or channel.
 // |config| can be safely deallocated after this function returns.
-//
-// global logger would be deallocated once program ends.
+// This function is NOT thread-safe and must be called early in the program
+// before other threads are spawned.
+// Returns:
+// - ZX_INTERNAL_ERR if the global logger had failed to instantiate,
+// - ZX_ERR_INVALID_ARGS if config is invalid (i.e. is null or has more than
+//   FX_LOG_MAX_TAGS tags),
+// - ZX_OK if the reconfiguration succeeds.
+// TODO(samans): Rename this function. https://fxbug.dev/49001
 zx_status_t fx_log_init_with_config(const fx_logger_config_t* config);
 
-// Initializes the logging infrastructure for this process using default
-// parameters. Returns |ZX_ERR_BAD_STATE| if logging has already been
-// initialized.
-//
-// global logger would be deallocated once program ends.
+// Deprecated. Doesn't do anything. Returns ZX_INTERNAL_ERR if the global logger
+// had failed to instantiate, and ZX_OK otherwise.
+// TODO(samans): Remove this function. https://fxbug.dev/49001
 zx_status_t fx_log_init(void);
 
 // Returns true if writing messages with the given severity is enabled in the
diff --git a/third_party/fuchsia-sdk/pkg/syslog/meta.json b/third_party/fuchsia-sdk/pkg/syslog/meta.json
index c690a69..00c97df 100644
--- a/third_party/fuchsia-sdk/pkg/syslog/meta.json
+++ b/third_party/fuchsia-sdk/pkg/syslog/meta.json
@@ -1,13 +1,13 @@
 {
   "binaries": {
     "arm64": {
-      "debug": ".build-id/94/112f84f508e84a.debug",
+      "debug": ".build-id/80/0ea41e91ffb679.debug",
       "dist": "arch/arm64/dist/libsyslog.so",
       "dist_path": "lib/libsyslog.so",
       "link": "arch/arm64/lib/libsyslog.so"
     },
     "x64": {
-      "debug": ".build-id/c5/c6a205508b9fb8.debug",
+      "debug": ".build-id/8d/a971e4ecef91b1.debug",
       "dist": "arch/x64/dist/libsyslog.so",
       "dist_path": "lib/libsyslog.so",
       "link": "arch/x64/lib/libsyslog.so"
diff --git a/third_party/fuchsia-sdk/tools/arm64/fidl-format b/third_party/fuchsia-sdk/tools/arm64/fidl-format
index 9b709ad..d676366 100755
--- a/third_party/fuchsia-sdk/tools/arm64/fidl-format
+++ b/third_party/fuchsia-sdk/tools/arm64/fidl-format
Binary files differ
diff --git a/third_party/fuchsia-sdk/tools/arm64/fidlc b/third_party/fuchsia-sdk/tools/arm64/fidlc
index bb42194..5987558 100755
--- a/third_party/fuchsia-sdk/tools/arm64/fidlc
+++ b/third_party/fuchsia-sdk/tools/arm64/fidlc
Binary files differ
diff --git a/third_party/fuchsia-sdk/tools/cmc b/third_party/fuchsia-sdk/tools/cmc
index 7ac318d..8cef40c 100755
--- a/third_party/fuchsia-sdk/tools/cmc
+++ b/third_party/fuchsia-sdk/tools/cmc
Binary files differ
diff --git a/third_party/fuchsia-sdk/tools/fidl-format b/third_party/fuchsia-sdk/tools/fidl-format
index b672aeb..7bec5fd 100755
--- a/third_party/fuchsia-sdk/tools/fidl-format
+++ b/third_party/fuchsia-sdk/tools/fidl-format
Binary files differ
diff --git a/third_party/fuchsia-sdk/tools/fidlc b/third_party/fuchsia-sdk/tools/fidlc
index 62714e4..9ffd78a 100755
--- a/third_party/fuchsia-sdk/tools/fidlc
+++ b/third_party/fuchsia-sdk/tools/fidlc
Binary files differ
diff --git a/third_party/fuchsia-sdk/tools/x64/cmc b/third_party/fuchsia-sdk/tools/x64/cmc
index 7ac318d..8cef40c 100755
--- a/third_party/fuchsia-sdk/tools/x64/cmc
+++ b/third_party/fuchsia-sdk/tools/x64/cmc
Binary files differ
diff --git a/third_party/fuchsia-sdk/tools/x64/fidl-format b/third_party/fuchsia-sdk/tools/x64/fidl-format
index b672aeb..7bec5fd 100755
--- a/third_party/fuchsia-sdk/tools/x64/fidl-format
+++ b/third_party/fuchsia-sdk/tools/x64/fidl-format
Binary files differ
diff --git a/third_party/fuchsia-sdk/tools/x64/fidlc b/third_party/fuchsia-sdk/tools/x64/fidlc
index 62714e4..9ffd78a 100755
--- a/third_party/fuchsia-sdk/tools/x64/fidlc
+++ b/third_party/fuchsia-sdk/tools/x64/fidlc
Binary files differ