openat

runwu2204 Lv6

open函数原型

1
2
int openat(int dirfd, const char *pathname, int flags);
int openat(int dirfd, const char *pathname, int flags, mode_t mode);

fd参数如下

Linux 内核:include/uapi/linux/fcntl.h 文件参考 (huihoo.com)

1
AT_FDCWD -100
  • 标题: openat
  • 作者: runwu2204
  • 创建于 : 2024-06-07 15:30:00
  • 更新于 : 2024-06-07 15:37:14
  • 链接: https://runwu2204.github.io/2024/06/07/Pwn/linux/api/openat/
  • 版权声明: 本文章采用 CC BY-NC-SA 4.0 进行许可。
评论
目录
openat