Skip to content

Commit

Permalink
servers: added chdir message structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 1, 2024
1 parent 344c7ae commit a59d2ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/include/kernel/servers.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ typedef struct {
uint8_t elf[]; // ELF file
} ExecCommand;

/* chdir() */
typedef struct {
SyscallHeader header;
char path[MAX_FILE_PATH];
uid_t uid;
gid_t gid;
} ChdirCommand;

void serverInit();
void serverIdle();
void handleGeneralRequest(int, const MessageHeader *, void *);
Expand Down

0 comments on commit a59d2ef

Please sign in to comment.