mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
syscalls: move AT_SYMLINK_NOFOLLOW to kernel/abi.h
This commit is contained in:
@@ -78,4 +78,6 @@ typedef struct {
|
|||||||
#define MAJORDEV(dev) ((dev >> 8) & 0xFFF)
|
#define MAJORDEV(dev) ((dev >> 8) & 0xFFF)
|
||||||
#define MINORDEV(dev) (dev & 0xFF)
|
#define MINORDEV(dev) (dev & 0xFF)
|
||||||
|
|
||||||
|
#define AT_SYMLINK_NOFOLLOW 0x100
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -5,8 +5,6 @@
|
|||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define AT_SYMLINK_NOFOLLOW 0x100
|
|
||||||
|
|
||||||
syscallret_t syscall_faccessat(context_t *, int dirfd, const char *upath, int mode, int flags) {
|
syscallret_t syscall_faccessat(context_t *, int dirfd, const char *upath, int mode, int flags) {
|
||||||
syscallret_t ret = {
|
syscallret_t ret = {
|
||||||
.ret = -1
|
.ret = -1
|
||||||
|
|||||||
@@ -52,8 +52,6 @@ syscallret_t syscall_fstat(context_t *ctx, int fd, stat_t *ustat) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define AT_SYMLINK_NOFOLLOW 0x100
|
|
||||||
|
|
||||||
syscallret_t syscall_fstatat(context_t *ctx, int dirfd, char *upath, stat_t *ustat, int flags) {
|
syscallret_t syscall_fstatat(context_t *ctx, int dirfd, char *upath, stat_t *ustat, int flags) {
|
||||||
syscallret_t ret = {
|
syscallret_t ret = {
|
||||||
.ret = -1
|
.ret = -1
|
||||||
|
|||||||
@@ -5,8 +5,6 @@
|
|||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define AT_SYMLINK_NOFOLLOW 0x100
|
|
||||||
|
|
||||||
syscallret_t syscall_unlinkat(context_t *, int dirfd, const char *upath, int flags) {
|
syscallret_t syscall_unlinkat(context_t *, int dirfd, const char *upath, int flags) {
|
||||||
syscallret_t ret = {
|
syscallret_t ret = {
|
||||||
.ret = -1
|
.ret = -1
|
||||||
|
|||||||
Reference in New Issue
Block a user