From b8688346a51860c7d582cf3fe310895e93a0ab6c Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Thu, 17 Mar 2016 10:22:39 -0700 Subject: syscall_emul: rename OpenFlagTransTable struct The structure definition only had the open system call flag set in mind when it was named, so we rename it here with the intention of using it to define additional tables to translate flags for other system calls in the future. --- src/kern/operatingsystem.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kern/operatingsystem.hh') diff --git a/src/kern/operatingsystem.hh b/src/kern/operatingsystem.hh index fd5899cf8..f6f035f43 100644 --- a/src/kern/operatingsystem.hh +++ b/src/kern/operatingsystem.hh @@ -38,9 +38,9 @@ class LiveProcess; class ThreadContext; -/// This struct is used to build an target-OS-dependent table that -/// maps the target's open() flags to the host open() flags. -struct OpenFlagTransTable { +/// This struct is used to build target-OS-dependent tables that +/// map the target's flags to the host's flags. +struct SyscallFlagTransTable { int tgtFlag; //!< Target system flag value. int hostFlag; //!< Corresponding host system flag value. }; -- cgit v1.2.3