Displaying 6 results from an estimated 6 matches for "security_attributes".
2009 Sep 02
1
Question on CreateProcess and handle inheritance
Hi,
I just wanted to make sure that I''m not confused by Michael Buselli''s
comment and patch. As far as I can tell, if you set the bInheritHandle
in the SECURITY_ATTRIBUTES structure that''s passed to CreateProcess to
true, it''s the same as calling SetHandleInformation(handle,
HANDLE_FLAG_INHERIT, HANDLE_FLAG_INHERIT) after the fact.
CreateProcess:
lpProcessAttributes [in, optional]
A pointer to a SECURITY_ATTRIBUTES structure that determines
w...
2020 Apr 17
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...me troubleshooting this issue today, and I found that clang-format create a new temporary file, writes the formatted source into that file, then copies it over the old file. Deep in the bowels of openNativeFile in lib/Support/Windows/Path.inc, in openNativeFileInternal, CreateFileW is called with a SECURITY_ATTRIBUTES with lpSecurityDescriptor = nullptr. The result of this is you get a new file with the default permissions based on whatever NTFS decides to do. On my machine, this ends up being a file with 755 mode. This is happening because the mode parameter to openNativeFile is unused. This issue occurs in cla...
2020 Apr 20
4
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...me troubleshooting this issue today, and I found that clang-format create a new temporary file, writes the formatted source into that file, then copies it over the old file. Deep in the bowels of openNativeFile in lib/Support/Windows/Path.inc, in openNativeFileInternal, CreateFileW is called with a SECURITY_ATTRIBUTES with lpSecurityDescriptor = nullptr. The result of this is you get a new file with the default permissions based on whatever NTFS decides to do. On my machine, this ends up being a file with 755 mode. This is happening because the mode parameter to openNativeFile is unused. This issue occurs in cla...
2008 Oct 17
2
problem usrmgr Version 3.2.4
hi , i have
a few problems with usmgr on Version 3.2.4
( Version 3.2.4-8.1-1931-SUSE-SL11.0 )
samba pdc ldap
the download version from ms
http://www.microsoft.com/Downloads/details.aspx?FamilyID=c0011ab8-3178-4701-a791-eafba0f42de2&displaylang=en
doesnt work
giving
"device attached to the system is not functioning"
whatever i do
a old version from usermgr works partially
but magic
2020 Apr 20
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
...his issue today, and I found that
> clang-format create a new temporary file, writes the formatted source into
> that file, then copies it over the old file. Deep in the bowels of
> openNativeFile in lib/Support/Windows/Path.inc, in openNativeFileInternal,
> CreateFileW is called with a SECURITY_ATTRIBUTES with lpSecurityDescriptor
> = nullptr. The result of this is you get a new file with the default
> permissions based on whatever NTFS decides to do. On my machine, this ends
> up being a file with 755 mode. This is happening because the mode parameter
> to openNativeFile is unused. This...
2007 May 13
0
RE: Converting to 1.1.4, help please!
...ed Love
(200
7)\02 - Forget Me.flac'.
Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access,
FileShare share)
at IdSharp.Audio.Flac..ctor(String path)
at reflac.Program.Main(String[] args)
I would really like to re-encode these into the lower compression, an...