Commit Graph
14 Commits
Author SHA1 Message Date
John Starks da7011968c Merge pull request #5 from Microsoft/fileinfo
Add functions to get/set FILE_BASIC_INFO
2016-02-18 20:35:20 -08:00
John Starks 1ac2c4761f Add functions to get/set FILE_BASIC_INFO 2016-02-18 20:33:57 -08:00
John Starks 94a8d2823f Merge pull request #4 from Microsoft/mksyscall
Use mksyscall_windows.go from go source in go generate
2016-02-16 18:21:30 -08:00
John Starks a920ad0a26 Use mksyscall_windows.go from go source in go generate 2016-02-16 18:20:22 -08:00
John Starks eb176a9831 Merge pull request #3 from Microsoft/fix_386
Fix build on windows/386
2016-02-04 10:50:47 -08:00
John Starks 5292a3509e Fix build on windows/386
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-02-04 10:49:26 -08:00
John Starks 2b085935f0 Update README.md 2016-01-31 17:48:08 -08:00
John Starks 89bdf52a5b Add routine for looking up account names
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-01-31 16:08:10 -08:00
John Starks fe517a5118 Misc. cleanup
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-01-31 14:18:04 -08:00
John Starks 3aa597fc55 Open pipe client with anonymous security
This ensures that the pipe server cannot impersonate or even identify
the user that has connected to the pipe. This is a good default to
prevent malicious squatting on a named pipe name.

Signed-off-by: John Starks <jostarks@microsoft.com>
2016-01-31 14:03:47 -08:00
John Starks 99eef7be8d Ensure DialPipe times eventually by default
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-01-31 14:00:21 -08:00
John Starks 3191792462 Fix errors to better match net package
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-01-31 13:47:08 -08:00
John Starks b0d265e6c2 Ensure win32PipeListener.Close() correctly aborts Listen() calls
Signed-off-by: John Starks <jostarks@microsoft.com>
2016-01-31 13:46:55 -08:00
John Starks f001f808a9 Add file and pipe Windows wrappers
This includes Reader, Writer, and Closer interfaces on top of
Windows file handles in a way that does not block the system thread
while the IO is outstanding.

This also includes net.Listener and net.Conn for named pipes.
2016-01-30 18:11:47 -08:00