diff options
Diffstat (limited to 'Userland/Libraries/LibSystem/Wrappers.h')
-rw-r--r-- | Userland/Libraries/LibSystem/Wrappers.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Userland/Libraries/LibSystem/Wrappers.h b/Userland/Libraries/LibSystem/Wrappers.h new file mode 100644 index 0000000000..bc32d10681 --- /dev/null +++ b/Userland/Libraries/LibSystem/Wrappers.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2021, Andreas Kling <kling@serenityos.org> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#include <AK/Error.h> + +namespace System { + +ErrorOr<void> pledge(StringView promises, StringView execpromises); +ErrorOr<void> unveil(StringView path, StringView permissions); + +} |