diff options
Diffstat (limited to 'src/open.c')
-rw-r--r-- | src/open.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/open.c b/src/open.c index b48fc087a..1dd79e9dc 100644 --- a/src/open.c +++ b/src/open.c @@ -33,6 +33,9 @@ print_dirfd(struct tcb *tcp, int fd) print_xlat_d(AT_FDCWD); else printfd(tcp, fd); +#ifdef ENABLE_SECONTEXT + tcp->last_dirfd = fd; +#endif } /* |