371 Commits
Author SHA1 Message Date
John Starks db2d8862e6 Merge pull request #8 from Microsoft/backup
Fix encoding of Win32 file times
2016-02-23 12:10:00 -08:00
John Starks 0186d1e4dd Fix encoding of Win32 file times 2016-02-22 14:04:34 -08:00
John Starks a7276e8bc4 Merge pull request #7 from Microsoft/backup
Interfaces on top of BackupRead, BackupWrite
2016-02-18 20:42:46 -08:00
John Starks 0cd1930b37 Add experimental code to convert backup streams to tar streams
This code is experimental because it currently writes Windows metadata to
tar.Header.Xattrs, which is actually for POSIX extended attributes.
2016-02-18 20:41:01 -08:00
John Starks f011a81ddc Add interface to BackupRead/BackupWrite 2016-02-18 20:40:32 -08:00
John Starks 606856475f Merge pull request #6 from Microsoft/privilege
Add functions for running with privileges
2016-02-18 20:37:48 -08:00
John Starks 6a0656b357 Add functions for running with privileges 2016-02-18 20:36:50 -08:00
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