SYMBOL INDEX (314 symbols across 14 files) FILE: examples/sandboxer.rs constant ENV_FS_RO_NAME (line 17) | const ENV_FS_RO_NAME: &str = "LL_FS_RO"; constant ENV_FS_RW_NAME (line 18) | const ENV_FS_RW_NAME: &str = "LL_FS_RW"; constant ENV_TCP_BIND_NAME (line 19) | const ENV_TCP_BIND_NAME: &str = "LL_TCP_BIND"; constant ENV_TCP_CONNECT_NAME (line 20) | const ENV_TCP_CONNECT_NAME: &str = "LL_TCP_CONNECT"; constant ENV_SCOPED_NAME (line 21) | const ENV_SCOPED_NAME: &str = "LL_SCOPED"; type PathEnv (line 23) | struct PathEnv { method new (line 37) | fn new<'a>(name: &'a str, access: BitFlags) -> anyhow::Resul... method iter (line 46) | fn iter(&self) -> impl Iterator(name: &'a str, access: AccessNet) -> anyhow::Result { method iter (line 73) | fn iter(&self) -> impl Iterator> + '_ { function main (line 91) | fn main() -> anyhow::Result<()> { FILE: src/access.rs type Access (line 12) | pub trait Access: BitFlag + private::Sealed { method from_all (line 14) | fn from_all(abi: ABI) -> BitFlags; type HandledAccess (line 18) | pub trait HandledAccess: Access {} type PrivateHandledAccess (line 20) | pub trait PrivateHandledAccess: HandledAccess { method ruleset_handle_access (line 21) | fn ruleset_handle_access( method into_add_rules_error (line 28) | fn into_add_rules_error(error: AddRuleError) -> AddRulesError method into_handle_accesses_error (line 32) | fn into_handle_accesses_error(error: HandleAccessError) -> Handl... function full_negation (line 38) | fn full_negation(flags: BitFlags) -> BitFlags function bit_flags_full_negation (line 46) | fn bit_flags_full_negation() { function try_compat_inner (line 60) | fn try_compat_inner(&mut self, abi: ABI) -> Result, Comp... function compat_bit_flags (line 95) | fn compat_bit_flags() { FILE: src/compat.rs type ABI (line 51) | pub enum ABI { method is_known (line 80) | fn is_known(value: i32) -> bool { method from (line 89) | fn from(value: i32) -> ABI { method from (line 236) | fn from(status: LandlockStatus) -> Self { function abi_from (line 104) | fn abi_from() { function known_abi (line 123) | fn known_abi() { method fmt (line 137) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { type LandlockStatus (line 156) | pub enum LandlockStatus { method current (line 187) | fn current() -> Self { method from (line 250) | fn from(abi: ABI) -> Self { function test_current_landlock_status (line 214) | fn test_current_landlock_status() { function can_emulate (line 282) | pub(crate) fn can_emulate(mock: ABI, partial_support: ABI, full_support:... function get_errno_from_landlock_status (line 293) | pub(crate) fn get_errno_from_landlock_status() -> Option { function current_kernel_abi (line 313) | fn current_kernel_abi() { type CompatState (line 334) | pub enum CompatState { method update (line 348) | fn update(&mut self, other: Self) { function compat_state_update_1 (line 361) | fn compat_state_update_1() { function compat_state_update_2 (line 387) | fn compat_state_update_2() { type Compatibility (line 402) | pub(crate) struct Compatibility { method from (line 409) | fn from(status: LandlockStatus) -> Self { method from (line 420) | fn from(abi: ABI) -> Self { method new (line 428) | pub(crate) fn new() -> Self { method update (line 432) | pub(crate) fn update(&mut self, state: CompatState) { method abi (line 436) | pub(crate) fn abi(&self) -> ABI { method status (line 440) | pub(crate) fn status(&self) -> LandlockStatus { type OptionCompatLevelMut (line 448) | pub trait OptionCompatLevelMut { method as_option_compat_level_mut (line 449) | fn as_option_compat_level_mut(&mut self) -> &mut Option; type Compatible (line 468) | pub trait Compatible: Sized + private::OptionCompatLevelMut { method set_compatibility (line 571) | fn set_compatibility(mut self, level: CompatLevel) -> Self { method set_best_effort (line 582) | fn set_best_effort(self, best_effort: bool) -> Self function deprecated_set_best_effort (line 595) | fn deprecated_set_best_effort() { type CompatLevel (line 615) | pub enum CompatLevel { method from (line 635) | fn from(opt: Option) -> Self { type TailoredCompatLevel (line 646) | pub trait TailoredCompatLevel { method tailored_compat_level (line 647) | fn tailored_compat_level(&mut self, parent_level: L) -> CompatLevel method tailored_compat_level (line 660) | fn tailored_compat_level(&mut self, parent_level: L) -> CompatLevel function tailored_compat_level (line 676) | fn tailored_compat_level() { type CompatResult (line 712) | pub enum CompatResult type TryCompat (line 725) | pub trait TryCompat method try_compat_inner (line 730) | fn try_compat_inner(&mut self, abi: ABI) -> Result, Co... method try_compat_children (line 743) | fn try_compat_children( method try_compat (line 757) | fn try_compat( FILE: src/errata.rs type Erratum (line 29) | pub enum Erratum { method current (line 61) | pub fn current() -> BitFlags { function from (line 90) | fn from(abi: ABI) -> Self { function not_backported_yet (line 110) | fn not_backported_yet(abi: ABI) -> BitFlags { function errata_query (line 123) | fn errata_query() { function errata_up_to_date (line 129) | fn errata_up_to_date() { FILE: src/errors.rs type RulesetError (line 12) | pub enum RulesetError { function ruleset_error_breaking_change (line 26) | fn ruleset_error_breaking_change() { type HandleAccessError (line 38) | pub enum HandleAccessError type ScopeError (line 49) | pub enum ScopeError { type HandleAccessesError (line 56) | pub enum HandleAccessesError { method from (line 69) | fn from(error: HandleAccessError) -> Self { type CreateRulesetError (line 77) | pub enum CreateRulesetError { type AddRuleError (line 91) | pub enum AddRuleError type AddRulesError (line 124) | pub enum AddRulesError { method from (line 115) | fn from(error: AddRuleError) -> Self { type CompatError (line 133) | pub enum CompatError type PathBeneathError (line 145) | pub enum PathBeneathError { type AccessError (line 166) | pub enum AccessError type RestrictSelfError (line 196) | pub enum RestrictSelfError { type PathFdError (line 209) | pub enum PathFdError { type TestRulesetError (line 218) | pub(crate) enum TestRulesetError { type Errno (line 232) | pub struct Errno(c_int); method new (line 235) | pub fn new(value: c_int) -> Self { method from (line 244) | fn from(error: T) -> Self { type Target (line 256) | type Target = c_int; method deref (line 258) | fn deref(&self) -> &Self::Target { function _test_ruleset_errno (line 264) | fn _test_ruleset_errno(expected_errno: c_int) { function test_ruleset_errno (line 310) | fn test_ruleset_errno() { FILE: src/fs.rs type AccessFs (line 58) | pub enum AccessFs { method from_read (line 112) | pub fn from_read(abi: ABI) -> BitFlags { method from_write (line 126) | pub fn from_write(abi: ABI) -> BitFlags { method from_file (line 148) | pub fn from_file(abi: ABI) -> BitFlags { method from_all (line 99) | fn from_all(abi: ABI) -> BitFlags { function consistent_access_fs_rw (line 154) | fn consistent_access_fs_rw() { method ruleset_handle_access (line 169) | fn ruleset_handle_access( method into_add_rules_error (line 189) | fn into_add_rules_error(error: AddRuleError) -> AddRulesError { method into_handle_accesses_error (line 193) | fn into_handle_accesses_error(error: HandleAccessError) -> HandleA... constant ACCESS_FILE (line 200) | const ACCESS_FILE: BitFlags = make_bitflags!(AccessFs::{ function is_file (line 205) | fn is_file(fd: F) -> Result type PathBeneath (line 230) | pub struct PathBeneath { function new (line 245) | pub fn new(parent: F, access: A) -> Self function try_compat_children (line 263) | fn try_compat_children( function try_compat_inner (line 284) | fn try_compat_inner( function path_beneath_try_compat_children (line 312) | fn path_beneath_try_compat_children() { function path_beneath_try_compat (line 348) | fn path_beneath_try_compat() { method as_option_compat_level_mut (line 398) | fn as_option_compat_level_mut(&mut self) -> &mut Option { method as_option_compat_level_mut (line 404) | fn as_option_compat_level_mut(&mut self) -> &mut Option { function path_beneath_compatibility (line 414) | fn path_beneath_compatibility() { constant TYPE_ID (line 442) | const TYPE_ID: uapi::landlock_rule_type = uapi::landlock_rule_type_LANDL... function as_ptr (line 444) | fn as_ptr(&mut self) -> *const libc::c_void { function check_consistency (line 450) | fn check_consistency(&self, ruleset: &RulesetCreated) -> Result<(), AddR... function path_beneath_check_consistency (line 468) | fn path_beneath_check_consistency() { type PathFd (line 506) | pub struct PathFd { method new (line 511) | pub fn new(path: T) -> Result method as_fd (line 531) | fn as_fd(&self) -> BorrowedFd<'_> { function path_fd (line 537) | fn path_fd() { function path_beneath_rules (line 594) | pub fn path_beneath_rules( function path_beneath_rules_iter (line 618) | fn path_beneath_rules_iter() { FILE: src/lib.rs type Sealed (line 124) | pub trait Sealed {} function check_ruleset_support (line 136) | fn check_ruleset_support( function allow_root_compat (line 209) | fn allow_root_compat() { function too_much_access_rights_for_a_file (line 227) | fn too_much_access_rights_for_a_file() { function path_beneath_rules_with_too_much_access_rights_for_a_file (line 268) | fn path_beneath_rules_with_too_much_access_rights_for_a_file() { function allow_root_fragile (line 287) | fn allow_root_fragile() { function ruleset_enforced (line 312) | fn ruleset_enforced() { function abi_v2_exec_refer (line 330) | fn abi_v2_exec_refer() { function abi_v2_refer_only (line 347) | fn abi_v2_refer_only() { function abi_v3_truncate (line 363) | fn abi_v3_truncate() { function ruleset_created_try_clone (line 380) | fn ruleset_created_try_clone() { function abi_v4_tcp (line 397) | fn abi_v4_tcp() { function abi_v5_ioctl_dev (line 414) | fn abi_v5_ioctl_dev() { function abi_v6_scope_mix (line 431) | fn abi_v6_scope_mix() { function abi_v6_scope_only (line 447) | fn abi_v6_scope_only() { function ruleset_created_try_clone_ownedfd (line 462) | fn ruleset_created_try_clone_ownedfd() { FILE: src/net.rs type AccessNet (line 45) | pub enum AccessNet { method from_all (line 57) | fn from_all(abi: ABI) -> BitFlags { method ruleset_handle_access (line 68) | fn ruleset_handle_access( method into_add_rules_error (line 88) | fn into_add_rules_error(error: AddRuleError) -> AddRulesError { method into_handle_accesses_error (line 92) | fn into_handle_accesses_error(error: HandleAccessError) -> HandleA... type NetPort (line 109) | pub struct NetPort { method new (line 124) | pub fn new(port: u16, access: A) -> Self constant TYPE_ID (line 141) | const TYPE_ID: uapi::landlock_rule_type = uapi::landlock_rule_type_LAN... method as_ptr (line 143) | fn as_ptr(&mut self) -> *const libc::c_void { method check_consistency (line 149) | fn check_consistency(&self, ruleset: &RulesetCreated) -> Result<(), Ad... method try_compat_children (line 187) | fn try_compat_children( method try_compat_inner (line 208) | fn try_compat_inner( function net_port_check_consistency (line 167) | fn net_port_check_consistency() { method as_option_compat_level_mut (line 217) | fn as_option_compat_level_mut(&mut self) -> &mut Option { method as_option_compat_level_mut (line 223) | fn as_option_compat_level_mut(&mut self) -> &mut Option { FILE: src/ruleset.rs type Rule (line 17) | pub trait Rule: PrivateRule type PrivateRule (line 24) | pub trait PrivateRule constant TYPE_ID (line 29) | const TYPE_ID: uapi::landlock_rule_type; method as_ptr (line 35) | fn as_ptr(&mut self) -> *const libc::c_void; method check_consistency (line 37) | fn check_consistency(&self, ruleset: &RulesetCreated) -> Result<(), Ad... type RulesetStatus (line 42) | pub enum RulesetStatus { method from (line 54) | fn from(state: CompatState) -> Self { type RestrictionStatus (line 69) | pub struct RestrictionStatus { function prctl_set_no_new_privs (line 78) | fn prctl_set_no_new_privs() -> Result<(), Error> { function support_no_new_privs (line 85) | fn support_no_new_privs() -> bool { type Ruleset (line 176) | pub struct Ruleset { method from (line 187) | fn from(compat: Compatibility) -> Self { method from (line 203) | fn from(abi: ABI) -> Self { method new (line 244) | pub fn new() -> Self { method create (line 252) | pub fn create(mut self) -> Result { method as_mut (line 326) | fn as_mut(&mut self) -> &mut Ruleset { function ruleset_add_rule_iter (line 209) | fn ruleset_add_rule_iter() { method default (line 232) | fn default() -> Self { method as_option_compat_level_mut (line 310) | fn as_option_compat_level_mut(&mut self) -> &mut Option { method as_option_compat_level_mut (line 316) | fn as_option_compat_level_mut(&mut self) -> &mut Option { function ruleset_as_mut (line 333) | fn ruleset_as_mut() { type RulesetAttr (line 345) | pub trait RulesetAttr: Sized + AsMut + Compatible { method handle_access (line 353) | fn handle_access(mut self, access: T) -> Result method scope (line 368) | fn scope(mut self, scope: T) -> Result function ruleset_attr (line 394) | fn ruleset_attr() { function ruleset_created_handle_access_fs (line 418) | fn ruleset_created_handle_access_fs() { function ruleset_created_handle_access_net_tcp (line 452) | fn ruleset_created_handle_access_net_tcp() { function ruleset_created_scope (line 491) | fn ruleset_created_scope() { function ruleset_created_fs_net_scope (line 530) | fn ruleset_created_fs_net_scope() { method as_option_compat_level_mut (line 567) | fn as_option_compat_level_mut(&mut self) -> &mut Option { method as_option_compat_level_mut (line 573) | fn as_option_compat_level_mut(&mut self) -> &mut Option { type RulesetCreatedAttr (line 582) | pub trait RulesetCreatedAttr: Sized + AsMut + Compatible { method add_rule (line 586) | fn add_rule(mut self, rule: T) -> Result method add_rules (line 700) | fn add_rules(mut self, rules: I) -> Result method set_no_new_privs (line 718) | fn set_no_new_privs(mut self, no_new_privs: bool) -> Self { type RulesetCreated (line 726) | pub struct RulesetCreated { method new (line 735) | pub(crate) fn new(ruleset: Ruleset, fd: Option) -> Self { method restrict_self (line 756) | pub fn restrict_self(mut self) -> Result std::io::Result { method as_mut (line 863) | fn as_mut(&mut self) -> &mut RulesetCreated { function from (line 846) | fn from(ruleset: RulesetCreated) -> Self { function ruleset_created_ownedfd_none (line 852) | fn ruleset_created_ownedfd_none() { function ruleset_created_attr (line 873) | fn ruleset_created_attr() { function ruleset_compat_dummy (line 920) | fn ruleset_compat_dummy() { function ruleset_compat_partial (line 957) | fn ruleset_compat_partial() { function ruleset_unsupported (line 975) | fn ruleset_unsupported() { function ignore_abi_v2_with_abi_v1 (line 1172) | fn ignore_abi_v2_with_abi_v1() { function unsupported_handled_access (line 1210) | fn unsupported_handled_access() { function unsupported_handled_access_errno (line 1222) | fn unsupported_handled_access_errno() { FILE: src/scope.rs type Scope (line 39) | pub enum Scope { method from_all (line 51) | fn from_all(abi: ABI) -> BitFlags { FILE: src/uapi/landlock_all.rs constant LANDLOCK_CREATE_RULESET_VERSION (line 3) | pub const LANDLOCK_CREATE_RULESET_VERSION: u32 = 1; constant LANDLOCK_CREATE_RULESET_ERRATA (line 4) | pub const LANDLOCK_CREATE_RULESET_ERRATA: u32 = 2; constant LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF (line 5) | pub const LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF: u32 = 1; constant LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON (line 6) | pub const LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON: u32 = 2; constant LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF (line 7) | pub const LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF: u32 = 4; constant LANDLOCK_ACCESS_FS_EXECUTE (line 8) | pub const LANDLOCK_ACCESS_FS_EXECUTE: u32 = 1; constant LANDLOCK_ACCESS_FS_WRITE_FILE (line 9) | pub const LANDLOCK_ACCESS_FS_WRITE_FILE: u32 = 2; constant LANDLOCK_ACCESS_FS_READ_FILE (line 10) | pub const LANDLOCK_ACCESS_FS_READ_FILE: u32 = 4; constant LANDLOCK_ACCESS_FS_READ_DIR (line 11) | pub const LANDLOCK_ACCESS_FS_READ_DIR: u32 = 8; constant LANDLOCK_ACCESS_FS_REMOVE_DIR (line 12) | pub const LANDLOCK_ACCESS_FS_REMOVE_DIR: u32 = 16; constant LANDLOCK_ACCESS_FS_REMOVE_FILE (line 13) | pub const LANDLOCK_ACCESS_FS_REMOVE_FILE: u32 = 32; constant LANDLOCK_ACCESS_FS_MAKE_CHAR (line 14) | pub const LANDLOCK_ACCESS_FS_MAKE_CHAR: u32 = 64; constant LANDLOCK_ACCESS_FS_MAKE_DIR (line 15) | pub const LANDLOCK_ACCESS_FS_MAKE_DIR: u32 = 128; constant LANDLOCK_ACCESS_FS_MAKE_REG (line 16) | pub const LANDLOCK_ACCESS_FS_MAKE_REG: u32 = 256; constant LANDLOCK_ACCESS_FS_MAKE_SOCK (line 17) | pub const LANDLOCK_ACCESS_FS_MAKE_SOCK: u32 = 512; constant LANDLOCK_ACCESS_FS_MAKE_FIFO (line 18) | pub const LANDLOCK_ACCESS_FS_MAKE_FIFO: u32 = 1024; constant LANDLOCK_ACCESS_FS_MAKE_BLOCK (line 19) | pub const LANDLOCK_ACCESS_FS_MAKE_BLOCK: u32 = 2048; constant LANDLOCK_ACCESS_FS_MAKE_SYM (line 20) | pub const LANDLOCK_ACCESS_FS_MAKE_SYM: u32 = 4096; constant LANDLOCK_ACCESS_FS_REFER (line 21) | pub const LANDLOCK_ACCESS_FS_REFER: u32 = 8192; constant LANDLOCK_ACCESS_FS_TRUNCATE (line 22) | pub const LANDLOCK_ACCESS_FS_TRUNCATE: u32 = 16384; constant LANDLOCK_ACCESS_FS_IOCTL_DEV (line 23) | pub const LANDLOCK_ACCESS_FS_IOCTL_DEV: u32 = 32768; constant LANDLOCK_ACCESS_NET_BIND_TCP (line 24) | pub const LANDLOCK_ACCESS_NET_BIND_TCP: u32 = 1; constant LANDLOCK_ACCESS_NET_CONNECT_TCP (line 25) | pub const LANDLOCK_ACCESS_NET_CONNECT_TCP: u32 = 2; constant LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET (line 26) | pub const LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET: u32 = 1; constant LANDLOCK_SCOPE_SIGNAL (line 27) | pub const LANDLOCK_SCOPE_SIGNAL: u32 = 2; type __s32 (line 28) | pub type __s32 = ::std::os::raw::c_int; type __u64 (line 29) | pub type __u64 = ::std::os::raw::c_ulonglong; type landlock_ruleset_attr (line 32) | pub struct landlock_ruleset_attr { constant landlock_rule_type_LANDLOCK_RULE_PATH_BENEATH (line 37) | pub const landlock_rule_type_LANDLOCK_RULE_PATH_BENEATH: landlock_rule_t... constant landlock_rule_type_LANDLOCK_RULE_NET_PORT (line 38) | pub const landlock_rule_type_LANDLOCK_RULE_NET_PORT: landlock_rule_type ... type landlock_rule_type (line 39) | pub type landlock_rule_type = ::std::os::raw::c_uint; type landlock_path_beneath_attr (line 42) | pub struct landlock_path_beneath_attr { type landlock_net_port_attr (line 48) | pub struct landlock_net_port_attr { FILE: src/uapi/landlock_i686.rs constant LANDLOCK_CREATE_RULESET_VERSION (line 3) | pub const LANDLOCK_CREATE_RULESET_VERSION: u32 = 1; constant LANDLOCK_CREATE_RULESET_ERRATA (line 4) | pub const LANDLOCK_CREATE_RULESET_ERRATA: u32 = 2; constant LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF (line 5) | pub const LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF: u32 = 1; constant LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON (line 6) | pub const LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON: u32 = 2; constant LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF (line 7) | pub const LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF: u32 = 4; constant LANDLOCK_ACCESS_FS_EXECUTE (line 8) | pub const LANDLOCK_ACCESS_FS_EXECUTE: u32 = 1; constant LANDLOCK_ACCESS_FS_WRITE_FILE (line 9) | pub const LANDLOCK_ACCESS_FS_WRITE_FILE: u32 = 2; constant LANDLOCK_ACCESS_FS_READ_FILE (line 10) | pub const LANDLOCK_ACCESS_FS_READ_FILE: u32 = 4; constant LANDLOCK_ACCESS_FS_READ_DIR (line 11) | pub const LANDLOCK_ACCESS_FS_READ_DIR: u32 = 8; constant LANDLOCK_ACCESS_FS_REMOVE_DIR (line 12) | pub const LANDLOCK_ACCESS_FS_REMOVE_DIR: u32 = 16; constant LANDLOCK_ACCESS_FS_REMOVE_FILE (line 13) | pub const LANDLOCK_ACCESS_FS_REMOVE_FILE: u32 = 32; constant LANDLOCK_ACCESS_FS_MAKE_CHAR (line 14) | pub const LANDLOCK_ACCESS_FS_MAKE_CHAR: u32 = 64; constant LANDLOCK_ACCESS_FS_MAKE_DIR (line 15) | pub const LANDLOCK_ACCESS_FS_MAKE_DIR: u32 = 128; constant LANDLOCK_ACCESS_FS_MAKE_REG (line 16) | pub const LANDLOCK_ACCESS_FS_MAKE_REG: u32 = 256; constant LANDLOCK_ACCESS_FS_MAKE_SOCK (line 17) | pub const LANDLOCK_ACCESS_FS_MAKE_SOCK: u32 = 512; constant LANDLOCK_ACCESS_FS_MAKE_FIFO (line 18) | pub const LANDLOCK_ACCESS_FS_MAKE_FIFO: u32 = 1024; constant LANDLOCK_ACCESS_FS_MAKE_BLOCK (line 19) | pub const LANDLOCK_ACCESS_FS_MAKE_BLOCK: u32 = 2048; constant LANDLOCK_ACCESS_FS_MAKE_SYM (line 20) | pub const LANDLOCK_ACCESS_FS_MAKE_SYM: u32 = 4096; constant LANDLOCK_ACCESS_FS_REFER (line 21) | pub const LANDLOCK_ACCESS_FS_REFER: u32 = 8192; constant LANDLOCK_ACCESS_FS_TRUNCATE (line 22) | pub const LANDLOCK_ACCESS_FS_TRUNCATE: u32 = 16384; constant LANDLOCK_ACCESS_FS_IOCTL_DEV (line 23) | pub const LANDLOCK_ACCESS_FS_IOCTL_DEV: u32 = 32768; constant LANDLOCK_ACCESS_NET_BIND_TCP (line 24) | pub const LANDLOCK_ACCESS_NET_BIND_TCP: u32 = 1; constant LANDLOCK_ACCESS_NET_CONNECT_TCP (line 25) | pub const LANDLOCK_ACCESS_NET_CONNECT_TCP: u32 = 2; constant LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET (line 26) | pub const LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET: u32 = 1; constant LANDLOCK_SCOPE_SIGNAL (line 27) | pub const LANDLOCK_SCOPE_SIGNAL: u32 = 2; type __s32 (line 28) | pub type __s32 = ::std::os::raw::c_int; type __u64 (line 29) | pub type __u64 = ::std::os::raw::c_ulonglong; type landlock_ruleset_attr (line 32) | pub struct landlock_ruleset_attr { function bindgen_test_layout_landlock_ruleset_attr (line 38) | fn bindgen_test_layout_landlock_ruleset_attr() { constant landlock_rule_type_LANDLOCK_RULE_PATH_BENEATH (line 68) | pub const landlock_rule_type_LANDLOCK_RULE_PATH_BENEATH: landlock_rule_t... constant landlock_rule_type_LANDLOCK_RULE_NET_PORT (line 69) | pub const landlock_rule_type_LANDLOCK_RULE_NET_PORT: landlock_rule_type ... type landlock_rule_type (line 70) | pub type landlock_rule_type = ::std::os::raw::c_uint; type landlock_path_beneath_attr (line 73) | pub struct landlock_path_beneath_attr { function bindgen_test_layout_landlock_path_beneath_attr (line 78) | fn bindgen_test_layout_landlock_path_beneath_attr() { type landlock_net_port_attr (line 105) | pub struct landlock_net_port_attr { function bindgen_test_layout_landlock_net_port_attr (line 110) | fn bindgen_test_layout_landlock_net_port_attr() { FILE: src/uapi/landlock_x86_64.rs constant LANDLOCK_CREATE_RULESET_VERSION (line 3) | pub const LANDLOCK_CREATE_RULESET_VERSION: u32 = 1; constant LANDLOCK_CREATE_RULESET_ERRATA (line 4) | pub const LANDLOCK_CREATE_RULESET_ERRATA: u32 = 2; constant LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF (line 5) | pub const LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF: u32 = 1; constant LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON (line 6) | pub const LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON: u32 = 2; constant LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF (line 7) | pub const LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF: u32 = 4; constant LANDLOCK_ACCESS_FS_EXECUTE (line 8) | pub const LANDLOCK_ACCESS_FS_EXECUTE: u32 = 1; constant LANDLOCK_ACCESS_FS_WRITE_FILE (line 9) | pub const LANDLOCK_ACCESS_FS_WRITE_FILE: u32 = 2; constant LANDLOCK_ACCESS_FS_READ_FILE (line 10) | pub const LANDLOCK_ACCESS_FS_READ_FILE: u32 = 4; constant LANDLOCK_ACCESS_FS_READ_DIR (line 11) | pub const LANDLOCK_ACCESS_FS_READ_DIR: u32 = 8; constant LANDLOCK_ACCESS_FS_REMOVE_DIR (line 12) | pub const LANDLOCK_ACCESS_FS_REMOVE_DIR: u32 = 16; constant LANDLOCK_ACCESS_FS_REMOVE_FILE (line 13) | pub const LANDLOCK_ACCESS_FS_REMOVE_FILE: u32 = 32; constant LANDLOCK_ACCESS_FS_MAKE_CHAR (line 14) | pub const LANDLOCK_ACCESS_FS_MAKE_CHAR: u32 = 64; constant LANDLOCK_ACCESS_FS_MAKE_DIR (line 15) | pub const LANDLOCK_ACCESS_FS_MAKE_DIR: u32 = 128; constant LANDLOCK_ACCESS_FS_MAKE_REG (line 16) | pub const LANDLOCK_ACCESS_FS_MAKE_REG: u32 = 256; constant LANDLOCK_ACCESS_FS_MAKE_SOCK (line 17) | pub const LANDLOCK_ACCESS_FS_MAKE_SOCK: u32 = 512; constant LANDLOCK_ACCESS_FS_MAKE_FIFO (line 18) | pub const LANDLOCK_ACCESS_FS_MAKE_FIFO: u32 = 1024; constant LANDLOCK_ACCESS_FS_MAKE_BLOCK (line 19) | pub const LANDLOCK_ACCESS_FS_MAKE_BLOCK: u32 = 2048; constant LANDLOCK_ACCESS_FS_MAKE_SYM (line 20) | pub const LANDLOCK_ACCESS_FS_MAKE_SYM: u32 = 4096; constant LANDLOCK_ACCESS_FS_REFER (line 21) | pub const LANDLOCK_ACCESS_FS_REFER: u32 = 8192; constant LANDLOCK_ACCESS_FS_TRUNCATE (line 22) | pub const LANDLOCK_ACCESS_FS_TRUNCATE: u32 = 16384; constant LANDLOCK_ACCESS_FS_IOCTL_DEV (line 23) | pub const LANDLOCK_ACCESS_FS_IOCTL_DEV: u32 = 32768; constant LANDLOCK_ACCESS_NET_BIND_TCP (line 24) | pub const LANDLOCK_ACCESS_NET_BIND_TCP: u32 = 1; constant LANDLOCK_ACCESS_NET_CONNECT_TCP (line 25) | pub const LANDLOCK_ACCESS_NET_CONNECT_TCP: u32 = 2; constant LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET (line 26) | pub const LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET: u32 = 1; constant LANDLOCK_SCOPE_SIGNAL (line 27) | pub const LANDLOCK_SCOPE_SIGNAL: u32 = 2; type __s32 (line 28) | pub type __s32 = ::std::os::raw::c_int; type __u64 (line 29) | pub type __u64 = ::std::os::raw::c_ulonglong; type landlock_ruleset_attr (line 32) | pub struct landlock_ruleset_attr { function bindgen_test_layout_landlock_ruleset_attr (line 38) | fn bindgen_test_layout_landlock_ruleset_attr() { constant landlock_rule_type_LANDLOCK_RULE_PATH_BENEATH (line 68) | pub const landlock_rule_type_LANDLOCK_RULE_PATH_BENEATH: landlock_rule_t... constant landlock_rule_type_LANDLOCK_RULE_NET_PORT (line 69) | pub const landlock_rule_type_LANDLOCK_RULE_NET_PORT: landlock_rule_type ... type landlock_rule_type (line 70) | pub type landlock_rule_type = ::std::os::raw::c_uint; type landlock_path_beneath_attr (line 73) | pub struct landlock_path_beneath_attr { function bindgen_test_layout_landlock_path_beneath_attr (line 78) | fn bindgen_test_layout_landlock_path_beneath_attr() { type landlock_net_port_attr (line 105) | pub struct landlock_net_port_attr { function bindgen_test_layout_landlock_net_port_attr (line 110) | fn bindgen_test_layout_landlock_net_port_attr() { FILE: src/uapi/mod.rs function landlock_create_ruleset (line 69) | pub unsafe fn landlock_create_ruleset(attr: *const landlock_ruleset_attr... function landlock_add_rule (line 75) | pub unsafe fn landlock_add_rule(ruleset_fd: c_int, rule_type: landlock_r... function landlock_restrict_self (line 80) | pub unsafe fn landlock_restrict_self(ruleset_fd: c_int, flags: __u32) ->...