sys icon indicating copy to clipboard operation
sys copied to clipboard

[mirror] Go packages for low-level interaction with the operating system

Results 52 sys issues
Sort by recently updated
recently updated
newest added

In the go windows package, you can get user information by using `NetUserGetInfo` along with a specified level. However, there is no way to get a list of the users....

These are used along with GetForegroundWindow and GetWindowThreadProcessId to determine the current user layout and translate the base key the user has pressed.

GetAce obtains a pointer to an access control entry (ACE) in an discretionary access control list (DACL), which controls access to an object. Adds the ACE_HEADER and ACCESS_ALLOWED_ACE structs. Adds...

On NetBSD, because the size of the Ptmget structure does not match the value of TIOCPTSNAME, IoctlGetPtmget uses an incorrect structure internally, resulting in empty ptsname. See https://github.com/NetBSD/src/blob/trunk/sys/sys/ttycom.h Fixes golang/go#66871

This PR adds missing constants and structs for DeviceIoControl mainly for manipulating drives.

This fixes go vet complaints and checkptr crashes when the handler receives an event, e.g. a session change notification. Fixes golang/go#59687

windows: in mkwinsyscall, add an option to specify a custom dll extension The current implementation uses a hardcoded '.dll' extension, but some Windows dll files have different extensions (such as...