Index: native_client_sdk/src/libraries/nacl_io/mount_node.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node.cc b/native_client_sdk/src/libraries/nacl_io/mount_node.cc |
index 0116745ab443196676c7646259a503ca241c5e0e..4a0c0651d9c58f4687da117742509a25f3e777f4 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/mount_node.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/mount_node.cc |
@@ -153,6 +153,8 @@ bool MountNode::IsaDir() { return (stat_.st_mode & S_IFDIR) != 0; } |
bool MountNode::IsaFile() { return (stat_.st_mode & S_IFREG) != 0; } |
+bool MountNode::IsaSock() { return (stat_.st_mode & S_IFSOCK) != 0; } |
+ |
bool MountNode::IsaTTY() { return (stat_.st_mode & S_IFCHR) != 0; } |
Error MountNode::AddChild(const std::string& name, |