{"id":16892880,"url":"https://github.com/wader/disable_sendfile_vbox_linux","last_synced_at":"2026-05-02T03:08:53.614Z","repository":{"id":138879273,"uuid":"48615137","full_name":"wader/disable_sendfile_vbox_linux","owner":"wader","description":"Go VirtualBox vboxsf sendfile bug workaround","archived":false,"fork":false,"pushed_at":"2017-07-13T09:25:25.000Z","size":3,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-04T04:13:22.774Z","etag":null,"topics":["bpf","golang","seccomp","sendfile","vboxsf"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wader.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-12-26T15:29:32.000Z","updated_at":"2020-04-07T06:13:22.000Z","dependencies_parsed_at":"2023-04-20T21:18:20.018Z","dependency_job_id":null,"html_url":"https://github.com/wader/disable_sendfile_vbox_linux","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wader/disable_sendfile_vbox_linux","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fdisable_sendfile_vbox_linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fdisable_sendfile_vbox_linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fdisable_sendfile_vbox_linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fdisable_sendfile_vbox_linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wader","download_url":"https://codeload.github.com/wader/disable_sendfile_vbox_linux/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wader%2Fdisable_sendfile_vbox_linux/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32521139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bpf","golang","seccomp","sendfile","vboxsf"],"created_at":"2024-10-13T17:12:44.673Z","updated_at":"2026-05-02T03:08:53.609Z","avatar_url":"https://github.com/wader.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"##### Go VirtualBox vboxsf sendfile bug workaround\n\nIf you serve static content from a shared folder you might have run into a\nvboxsf file corruption bug. This hack disables the sendfile syscall for\nthe go process which will force the standard library to fallback to userland\nbuffered IO.\n\nReferences:  \n[Ticket #9069 shared folder doesn't seem to update](https://www.virtualbox.org/ticket/9069)  \n[net: Add ability to disable sendfile](https://github.com/golang/go/issues/9694)\n\n##### Usage\n\nSave [disable_sendfile_vbox_linux.go](disable_sendfile_vbox_linux.go) to somewhere in your go project.\nOr do\n```go\nimport (\n\t_ \"github.com/wader/disable_sendfile_vbox_linux\"\n}\n```\nin a source file.\n\n##### License\n\nPublic domain. Your free to do whatever you want.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwader%2Fdisable_sendfile_vbox_linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwader%2Fdisable_sendfile_vbox_linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwader%2Fdisable_sendfile_vbox_linux/lists"}