Skip to content

Commit

Permalink
servers: added device field to opendir() message structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Sep 26, 2024
1 parent 33efcb8 commit 821a02b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/include/kernel/servers.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ typedef struct {
typedef struct {
SyscallHeader header;
char path[MAX_FILE_PATH];
char device[MAX_FILE_PATH];
uid_t uid;
gid_t gid;
} OpendirCommand;
Expand All @@ -171,6 +172,7 @@ typedef struct {
typedef struct {
SyscallHeader header;
char path[MAX_FILE_PATH];
char device[MAX_FILE_PATH];
size_t position;
struct dirent entry;
} ReaddirCommand;
Expand Down

0 comments on commit 821a02b

Please sign in to comment.