blob: 5b7323449cbee8712cd6ca49b0eb08f7642397b4 [file] [log] [blame]
// 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 <lib/cmdline.h>
#include "priv.h"
bool DebuggingSyscallsEnabled() {
static bool enabled = gCmdline.GetBool("kernel.enable-debugging-syscalls", false);
return enabled;
}