microsoft / microsoft/WindowsDeveloperConfig

Question about shims

Đang mở
#97 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
PowerShell
Star
2.2k
Fork
168
Merge trung bình
5 giờ 14 phút
Pull request đã merge (30 ngày)
5

Mô tả

I have a few questions about the shims used by WSL Comfort (pbcopy, pbpaste, open, etc.):

  1. Are these shims intended to provide any kind of isolation or restricted access to Windows executables, or are they only convenience wrappers?

  2. If they are only convenience wrappers, what is the recommended way to create custom shims for additional Windows functionality? Is there an intended pattern or extension point for adding custom shims to WSL Comfort?

  3. Do these shims work when the following WSL interop settings are used?

[interop]
enabled=false
appendWindowsPath=false

In particular, I'm interested in whether a shim could provide access to a specific Windows executable while preventing general access to Windows executables and the Windows PATH.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tìm các định nghĩa shim của WSL Comfort và mọi tài liệu liên quan trong repository. Kiểm tra cách các shim gọi các tệp thực thi Windows, liệu shim tùy chỉnh có điểm mở rộng hay không và các cài đặt [interop] ảnh hưởng đến chúng như thế nào. Hoàn thành có nghĩa là đã ghi lại mô hình cô lập, mẫu tùy chỉnh và hành vi khi interop bị vô hiệu hóa và việc nối thêm Windows PATH bị vô hiệu hóa.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
powershell
Lĩnh vực
operating-systems
Loại issue
Tài liệu
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.