Skip to content

Commit 6ad267e

Browse files
committed
liblux: added chdir message structure
1 parent d571f4c commit 6ad267e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

liblux/src/include/liblux/liblux.h

+8
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,14 @@ typedef struct {
208208
uint8_t elf[]; // ELF file
209209
} ExecCommand;
210210

211+
/* chdir() */
212+
typedef struct {
213+
SyscallHeader header;
214+
char path[MAX_FILE_PATH];
215+
uid_t uid;
216+
gid_t gid;
217+
} ChdirCommand;
218+
211219
/* wrapper functions */
212220
pid_t luxGetSelf();
213221
const char *luxGetName();

0 commit comments

Comments
 (0)