Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-06 | Merge release-20201030.0-42-gbcd883f09 (automated) | gVisor bot | |
2020-11-06 | Avoid extra DecRef on kernfs root for "kept" dentries. | Dean Deng | |
The root dentry was not created through Inode.Lookup, so we should not release a reference even if inode.Keep() is true. PiperOrigin-RevId: 341103220 | |||
2020-11-06 | Merge release-20201030.0-41-g53eeb06ef (automated) | gVisor bot | |
2020-11-06 | Fix infinite loop when splicing to pipes/eventfds. | Nicolas Lacasse | |
Writes to pipes of size < PIPE_BUF are guaranteed to be atomic, so writes larger than that will return EAGAIN if the pipe has capacity < PIPE_BUF. Writes to eventfds will return EAGAIN if the write would cause the eventfd value to go over the max. In both such cases, calling Ready() on the FD will return true (because it is possible to write), but specific kinds of writes will in fact return EAGAIN. This CL fixes an infinite loop in splice and sendfile (VFS1 and VFS2) by forcing skipping the readiness check for the outfile in send, splice, and tee. PiperOrigin-RevId: 341102260 | |||
2020-11-06 | Merge release-20201030.0-39-g29683f359 (automated) | gVisor bot | |
2020-11-06 | Cap iovec array length in //pkg/sentry/hostfd. | Jamie Liu | |
PiperOrigin-RevId: 341001328 | |||
2020-11-03 | Merge release-20201027.0-63-g1cfa8d58f (automated) | gVisor bot | |
2020-11-03 | Fix more nogo tests | Ting-Yu Wang | |
PiperOrigin-RevId: 340536306 | |||
2020-11-03 | Merge release-20201027.0-62-g580bbb749 (automated) | gVisor bot | |
2020-11-03 | [vfs2] Do not drop inotify waiters across S/R. | Dean Deng | |
The waits-for relationship between an epoll instance and an inotify fd should be restored. This fixes flaky inotify vfs2 tests. PiperOrigin-RevId: 340531367 | |||
2020-11-03 | Merge release-20201027.0-61-g723464ec5 (automated) | gVisor bot | |
2020-11-03 | Make pipe min/max sizes match linux. | Nicolas Lacasse | |
The default pipe size already matched linux, and is unchanged. Furthermore `atomicIOBytes` is made a proper constant (as it is in Linux). We were plumbing usermem.PageSize everywhere, so this is no functional change. PiperOrigin-RevId: 340497006 | |||
2020-11-03 | Merge release-20201027.0-60-g861c11bfa (automated) | gVisor bot | |
2020-11-03 | Merge pull request #3617 from laijs:upperhalf | gVisor bot | |
PiperOrigin-RevId: 340484823 | |||
2020-11-03 | Merge release-20201027.0-57-g0e96f8065 (automated) | gVisor bot | |
2020-11-03 | arm64 kvm: inject sError to trigger sigbus | lubinszARM | |
Use an sErr injection to trigger sigbus when we receive EFAULT from the run ioctl. After applying this patch, mmap_test_runsc_kvm will be passed on Arm64. Signed-off-by: Bin Lu <bin.lu@arm.com> COPYBARA_INTEGRATE_REVIEW=https://github.com/google/gvisor/pull/4542 from lubinszARM:pr_kvm_mmap_1 f81bd42466d1d60a581e5fb34de18b78878c68c1 PiperOrigin-RevId: 340461239 | |||
2020-11-03 | Merge release-20201027.0-56-g1a3f417f4 (automated) | gVisor bot | |
2020-11-02 | Implement command GETZCNT for semctl. | Jing Chen | |
PiperOrigin-RevId: 340389884 | |||
2020-11-03 | Merge release-20201027.0-55-g1321f837b (automated) | gVisor bot | |
2020-11-02 | [vfs2] Refactor kernfs checkCreateLocked. | Dean Deng | |
Don't return the filename, since it can already be determined by the caller. This was causing a panic in RenameAt, which relied on the name to be nonempty even if the error was EEXIST. Reported-by: syzbot+e9f117d000301e42361f@syzkaller.appspotmail.com PiperOrigin-RevId: 340381946 | |||
2020-11-02 | Pass hashing algorithms in verity fs opts | Chong Cai | |
PiperOrigin-RevId: 340275942 | |||
2020-11-03 | kvm: share upper halves among all pagtables | Lai Jiangshan | |
Fixes: #509 Signed-off-by: Lai Jiangshan <jiangshan.ljs@antfin.com> Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> | |||
2020-11-02 | Merge release-20201019.0-116-g5e606844d (automated) | gVisor bot | |
2020-11-01 | Fix returned error when deleting non-existant address | Ian Lewis | |
PiperOrigin-RevId: 340149214 | |||
2020-10-31 | Merge release-20201019.0-114-g4eb1c87e8 (automated) | gVisor bot | |
2020-10-30 | Adjust error handling in kernfs rename. | Dean Deng | |
Read-only directories (e.g. under /sys, /proc) should return EPERM for rename. PiperOrigin-RevId: 339979022 | |||
2020-10-31 | Merge release-20201019.0-113-g1f25697cf (automated) | gVisor bot | |
2020-10-30 | Fix rename error handling for VFS2 kernfs. | Dean Deng | |
The non-errno error was causing panics before. PiperOrigin-RevId: 339969348 | |||
2020-10-30 | Merge release-20201019.0-111-g9ad864628 (automated) | gVisor bot | |
2020-10-30 | Separate kernel.Task.AsCopyContext() into CopyContext() and OwnCopyContext(). | Jamie Liu | |
kernel.copyContext{t} cannot be used outside of t's task goroutine, for three reasons: - t.CopyScratchBuffer() is task-goroutine-local. - Calling t.MemoryManager() without running on t's task goroutine or locking t.mu violates t.MemoryManager()'s preconditions. - kernel.copyContext passes t as context.Context to MM IO methods, which is illegal outside of t's task goroutine (cf. kernel.Task.Value()). Fix this by splitting AsCopyContext() into CopyContext() (which takes an explicit context.Context and is usable outside of the task goroutine) and OwnCopyContext() (which uses t as context.Context, but is only usable by t's task goroutine). PiperOrigin-RevId: 339933809 | |||
2020-10-30 | Merge release-20201019.0-110-gc94bf137d (automated) | gVisor bot | |
2020-10-30 | Merge pull request #4564 from zhlhahaha:1981 | gVisor bot | |
PiperOrigin-RevId: 339921446 | |||
2020-10-29 | Merge release-20201019.0-103-g181fea0b5 (automated) | gVisor bot | |
2020-10-29 | Make RedirectTarget thread safe | Kevin Krakauer | |
Fixes #4613. PiperOrigin-RevId: 339746784 | |||
2020-10-29 | Merge release-20201019.0-101-g02fe467b4 (automated) | gVisor bot | |
2020-10-29 | Keep magic constants out of netstack | Kevin Krakauer | |
PiperOrigin-RevId: 339721152 | |||
2020-10-29 | Merge release-20201019.0-96-g265f1eb2c (automated) | gVisor bot | |
2020-10-28 | Add leak checking for kernfs.Dentry. | Dean Deng | |
Updates #1486. PiperOrigin-RevId: 339581879 | |||
2020-10-29 | Merge release-20201019.0-95-g3b4674ffe (automated) | gVisor bot | |
2020-10-28 | Add logging option to leak checker. | Dean Deng | |
Also refactor the template and CheckedObject interface to make this cleaner. Updates #1486. PiperOrigin-RevId: 339577120 | |||
2020-10-28 | Merge release-20201019.0-92-gd20ef61a8 (automated) | gVisor bot | |
2020-10-28 | Merge pull request #4630 from lemin9538:lemin_arm64_dev | gVisor bot | |
PiperOrigin-RevId: 339540747 | |||
2020-10-28 | Merge release-20201019.0-90-g9907539d9 (automated) | gVisor bot | |
2020-10-28 | Invalidate overlay.dentry.dirents during open() file creation. | Jamie Liu | |
Updates #1199 PiperOrigin-RevId: 339528827 | |||
2020-10-28 | Merge release-20201019.0-88-g4cc3894b2 (automated) | gVisor bot | |
2020-10-28 | [vfs] Refactor hostfs mmap into kernfs util. | Ayush Ranjan | |
PiperOrigin-RevId: 339505487 | |||
2020-10-28 | Merge release-20201019.0-81-g5fe886ab6 (automated) | gVisor bot | |
2020-10-27 | Merge pull request #4598 from lubinszARM:pr_kvm_precise_sync | gVisor bot | |
PiperOrigin-RevId: 339404936 | |||
2020-10-28 | arm64: need to restore the sentry's TLS when in EL1 | Min Le | |
Signed-off-by: Min Le <lemin.lm@antgroup.com> | |||
2020-10-27 | Add SHA512 to merkle tree library | Chong Cai | |
PiperOrigin-RevId: 339377254 |