Skip to content

Commit

Permalink
liblux: 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 d571f4c commit 6ad267e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions liblux/src/include/liblux/liblux.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,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;

/* wrapper functions */
pid_t luxGetSelf();
const char *luxGetName();
Expand Down

0 comments on commit 6ad267e

Please sign in to comment.