blob: 6a5c83d31b3df3076d88b5573af16648bd6a09f6 [file]
// Copyright 2019 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include "priv.h"
#include <lib/cmdline.h>
bool DebuggingSyscallsEnabled() {
static bool enabled = gCmdline.GetBool("kernel.enable-debugging-syscalls", false);
return enabled;
}
bool SerialSyscallsEnabled() {
static bool enabled = gCmdline.GetBool("kernel.enable-serial-syscalls", false);
return enabled;
}