Lines Matching full:abi
72 of the Landlock ABI and adapt the handled accesses. Let's check if we should
75 version of the ABI.
79 int abi;
81 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
82 if (abi < 0) {
87 switch (abi) {
89 /* Removes LANDLOCK_ACCESS_FS_REFER for ABI < 2 */
93 /* Removes LANDLOCK_ACCESS_FS_TRUNCATE for ABI < 3 */
143 ABI version. In this example, this is not required because all of the requested
144 ``allowed_access`` rights are already available in ABI 1.
317 ABI version at runtime and only enforcing the supported features.
321 Landlock ABI versions
324 The Landlock ABI version can be read with the sys_landlock_create_ruleset()
329 int abi;
331 abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
332 if (abi < 0) {
343 if (abi >= 2) {
347 The following kernel interfaces are implicitly supported by the first ABI
428 File renaming and linking (ABI < 2)
441 Starting with the Landlock ABI version 2, it is now possible to securely
445 File truncation (ABI < 3)
448 File truncation could not be denied before the third Landlock ABI, so it is
449 always allowed when using a kernel that only supports the first or second ABI.
451 Starting with the Landlock ABI version 3, it is now possible to securely control