(
dirfd: BorrowedFd<'_>,
path: &CStr,
args: *const *const u8,
env_vars: *const *const u8,
flags: AtFlags,
)
| 80 | |
| 81 | #[cfg(feature = "fs")] |
| 82 | pub(crate) unsafe fn execveat( |
| 83 | dirfd: BorrowedFd<'_>, |
| 84 | path: &CStr, |
| 85 | args: *const *const u8, |
| 86 | env_vars: *const *const u8, |
| 87 | flags: AtFlags, |
| 88 | ) -> io::Errno { |
| 89 | ret_error(syscall_readonly!( |
| 90 | __NR_execveat, |
| 91 | dirfd, |
| 92 | path, |
| 93 | args, |
| 94 | env_vars, |
| 95 | flags |
| 96 | )) |
| 97 | } |
| 98 | |
| 99 | pub(crate) unsafe fn execve( |
| 100 | path: &CStr, |
nothing calls this directly
no test coverage detected