aboutsummaryrefslogtreecommitdiff
path: root/core/sys/linux/sys.odin
diff options
context:
space:
mode:
authorPucklaJ <kassandra@pucher.space>2024-07-22 11:03:25 +0200
committerPucklaJ <kassandra@pucher.space>2024-07-22 11:03:25 +0200
commit1873f7215dd42e4ee628fcd0947579bf42557dbe (patch)
treea6051dedf9d598a80c7ea9eac6d87abe7867a443 /core/sys/linux/sys.odin
parent62f455f47bfa0cfc90047a389ae5959312057a7d (diff)
[sys/linux]: Change execveat flags type to Execveat_Flags
Diffstat (limited to 'core/sys/linux/sys.odin')
-rw-r--r--core/sys/linux/sys.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/linux/sys.odin b/core/sys/linux/sys.odin
index 03c34223c..f7cacc544 100644
--- a/core/sys/linux/sys.odin
+++ b/core/sys/linux/sys.odin
@@ -2814,7 +2814,7 @@ getrandom :: proc "contextless" (buf: []u8, flags: Get_Random_Flags) -> (int, Er
Execute program relative to a directory file descriptor.
Available since Linux 3.19.
*/
-execveat :: proc "contextless" (dirfd: Fd, name: cstring, argv: [^]cstring, envp: [^]cstring, flags: FD_Flags = {}) -> (Errno) {
+execveat :: proc "contextless" (dirfd: Fd, name: cstring, argv: [^]cstring, envp: [^]cstring, flags: Execveat_Flags = {}) -> (Errno) {
ret := syscall(SYS_execveat, dirfd, cast(rawptr) name, cast(rawptr) argv, cast(rawptr) envp, transmute(i32) flags)
return Errno(-ret)
}