lxip: VFS plugin

Provides file-system compatible to libc socket-fs requirements. This
includes pseudo file for network configuration.
This commit is contained in:
Sebastian Sumpf
2017-02-07 13:52:04 +01:00
committed by Christian Helmuth
parent 1f29e1854a
commit 304f2eaf38
9 changed files with 2182 additions and 1 deletions

View File

@@ -78,7 +78,18 @@ namespace Lxip {
};
enum Ioctl_cmd {
LINUX_FIONREAD = 0x541b /* == SIOCINQ */
LINUX_FIONREAD = 0x541b, /* == SIOCINQ */
LINUX_IFADDR = 0x8915, /* == SIOCGIFADDR */
};
/*
* Must match errno values from lx_emul.h
*/
enum Io_result {
LINUX_EAGAIN = -35,
LINUX_EINPROGRESS = -36,
LINUX_EALREADY = -37,
LINUX_EISCONN = -56,
};
}