Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-28 | Add vfs.FileDescription to FD table | Fabricio Voznika | |
FD table now holds both VFS1 and VFS2 types and uses the correct one based on what's set. Parts of this CL are just initial changes (e.g. sys_read.go, runsc/main.go) to serve as a template for the remaining changes. Updates #1487 Updates #1623 PiperOrigin-RevId: 292023223 | |||
2020-01-28 | Add //pkg/sentry/fsimpl/devtmpfs. | Jamie Liu | |
PiperOrigin-RevId: 292021389 | |||
2020-01-28 | Merge release-20200115.0-122-gf263801 (automated) | gVisor bot | |
2020-01-28 | fs/splice: don't report partial errors for special files | Andrei Vagin | |
Special files can have additional requirements for granularity. For example, read from eventfd returns EINVAL if a size is less 8 bytes. Reported-by: syzbot+3905f5493bec08eb7b02@syzkaller.appspotmail.com PiperOrigin-RevId: 292002926 | |||
2020-01-28 | Merge release-20200115.0-121-g34fbd84 (automated) | gVisor bot | |
2020-01-28 | Add VFS2 support for epoll. | Jamie Liu | |
PiperOrigin-RevId: 291997879 | |||
2020-01-28 | Merge release-20200115.0-120-gd99329e (automated) | gVisor bot | |
2020-01-28 | netlink: add support for RTM_F_LOOKUP_TABLE | Jianfeng Tan | |
Test command: $ ip route get 1.1.1.1 Fixes: #1099 Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com> COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gvisor/pull/1121 from tanjianfeng:fix-1099 e6919f3d4ede5aa51a48b3d2be0d7a4b482dd53d PiperOrigin-RevId: 291990716 | |||
2020-01-28 | Merge release-20200115.0-119-g1119644 (automated) | gVisor bot | |
2020-01-28 | Implement an anon_inode equivalent for VFS2. | Jamie Liu | |
PiperOrigin-RevId: 291986033 | |||
2020-01-28 | Merge release-20200115.0-118-g76483b8 (automated) | gVisor bot | |
2020-01-28 | Check sigsetsize in rt_sigaction | Michael Pratt | |
This isn't in the libc wrapper, but it is in the syscall itself. Discovered by @xiaobo55x in #1625. PiperOrigin-RevId: 291973931 | |||
2020-01-28 | Merge release-20200115.0-113-gdb68c85 (automated) | gVisor bot | |
2020-01-27 | Address GH comments. | Kevin Krakauer | |
2020-01-27 | Merge pull request #1561 from zhangningdlut:chris_tty | gVisor bot | |
PiperOrigin-RevId: 291821850 | |||
2020-01-27 | Merge release-20200115.0-110-g0e2f1b7 (automated) | gVisor bot | |
2020-01-27 | Update package locations. | Adin Scannell | |
Because the abi will depend on the core types for marshalling (usermem, context, safemem, safecopy), these need to be flattened from the sentry directory. These packages contain no sentry-specific details. PiperOrigin-RevId: 291811289 | |||
2020-01-27 | Merge release-20200115.0-107-g90ec596 (automated) | gVisor bot | |
2020-01-27 | Fix licenses. | Adin Scannell | |
The preferred Copyright holder is "The gVisor Authors". PiperOrigin-RevId: 291786657 | |||
2020-01-27 | Merge release-20200115.0-105-g13c1f38 (automated) | gVisor bot | |
2020-01-27 | Update bug number for supporting extended attribute namespaces. | Dean Deng | |
PiperOrigin-RevId: 291774815 | |||
2020-01-27 | Cleanup for GH review. | Kevin Krakauer | |
2020-01-27 | Standardize on tools directory. | Adin Scannell | |
PiperOrigin-RevId: 291745021 | |||
2020-01-27 | Merge branch 'master' into ipt-udp-matchers | Kevin Krakauer | |
2020-01-24 | We can now actually write out the udp matcher. | Kevin Krakauer | |
2020-01-24 | Add support for device special files to VFS2 tmpfs. | Jamie Liu | |
PiperOrigin-RevId: 291471892 | |||
2020-01-24 | Merge release-20200115.0-98-gd135b5a (automated) | gVisor bot | |
2020-01-24 | Add anonymous device number allocation to VFS2. | Jamie Liu | |
Note that in VFS2, filesystem device numbers are per-vfs.FilesystemImpl rather than global, avoiding the need for a "registry" type to handle save/restore. (This is more consistent with Linux anyway: compare e.g. mm/shmem.c:shmem_mount() => fs/super.c:mount_nodev() => (indirectly) set_anon_super().) PiperOrigin-RevId: 291425193 | |||
2020-01-24 | Merge release-20200115.0-96-g390bb9c (automated) | gVisor bot | |
2020-01-24 | Ignore external SIGURG | Michael Pratt | |
Go 1.14+ sends SIGURG to Ms to attempt asynchronous preemption of a G. Since it can't guarantee that a SIGURG is only related to preemption, it continues to forward them to signal.Notify (see runtime.sighandler). We should ignore these signals, as applications shouldn't receive them. Note that this means that truly external SIGURG can no longer be sent to the application (as with SIGCHLD). PiperOrigin-RevId: 291415357 | |||
2020-01-24 | Merge branch 'master' into ipt-udp-matchers | Kevin Krakauer | |
2020-01-24 | Merge release-20200115.0-94-g3db3173 (automated) | gVisor bot | |
2020-01-23 | Remove epoll entry from map when dropping it. | Nicolas Lacasse | |
This pattern (delete from map when dropping) is also used in epoll.RemoveEntry, and seems like generally a good idea. PiperOrigin-RevId: 291268208 | |||
2020-01-23 | Merge release-20200115.0-93-g3d10edc (automated) | gVisor bot | |
2020-01-23 | Merge pull request #1617 from kevinGC:iptables-write-filter-proto | gVisor bot | |
PiperOrigin-RevId: 291249314 | |||
2020-01-23 | Merge release-20200115.0-81-g7a79715 (automated) | gVisor bot | |
2020-01-23 | Check for EINTR from KVM_CREATE_VM | Michael Pratt | |
The kernel may return EINTR from: kvm_create_vm kvm_init_mmu_notifier mmu_notifier_register do_mmu_notifier_register mm_take_all_locks Go 1.14's preemptive scheduling signals make hitting this much more likely. PiperOrigin-RevId: 291212669 | |||
2020-01-22 | De-duplicate common test functionality for VFS2 filesystems. | Rahat Mahmood | |
PiperOrigin-RevId: 291041576 | |||
2020-01-22 | Error marshalling the matcher. | Kevin Krakauer | |
The iptables binary is looking for libxt_.so when it should be looking for libxt_udp.so, so it's having an issue reading the data in xt_match_entry. I think it may be an alignment issue. Trying to fix this is leading to me fighting with the metadata struct, so I'm gonna go kill that. | |||
2020-01-22 | Merge release-20200115.0-72-g5ab1213 (automated) | gVisor bot | |
2020-01-22 | Move VFS2 handling of FD readability/writability to vfs.FileDescription. | Jamie Liu | |
PiperOrigin-RevId: 291006713 | |||
2020-01-22 | Merge release-20200115.0-71-g1599923 (automated) | gVisor bot | |
2020-01-22 | Merge release-20200115.0-69-g6a59e7f (automated) | gVisor bot | |
2020-01-21 | Rename DowngradableRWMutex to RWmutex. | Ian Gudger | |
Also renames TMutex to Mutex. These custom mutexes aren't any worse than the standard library versions (same code), so having both seems redundant. PiperOrigin-RevId: 290873587 | |||
2020-01-22 | Merge release-20200115.0-65-gf6225b1 (automated) | gVisor bot | |
2020-01-21 | Merge pull request #1609 from xiaobo55x:uname | gVisor bot | |
PiperOrigin-RevId: 290849438 | |||
2020-01-21 | Adding serialization. | Kevin Krakauer | |
2020-01-22 | Merge release-20200115.0-58-gb3405a7 (automated) | gVisor bot | |
2020-01-21 | Merge pull request #1275 from lubinszARM:pr_ring0_5 | gVisor bot | |
PiperOrigin-RevId: 290839263 | |||
2020-01-21 | Merge release-20200115.0-56-g7e6fbc6 (automated) | gVisor bot | |