He Sun
5285e3b55d
Fix the insufficient output buffer in SIOCGIFCONF ioctl test
2020-12-02 14:56:14 +08:00
LI Qing
28f47dacce
Add ioctl support for FIONBIO command
2020-10-21 12:51:18 +08:00
He Sun
e13242e7e5
Add netdevice ioctl command
2020-09-18 12:39:12 +08:00
Hui, Chunyang
5b695c9539
Format c/c++ files in src, tools and test
2020-05-27 07:09:18 +00:00
Hui, Chunyang
7372d0277c
Fix tty ioctl test for non-tty stdout
2020-04-14 06:32:21 +00:00
Hui, Chunyang
95ef2819db
Add local attestation demo
2020-03-09 04:17:41 +00:00
Tate, Hongliang Tian
a6e55881b9
Add ioctls for SGX local attestation
2020-02-19 14:48:12 +00:00
Tate, Hongliang Tian
986d1d2e44
Fix ioctl SGX_IOC_GET_EPID_GROUP_ID for EBUSY error
...
SGX SDK's sgx_init_quote may return SGX_ERROR_BUSY, which is previously not
handled. The implementation of ioctl for /dev/sgx is now fixed to handle this
error.
2020-01-23 04:40:54 +00:00
Tate, Hongliang Tian
3c1378b7eb
Add ioctls on /dev/sgx for SGX remote attestation
...
1. Add ioctl command `SGXIOC_GET_EPID_GROUP_ID` for /dev/sgx
2. Add ioctl command `SGXIOC_GEN_QUOTE` for /dev/sgx
3. Add test cases
2019-12-07 10:21:01 +00:00
He Sun
2357f8ed1c
Refactor THROW_ERROR macro in tests
...
1. Rename the macro name as all uppercase letters
2. Rewrite the macro in `do { ... } while (0)` instead of `while (1) { ... }`
2019-11-28 11:10:23 +00:00
Tate, Hongliang Tian
9c4391b32d
Introduce new infrastructure for ioctls
...
1. Introduce the new infrastructure for ioctl support
2. Refactor the old ioctls to use the new infrastructure
3. Implement builtin ioctls (e.g., TIOCGWINSZ and TIOCSWINSZ for stdout)
4. Implement non-builtin, driver-specific ioctls (e.g., ioctls for /dev/sgx)
2019-11-22 10:38:34 +00:00