LI Qing
1e24dcea6a
Modify the protect-integrity tool to print result on file
2021-06-28 21:11:41 +08:00
Hui, Chunyang
6ff50da5be
Bump version to 0.23.1
2021-06-25 21:12:42 +08:00
zongmin.gu
f961b786da
Bump Occlum version to 0.23.0
2021-06-11 07:41:12 +08:00
Hui, Chunyang
c62b6d4091
Add support for execve
...
RFC: https://github.com/occlum/occlum/issues/429
2021-06-10 20:59:06 +08:00
Hui, Chunyang
bad2581a25
Add dummy implementation of getsockopt for unix domain socket
2021-06-10 20:50:30 +08:00
Hui, Chunyang
0dc85f8229
Add support for indexing unix domain socket file with inode
2021-06-10 20:50:30 +08:00
zongmin.gu
2cedafeacb
Add getgroups syscall
2021-06-10 20:14:37 +08:00
Hui, Chunyang
883f7b259f
Add support for ioctl FIONREAD, FIOCLEX, FIONCLEX for pipe and uds file
2021-06-07 08:28:51 +08:00
zongmin.gu
3756f0658c
Update rust-toolchain to nightly-2020-10-25
2021-06-04 11:59:11 +08:00
LI Qing
eb046d4241
Add O_TRUNC support in open syscall and rewrite the truncate test
2021-06-04 11:47:38 +08:00
LI Qing
001df6f309
Rewrite getdents syscall
2021-06-04 11:37:19 +08:00
LI Qing
789b57c6f7
Add statfs and fstatfs syscall
2021-06-04 11:36:47 +08:00
zongmin.gu
070bdf6f39
Add sendmmsg syscall
2021-06-03 16:24:34 +08:00
Hui, Chunyang
d15a75fafb
Add support for POSIX_SPAWN_SETSIGMASK and POSIX_SPAWN_SETSIGDEF
2021-06-01 20:34:51 +08:00
LI Qing
69c79d8252
Fix a potential deadlock when dereference procfs's symlink
2021-06-01 18:40:41 +08:00
LI Qing
9a76ca1888
Add support for '/proc/[pid]/root'
2021-05-25 12:04:50 +08:00
Hui, Chunyang
6d37dd2d90
Add support for mremap with file-backed memory
2021-05-23 15:14:06 +08:00
Hui, Chunyang
a95e26df42
Add support for WNOHANG of waitpid option
2021-05-10 10:11:24 +08:00
LI Qing
ba720dc346
Add fstat support for pipe
2021-05-08 11:25:08 +08:00
Hui, Chunyang
f77e2c5e89
Add support for ioctl TCGETS/TCSETS
2021-04-29 14:23:01 +08:00
zongmin.gu
47349c8d1b
Bump the Occlum version to 0.22.0
2021-04-16 09:34:26 +08:00
Hui, Chunyang
df73dd5d7b
Remove CLONE_PARENT_SETTID from clone mandatory flags
2021-04-13 20:22:02 +08:00
Hui, Chunyang
a9574ca22e
Fix ELF not running when load address not start from zero
2021-04-08 19:04:50 +08:00
Hui, Chunyang
09bac3d4b5
Fix panic for non-specified exec file path
...
This commit can prevent panic when user input:
occlum run /bin
2021-04-08 11:16:55 +08:00
LI Qing
8db6a55696
Mount ramfs at '/dev/shm'
2021-04-01 14:16:07 +08:00
LI Qing
64a980f529
Add time syscall and default localtime support
2021-03-26 16:56:57 +08:00
Hui, Chunyang
ef7b663c4d
Export error message when parsing Elf header
2021-03-22 18:53:22 +08:00
LI Qing
d1edb0e218
Release the check for maximum leaf in cpuid exception
2021-03-16 14:24:01 +08:00
Hui, Chunyang
d0331bd397
Add detection for FSGSBASE enablement in PAL
2021-03-11 14:51:52 +08:00
zongmin.gu
17fcaf85e1
Bump version to 0.21.0
2021-03-03 16:07:51 +08:00
zongmin.gu
9fc81fcc87
Update exec mode to handle uRTS crash case
2021-03-03 16:07:51 +08:00
zongmin.gu
0252f98d60
Enable exception test cases under simulation mode
2021-03-03 16:07:51 +08:00
LI Qing
be62e2c65d
Add posix_fallocate
2021-03-03 11:06:09 +08:00
LI Qing
3dbf050904
Add sync_all, sync_data and poll for hostfs file
2021-03-02 13:47:02 +08:00
zongmin.gu
7122529b6b
Fix affinity array size incorrect issue
2021-03-02 13:45:07 +08:00
LI Qing
7deeccb03b
Fix the error of demos with encrypted fs image
2021-03-02 13:25:36 +08:00
LI Qing
c3a02ffc28
Add support for the encrypted fs image
2021-03-01 16:45:01 +08:00
Hui, Chunyang
a2959c17df
Reduce redundant mprotect ocall
2021-02-24 14:46:41 +08:00
Hui, Chunyang
79b264a6c8
Add support for Address Space Layout Randomization
...
ASLR is only enabled on release mode. Also manage the whole process
VM with VMManager.
2021-02-24 14:46:41 +08:00
LI Qing
d7b994bc7d
Fix getdents cannot output all entries in a directory
2021-02-24 13:24:54 +08:00
Hui, Chunyang
c4c3315c06
Fix false alarm on non-page-aligned size for mprotect
2021-02-23 20:59:17 +08:00
Hui, Chunyang
1fab79681b
Use goblin as elf parser and only load segments on demand
...
Libos now Only read in headers and needed segments. Also reduce a memory
copy.
2021-02-04 15:02:28 +08:00
zongmin.gu
fdde009e5d
Bump Occlum version to 0.20.0
2021-01-22 17:36:53 +08:00
He Sun
1788f94bfe
Fix the poll of channel according to gvisor pipe poll test
2021-01-22 13:22:02 +08:00
He Sun
2ea7fc1ad6
Add Unix socket support for poll
...
A relay notifier that observes the underlying endpoint is added as the
notifier for the socket. It broadcasts to its observers when either end
of the channel has IoEvents.
2021-01-21 23:45:36 +08:00
He Sun
0b829ca087
Fix the return IoEvents of channel poll
2021-01-21 23:45:36 +08:00
He Sun
3101d8fa88
Resolve the nested block of Unix socket
...
Read, write, connect and accept have both blocking and nonblocking mode.
It may block after the status lock is acquired resulting in potential
deadlock. This commit resolve the deadlock issue.
2021-01-21 23:45:36 +08:00
He Sun
1101bdf9e7
Fix multiplication overflow
2021-01-21 18:18:57 +08:00
LI Qing
0b51d83811
Add ProcFS
2021-01-20 12:42:00 +08:00
LI Qing
8bfef4086f
Polish the function names in FS
2021-01-20 12:42:00 +08:00