diff options
author | torinmr@chromium.org <torinmr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 18:31:39 +0000 |
---|---|---|
committer | torinmr@chromium.org <torinmr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 18:31:39 +0000 |
commit | ba4ba3e7a9a45167aba615ce0704480d1acf33a2 (patch) | |
tree | 6666c88637c4409be781de81ab767621b61054db /chrome/browser/about_flags.cc | |
parent | b0ce6a175568dda4b693c58f6dc868d51051c299 (diff) | |
download | chromium_src-ba4ba3e7a9a45167aba615ce0704480d1acf33a2.zip chromium_src-ba4ba3e7a9a45167aba615ce0704480d1acf33a2.tar.gz chromium_src-ba4ba3e7a9a45167aba615ce0704480d1acf33a2.tar.bz2 |
Adds better tty support and dummy syscall implementations to nacl_io.
TtyNode has been augmented to support javascript to nexe communication.
To use, the browser side uses ioctl (with TIOCNACLPREFIX) to register a
prefix with the tty node, and then uses ioctl (with TIOCNACLINPUT) to
send messages to the node. The messages must begin with the registered
prefix. The prefix is used to disambiguate messages intended for the TTY
from other messages on the javascript postMessage channel, and should
make it possible to implement support for multiple TTYs in the future.
Pepper Simple has been updated to handle this automatically, registering
a prefix based on the module's embed attributes and forwarding messages
from the javascript postMessage channel to the TtyNode.
Stub implementations for chown(), lchown(), and utime() have been added
to nacl_io. These do nothing and return success. This should allow
programs which use these functions but do not depend on their results
(such as libtar) to be ported to NaCl without modification. Also, a bug
in chmod() which caused it to always fail on directories has been fixed.
BUG=None
TEST=None
R=binji@chromium.org,bradnelson@google.com
Review URL: https://chromiumcodereview.appspot.com/17624002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209460 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/about_flags.cc')
0 files changed, 0 insertions, 0 deletions