mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
0e6624dc86
These 2 syscalls are responsible for unsharing resources in the system, such as hostname, VFS root contexts and process lists. Together with an appropriate userspace implementation, these syscalls could be used for creating a sandbox environment (containers) for user programs.
17 lines
248 B
C++
17 lines
248 B
C++
/*
|
|
* Copyright (c) 2024, Liav A. <liavalb@hotmail.co.il>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Kernel {
|
|
|
|
enum class UnshareType {
|
|
ScopedProcessList = 1,
|
|
VFSRootContext = 2,
|
|
HostnameContext = 3,
|
|
};
|
|
|
|
}
|