Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: sandbox/linux/seccomp/ioctl.cc

Issue 1739011: Added support for sigreturn() and rt_sigreturn(). On x86-32, this is... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sandbox/linux/seccomp/library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp/ioctl.cc
===================================================================
--- sandbox/linux/seccomp/ioctl.cc (revision 45661)
+++ sandbox/linux/seccomp/ioctl.cc (working copy)
@@ -48,8 +48,11 @@
ioctl_req.d, ioctl_req.req, ioctl_req.arg);
return true;
default:
- std::cerr << "Unsupported ioctl: 0x" << std::hex << ioctl_req.req <<
- std::endl;
+ if (Debug::isEnabled()) {
+ char buf[80];
+ sprintf(buf, "Unsupported ioctl: 0x%04X\n", ioctl_req.req);
+ Debug::message(buf);
+ }
SecureMem::abandonSystemCall(threadFd, rc);
return false;
}
« no previous file with comments | « no previous file | sandbox/linux/seccomp/library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698