blob: 9b25b3a9853d9fae080955ecd89010d1cf59d662 [file] [log] [blame] [edit]
/* Copyright 2023 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "landlock.h"
#include <unistd.h>
int landlock_create_ruleset(const struct landlock_ruleset_attr* const attr,
const size_t size,
const uint32_t flags) {
return syscall(__NR_landlock_create_ruleset, attr, size, flags);
}