syscall emulation: Clean up ioctl handling, and implement for x86.
Review Request #1318 - Created July 22, 2012 and submitted
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
[Note: this is an updated version of Marc's patch #1187. I realized I hadn't pushed that, but when I went to test it, it didn't compile for ARM. I ended up doing some more restructuring in the process of fixing that problem.] syscall emulation: Clean up ioctl handling, and implement for x86. Enable different whitelists for different OS/arch combinations, since some use the generic Linux definitions only, and others use definitions inherited from earlier Unix flavors on those architectures. Also update x86 function pointers so ioctl is no longer unimplemented on that platform. This patch is a revised version of Vince Weaver's earlier patch.
passes 'util/regress quick'
Issue Summary
1
1
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| Why is this fatal being changed to a warn? I'm not necessarily against this, but I thought a lot of ... | Marc Orr | July 23, 2012, 4:12 a.m. | Open |
Ship It!
Posted (July 23, 2012, 4:12 a.m.)
-
src/sim/syscall_emul.hh (Diff revision 1) -
Why is this fatal being changed to a warn? I'm not necessarily against this, but I thought a lot of the effort and controversy generated by this patch was that unsupported ioctl's should cause a fatal.
Ship It!
