commit | ec5cda89f22bc77909cc510626dd79444b353324 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabe.black@gmail.com> | Wed Nov 24 00:53:19 2021 -0800 |
committer | Gabe Black <gabe.black@gmail.com> | Wed Nov 24 22:48:17 2021 +0000 |
tree | d285257097c9e85665d26f2c62fdacc3437a6ebf | |
parent | 68b055dd5d8f81980237c334c1acf4353a0ded22 [diff] |
sim-se: Add additional TGT_AT_* constants for Linux. These constants are used by at least the newfstatat system call. Jira Issue: https://gem5.atlassian.net/browse/GEM5-1117 Change-Id: I1732f064aa7ef22995db7011a06112875b3f4c9b Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53204 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/src/kern/linux/linux.hh b/src/kern/linux/linux.hh index 19fb9b2..73b0404 100644 --- a/src/kern/linux/linux.hh +++ b/src/kern/linux/linux.hh
@@ -297,6 +297,9 @@ // for *at syscalls static const int TGT_AT_FDCWD = -100; static const int TGT_AT_REMOVEDIR = 0x200; + static const int TGT_AT_SYMLINK_FOLLOW = 0x400; + static const int TGT_AT_NO_AUTOMOUNT = 0x800; + static const int TGT_AT_EMPTY_PATH = 0x1000; // for MREMAP static const unsigned TGT_MREMAP_MAYMOVE = 0x1;