1 component_class: KERNEL 2 component_type: SYSCALL 3 component_type_version: 3.10 4 5 target_arch: TARGET_ARCH_ARM64 6 7 header: "<syscalls.h>" 8 9 api: { 10 name: "mkdir" 11 syscall_number: 1030 12 return_type: { 13 type: TYPE_SCALAR 14 scalar_type: "uint64_t" 15 } 16 arg: { 17 type: TYPE_SCALAR 18 scalar_type: "char_pointer" 19 is_const: true 20 } 21 arg: { 22 type: TYPE_PREDEFINED 23 predefined_type: "umode_t" 24 } 25 } 26 27 api: { 28 name: "rmdir" 29 syscall_number: 1031 30 return_type: { 31 type: TYPE_SCALAR 32 scalar_type: "uint64_t" 33 } 34 arg: { 35 type: TYPE_SCALAR 36 predefined_type: "char_pointer" 37 is_const: true 38 } 39 } 40 41 attribute { 42 name: "umode_t" 43 type: TYPE_SCALAR 44 scalar_type: "uint8_t" 45 } 46