Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Will this be Open Source? #1

Closed
sirinath opened this issue Apr 6, 2016 · 30 comments
Closed

Will this be Open Source? #1

sirinath opened this issue Apr 6, 2016 · 30 comments

Comments

@sirinath
Copy link

sirinath commented Apr 6, 2016

Hopefully Bash On Windows will be opensource

@bitcrazed
Copy link
Contributor

We have no firm plans as yet, but we're not averse to open-sourcing some of this tech.

@sirinath
Copy link
Author

sirinath commented Apr 7, 2016

Hopefully you will be slanted towards open sourcing it with well documented internals to get other subsystems like Darwin, BSD, SmartOS or other systems running on Windows.

@BSalita
Copy link

BSalita commented Apr 7, 2016

There's lots of issues with terminal emulation in the first beta. This is particularly an area where open source availability would quicken the pace of bug fixing and compatibility.

@poizan42
Copy link

poizan42 commented Apr 8, 2016

Can I vote for having lxcore.sys open? Just think of the possibilities in having a starting point for the community to implement other subsystems.

(Am I wrong in assuming that implementing a subsystem requires tight coupling with kernel internals that you don't want to have to keep that way for backwards compatibility in the future?)

@russalex
Copy link
Contributor

Great conversation around open sourcing and we hear the requests. Might I suggest voting on this on our uservoice page?

@RaeesBhatti
Copy link

There is actually a very similar open-source project called flinux. Whic is based on the same idea of translating Linux Syscalls to Windows Syscalls. Mabye Windows team can get some inspiration from them 😄

@RaeesBhatti
Copy link

I've just created a UserVoice feedback for this idea. Anyone interested can vote for this there.

@ytrezq
Copy link

ytrezq commented Sep 25, 2016

@RaeesBhatti : it convert Linux calls directly to ɴᴛ calls. This is different since the windows subsystem _(win32k.sys)_is completely bypassed in favor oflxcore.sys (yes, windows is subsystem itself).

@ssokolow
Copy link

ssokolow commented Sep 25, 2016

@ytrezq: Yeah. A lot of people don't know that Windows NT was designed to be modular that way. It was originally designed to have three subsystems: Win32, POSIX, and OS/2.

Heck, drive letters are an artifact of the Win32 subsystem and NTFS can operate in a POSIX mode where the only characters disallowed in file names are NUL and /.

If it weren't for the whole "can't patch it or make derivative works and you have to pay license fees" part, we'd probably all be running some hybrid of Windows NT (for its modular kernel design and excellent UNC support) and Linux or BSD (for the elegant "hardlinks and open file handles are treated as equals in the reference counting" approach to allowing renaming and deleting of in-use files).

@ytrezq
Copy link

ytrezq commented Sep 25, 2016

@ssokolow : as I’m currently looking for a way to compile a native ᴅʟʟ for the ᴘᴘᴄ architecture without original hardware, I perfectly know that :-)

@ssokolow
Copy link

I suspected as much. I probably should have been a bit more clear that my comment was for other people's benefit.

@slavanap
Copy link

slavanap commented Nov 22, 2016

@bitcrazed What about disclosing source code of /init binary? It has to use some of Ubuntu/Linux sources because it depends on libc.so.6. And it is non-Ubuntu binary for sure because it contains lxssmanager string inside.

@ssokolow
Copy link

@slavanap
All dynamically-linked Linux binaries depend on some version of libc.so and glibc's license specifically contains an exception to allow that for closed-source applications.

@russalex
Copy link
Contributor

Long story short, we are still working on /init. What is out there was required to get WSL out the door, but there are some pretty low level changes we need to make for future features. We're just not in a position to discuss open sourcing it yet.

We have had the larger open source conversation a number of times in house but the same story goes there. We have some new features that still need to be made before we can truly discuss feasibility and what parts of the project we can / make sense to open source. None of us are opposed to doing it, we just need to do it when it makes sense and do it right.

@Kreijstal
Copy link

narrator: it was not open source

@wang1zhen wang1zhen mentioned this issue Aug 3, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests