Blue
fe637ec155
Various fixes and improvements to the WSLA VM logic ( #13338 )
...
* Various fixes in the WSLA VM logic
* Update tests
* Fix ARM build
* LF
2025-08-05 13:58:49 -07:00
Blue
9529e2dfb4
Implement WSL for apps TCP port forwarding ( #13299 )
...
* Merge User/oneblue/prototype lsw to a feature/wsl-for-apps (#13278 )
* Save state
* Save state
* Save state
* Get the VM booting
* VM booting
* Disk mounting
* CreateLinuxProcess
* Move to a proper API
* Implement env
* Progress on fd
* Redesign fork model
* Add process wait & signal
* Include nuget package
* Format
* Format
* Format
* Cleanup
* Format
* Format
* Format
* Fix nuspec
* Implement VM termination
* Add lsw dll
* Implement termination callbacks
* Save state
* Various fixes in API header
* Save state
* Test coverage
* Don't block all signals by default
* Writeable overlay
* Add struct keyword
* rename WslCreateVirualMachine -> WslCreateVirtualMachine
* rename Environmnent -> Environment
* rename HandleToUlong -> HandleToULong
* ensure correct amount of memory is used to create the LSW VM
* Adjust LSWVirtualMachine::AttachDisk so it does not require caller to have elevated permission
* Add missing struct keyword
* PR feedback
* PR review
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
* Save state
* Progress
* Save state
* Move tests to socat
* Increase test coverage
* More test coverage
* Cleanup before PR
* Cleanup before PR
* Refresh branch
* Update comment
* Only run LSW tests on wsl2
* Fix missing '.0' in flight-stage.yml
* Revert "Fix missing '.0' in flight-stage.yml"
This reverts commit 9b3e9ae38f5086b201f2100bf4196a7afe14d9eb.
* PR suggestions
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-08-04 15:40:40 -07:00
Blue
050b175024
Merge User/oneblue/prototype lsw to a feature/wsl-for-apps ( #13278 )
...
* Save state
* Save state
* Save state
* Get the VM booting
* VM booting
* Disk mounting
* CreateLinuxProcess
* Move to a proper API
* Implement env
* Progress on fd
* Redesign fork model
* Add process wait & signal
* Include nuget package
* Format
* Format
* Format
* Cleanup
* Format
* Format
* Format
* Fix nuspec
* Implement VM termination
* Add lsw dll
* Implement termination callbacks
* Save state
* Various fixes in API header
* Save state
* Test coverage
* Don't block all signals by default
* Writeable overlay
* Add struct keyword
* rename WslCreateVirualMachine -> WslCreateVirtualMachine
* rename Environmnent -> Environment
* rename HandleToUlong -> HandleToULong
* ensure correct amount of memory is used to create the LSW VM
* Adjust LSWVirtualMachine::AttachDisk so it does not require caller to have elevated permission
* Add missing struct keyword
* PR feedback
* PR review
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-07-29 11:34:19 -07:00
Josh Soref
6d18bf5074
Spelling ( #13289 )
...
* link: report them to the Microsoft Security Response Center (MSRC)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* link: Microsoft Security Response Center
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: , or
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: adapters
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: at
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: attaching them to the bug, please send them to wsl-gh-logs@microsoft.com with the github issue number in the subject, and include a link to your github issue comment in the message body.
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: disk
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: effect
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: for the file
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: for the mount to be available
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: grandchild
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: last pid
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: on which the...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: path
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: pseudo
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: script
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: service, the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: session
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: strip
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: that a
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: that the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: the first one we find in the test
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: to which
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: waitpid
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: whether
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: while the relay was being set up,
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: with an
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: without specifying
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
---------
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Ben Hillis <benhillis@gmail.com>
2025-07-29 11:24:39 -07:00
Ben Hillis
4867250d11
install: do not attempt to install distros if a reboot is required ( #13298 )
...
* install: do not attempt to install distros if a reboot is required
* nfc: update comment
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-07-29 08:48:52 -07:00
Ben Hillis
d83c1b552a
NFC: minor spelling fixes ( #13280 )
...
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-07-24 10:36:26 -07:00
Josh Soref
abce91d14b
Spelling ( #12954 )
...
* link: Collect WSL logs (recommended method)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* link: Advanced Authoring Tests in C++
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* link: CMake Documentation and Community
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* link: Collect WSL logs for networking issues
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* link: Collect WSL logs (recommended method)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: ; otherwise,
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: a
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: access
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: accessible
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: across
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: actively
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: adapters
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: address
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: addresses
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: and
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: appropriate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: argument
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: associated
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: attach
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: available
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: beginning
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: between
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: binaries
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: bound
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: buffer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: buffers
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: cannot
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: canonical
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: capabilities
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: case-insensitive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: case-sensitive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: certified
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: command
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: committer
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: communication
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: complains
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: configuration
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: consumed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: continue
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: converted
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: currently
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: customers
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: daemon
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: deferred
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: definitions
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: delimiter
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: delivered
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: dellink
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: derived
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: descriptor
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: destined
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: destruct
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: destructible
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: destructor
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: detach
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: differentiate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: directories
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: disassociate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: disposition
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: distribution
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: distro
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: duping
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: emitted
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: empty
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: environment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: every time
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: exclusive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: expected
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: expire
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: explicitly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: fall back
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: false
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: fastfail
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: filesystem
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: first
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: followed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: for
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: functionality
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: functionally
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: github
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: greater
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: guarantee
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: guaranteed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: handles
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: hangup
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: hierarchy
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: hogwarts
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: hydrated
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: icrnl
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: implementation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: implementing
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: initialize
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: instance
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: instantiate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: instantiations
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: intentionally
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: interpret
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: interpreter
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: irreversibly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: iteration
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: iterator
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: its
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: kernel
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: kmsg
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: knowledge
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: maximum
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: mirrored
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: msftconnecttest
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: multi
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: multiple
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: mutable
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: namespace
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: notifications
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: occurred
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: occurring
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: otherwise,
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: outstanding
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: overridden
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: partition
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: pass through
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: passthrough
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: performs
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: periodically
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: positional
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: precedence
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: preexisting
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: preferring
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: prepopulate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: previous
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: privileges
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: process
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: processes
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: programmatically
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: protection
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: provided
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: reasonable
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: receive
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: received
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: red hat
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: reentrant
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: registered
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: regularly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: relay
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: release
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: representing
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: requests
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: response
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: resurrect
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: retention
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: returned
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: security
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: semaphore
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: separate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: separator
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: service
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: set up
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: setup
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: severely
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: should
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: signal
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: similarly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: simple
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: simplified
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: single
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: specified
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: splitting
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: standard
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: stress
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: succeed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: success
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: successfully
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: supplementary
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: synced
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: system
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: take
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: than
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: that opening
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: threadpool
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: to
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: true
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: truncate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: tunneling
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: unexpected
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: uninitialize
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: unique
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: unprivileged
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: unregistered
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: untrusted
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: upgrade
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: utility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: validating
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: variant
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: variation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: variations
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: verify
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: visible
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: whether
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: winget
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: worker
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: written
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* spelling: wslservice
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* format source
---------
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Ben Hillis <benhillis@gmail.com>
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-07-23 15:19:00 -07:00
Ben Hillis
2bdd6b999d
wslsettings: appropriately set heading level for PageHeaderTextBlockStyle ( #13257 )
...
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-07-17 10:52:24 -07:00
Craig Gumbley
4547e2a6f2
Expose the VM ID inside user distros ( #13212 )
...
* Add --vm-id to wslinfo usage string
* Pass the VM id to init
This change ensures that we pass the vm id to an
instances init. The id is then set as an environment
variable and can be accessed at runtime.
* Expose VM id to wslinfo
Add a new argument --vm-id to wslinfo so that
the caller can retrieve the VM id by calling the
binary.
Although it is an environment variable, it can be useful
here too to save additional string parsing from the caller.
2025-07-03 17:30:47 -07:00
Blue
c1d6ad1d15
Don't display a warning when the binfmt process doesn't have a controlling terminal ( #13176 )
2025-06-23 16:24:10 -07:00
K900
e391e7854a
Look up systemctl from $PATH for user session checks ( #13157 )
...
This is already done in other instances where init calls systemctl, and we rely on init to find systemctl in PATH on NixOS, as we don't (really) have a /usr.
2025-06-20 14:09:50 -07:00
Mlekow
dedf36169d
Fix C1010070 compilation error in wslsettings ( #12928 )
...
Co-authored-by: Mlekow <mlekow5@outlook.com>
2025-06-20 13:15:03 -07:00
Blue
6319b02687
Fix incorrect memset call on an std::string ( #12982 )
...
* Fix incorrect memset call on an std::string
* Remove explicit clear call
* Other memset
* Cleanup diff
2025-06-18 18:29:43 -07:00
Ben Hillis
3be5af4b38
cleanup: use wil::unique_fd in CreateProcessParse ( #13002 )
...
* cleanup: use wil::unique_fd in CreateProcessParse
* pr feedback
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-06-18 14:55:01 -07:00
Blue
407bfda099
Don't throw when unregistering a distro that has a BasePath that doesn't exist ( #13130 )
2025-06-17 15:23:31 -07:00
Blue
c3f59f8b12
Don't try to create invalid file names if the distribution download url contains parameters ( #13109 )
2025-06-13 17:21:28 -07:00
Blue
02ca6d3d2d
Fix various issues with systemd user sessions ( #13101 )
...
* Save state
* Save state
* Add test coverage
* Remove useless condition
* Update localized strings
* Update test distro
2025-06-13 16:31:57 -07:00
Ben Hillis
1f0e66d25c
cleanup: add ChildName to UtilCreateChildProcess error message ( #13103 )
...
* cleanup: add ChildName to UtilCreateChildProcess error message
* tweak error message
---------
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
2025-06-13 14:20:18 -07:00
Blue
5d20b44bc6
Fix wslsettings crash when invoked from wslservice ( #13089 )
2025-06-11 15:06:04 -07:00
Blue
3164dc425a
Set MOVEFILE_WRITE_THROUGH when moving distribution VHD's ( #13087 )
2025-06-11 11:31:56 -07:00
Blue
5fd4ffb064
Discard BOM header when parsing the Windows 'hosts' file ( #13079 )
...
* Discard BOM header when parsing the Windows 'hosts' file
* Cleanup after tests
* Format
2025-06-10 15:04:32 -07:00
Blue
456b68125f
Correctly report corrupted disks when mount() fails with EUCLEAN ( #13078 )
2025-06-10 11:08:01 -07:00
Blue
63d1396714
Don't use a \\?\ prefix when resolving the distribution location ( #13080 )
2025-06-10 11:07:31 -07:00
Blue
94ecb86067
Only check GetLastError() if ReadFile returns false ( #13076 )
2025-06-10 11:07:16 -07:00
Blue
0c8844e0f2
Fix missing null terminator when calling execv() on modprobe ( #13054 )
2025-06-04 18:11:01 -07:00
Blue
9144c17073
Don't try to download a new distribution if the name is already in use ( #13046 )
2025-06-04 11:59:10 -07:00
Blue
e881324551
Make the post import distribution checks less strict ( #13036 )
...
* Make the post import distribution checks less strict
* Use /etc
* Update comment
* Explicitely create /etc/wsl.conf
2025-06-03 15:49:40 -07:00
Blue
6f1a992579
Add a systemd override binfmt-support.service to protect wsl's interop entry ( #12999 )
...
* Add a systemd override binfmt-support.service to protect wsl's interop entry
* Remove extra mkdir
2025-05-30 14:16:52 -07:00
Blue
827a987fc2
Reduce the soft file descriptor limit to 10240 ( #12996 )
2025-05-30 11:33:14 -07:00
kotborealis
a2aa0aa60a
docs: update comments in wslpath.cpp ( #13010 )
...
Updated some comments in `wslpath.cpp`:
* Bad wording in abstract
* Return value description for AbsolutePath was mismatched with the signature
2025-05-30 08:16:28 -07:00
Josh Soref
6703980dc8
spelling: libraries ( #12958 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2025-05-21 11:00:49 -07:00
Josh Soref
83d14de518
Spelling localizations ( #12957 )
2025-05-21 10:48:14 -07:00
WSL Team
697572d664
Initial open source commit for WSL.
...
Many Microsoft employees have contributed to the Windows Subsystem for Linux, this commit is the result of their work since 2016.
The entire history of the Windows Subsystem for Linux can't be shared here, but here's an overview of WSL's history after it moved to it own repository in 2021:
Number of commits on the main branch: 2930
Number of contributors: 31
Head over https://github.com/microsoft/WSL/releases for a more detailed history of the features added to WSL since 2021.
2025-05-15 12:09:45 -07:00