syscall_emul: [patch 11/22] extend functionality of fcntl
authorBrandon Potter <brandon.potter@amd.com>
Mon, 20 Jul 2015 14:15:21 +0000 (09:15 -0500)
committerBrandon Potter <brandon.potter@amd.com>
Mon, 20 Jul 2015 14:15:21 +0000 (09:15 -0500)
commit6f549419ebf588986daa99135c7cdb1b11002b56
tree01746b0d343c40ae8fe24194f01307c5399694c7
parent748b87fc368800495e5906428bf748359d6bf19a
syscall_emul: [patch 11/22] extend functionality of fcntl

This changeset adds the ability to set a close-on-exec flag for a given
file descriptor. It also reworks some of the logic surrounding setting and
retrieving flags from the file description.
src/arch/x86/linux/process.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh