Charles Davis
fe6140e0fd
ntdll: Also set CPU_FEATURE_HTT on Mac OS.
2011-10-11 13:37:49 +02:00
Francois Gouget
bf05d85f99
ntdll: Detect if NX support is enabled.
2011-08-24 19:07:45 +02:00
Nikolay Sivov
573db9ef63
ntdll: While requesting TokenGroups calculate required user buffer size in server.
2011-08-23 16:53:54 +02:00
Nikolay Sivov
8e904f95c3
ntdll: Stub TokenSessionId for query call.
2011-08-22 16:14:35 +02:00
André Hentschel
abcdcd9eea
ntdll: Accept double-digit CPU families.
2011-08-22 16:14:32 +02:00
André Hentschel
3eb91fbc3c
ntdll: Parse ARM CPU level.
2011-06-16 11:15:56 +02:00
André Hentschel
6f9d1840ef
ntdll: Remove Alpha support.
2011-04-20 13:09:39 +02:00
Alexandre Julliard
cc01c46f41
ntdll: Rewrite the SystemProcessorPerformanceInformation handing to avoid code duplication.
...
Also include idle time in kernel time.
2011-04-15 10:56:55 +02:00
Maarten Lankhorst
67755d2593
ntdll: Fix time units for SystemPerformanceProcessorInformation, and steal idle time for kernel time.
2011-03-08 16:55:10 +01:00
Maarten Lankhorst
f45b6c54be
ntdll: Fix time accounting in NtQuerySystemInformation.
2011-02-24 18:25:48 +01:00
Austin English
9832bd6c54
ntdll: Add missing checks for FreeBSD_kernel.
2011-01-17 14:27:38 +01:00
André Hentschel
40294182c1
ntdll: Respect multiple CPUs when faking values.
2011-01-04 11:46:31 +01:00
Louis Lenders
fa2b7066e5
ntdll: Set the IdleTime member from the SystemPerformanceInformation info class in NtQuerySystemInformation.
2010-11-26 14:58:39 +01:00
Detlef Riekenberg
48f3335ffa
ntdll: Add semi stub for TokenElevationType in NtQueryInformationToken.
2010-11-15 14:55:24 +01:00
André Hentschel
3151ef0d06
ntdll: Detect more processor features.
2010-11-04 11:48:44 +01:00
Rudolf Mayerhofer
d0e0e69ff1
ntdll: Set CPU_FEATURE_HTT when running on a HTT capable system.
2010-10-04 15:00:07 +02:00
André Hentschel
171c9a5327
ntdll: Add ARM support.
2010-09-20 12:58:44 +02:00
Brad Smith
466b64032f
ntll: Fix the detection of the number of CPUs for OpenBSD.
2010-09-18 13:10:07 +02:00
Austin English
7b37a6d47e
ntdll: Add Sparc processor support.
2010-08-24 12:21:38 +02:00
Detlef Riekenberg
2b76f8661d
ntdll: Add a stub for TokenElevation in NtQueryInformationToken.
2010-08-23 13:46:24 +02:00
Austin English
5bd468179b
ntdll: Add stub for NtSystemDebugControl.
2010-06-29 10:55:41 +02:00
Alexandre Julliard
4fc65126cf
ntdll: Report the correct processor architecture.
2010-04-16 16:59:01 +02:00
Henri Verbeet
7bfe6c4308
ntdll: Return a more reasonable value for "Reserved3".
...
The value is based on 64-bit Win 7, the main thing we care about is that it's
not 0.
2010-03-29 15:50:52 +02:00
Austin English
b4173d7d40
ntdll: Add initial support for OpenBSD to fill_cpu_info.
2010-03-01 11:33:07 +01:00
Freddie Tilley
323b36f521
ntdll: Detect more cpu features in get_cpuinfo.
2010-01-25 12:45:22 +01:00
Freddie Tilley
69d7233e3e
ntdll: Set cpu frequency for FreeBSD 7.2 and higher.
2010-01-20 15:34:41 +01:00
Rob Shearman
bd56916f90
server: Extend get_token_user server call to also retrieve SIDs for the token's owner or primary group.
2009-11-17 15:14:54 +01:00
Alexandre Julliard
a022062cab
ntdll: Move creation of the CPU-specific registry keys to wineboot.
2009-09-24 14:23:02 +02:00
Huw Davies
90f95172b8
ntdll: Fix build on MacOSX.
2009-09-23 12:33:19 +02:00
Alexandre Julliard
1cf1a3f211
ntdll: Only create the CPU registry keys on first run.
2009-09-22 17:05:02 +02:00
Eric Pouech
004fdc7a97
ntdll: Moved CPU related registry key creation from kernel32 to ntdll.
2009-09-22 16:54:14 +02:00
Eric Pouech
3794c6b936
ntdll: Implement basic support for processor power information.
2009-09-22 16:51:29 +02:00
Eric Pouech
57f714f3eb
ntdll: Reuse kernel32's cpu info to implement NtQuerySystemInformation(SystemProcessInformation).
2009-09-22 16:51:16 +02:00
Benjamin Kramer
2f3ac0640b
ntdll: Fix build on MacOSX.
2009-08-29 16:48:52 +02:00
Alexandre Julliard
2be006e497
ntdll: Fix a couple of system information structures for 64-bit.
2009-08-27 19:47:49 +02:00
Austin English
eb8f95b5b6
ntdll: Quiet a noisy fixme.
2009-08-10 17:04:19 +02:00
Luke Benstead
8ed1f0547e
ntdll: Add semi-stub implementation for SystemExecutionState query.
2009-07-22 14:42:51 +02:00
Alexandre Julliard
2e2f6af0de
ntdll: Fix the formatting of the get_token_groups request for 64-bit.
2009-07-03 13:58:09 +02:00
Louis Lenders
e8696ca02e
ntdll: Add stub for NtSecureConnectPort.
2009-06-02 13:10:10 +02:00
Austin English
81543b79c2
ntdll: Change a noisy FIXME to a WARN.
2009-05-22 11:09:41 +02:00
Alexandre Julliard
82fb611806
ntdll: Fix the LPC_MESSAGE structure definition for 64-bit.
2009-05-07 14:44:22 +02:00
Hans Leidekker
f483f71ad2
ntdll: Implement NtQuery/SetInformationToken(TokenDefaultDacl).
2009-04-21 15:41:05 +02:00
Michael Stefaniuc
d2f6f56873
ntdll: Remove superfluous pointer casts.
2009-03-23 12:40:53 +01:00
Alexandre Julliard
912d98c2ae
ntdll: Improve debugging helper for object attributes structure.
2009-02-16 11:46:44 +01:00
Paul Bryan Roberts
a552587de1
ntdll: Avoid potential infinite loop.
2009-02-12 17:53:35 +01:00
Alexandre Julliard
6a548b1e9d
ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit.
2009-01-03 14:55:32 +01:00
Stefan Dösinger
40447e804d
ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once.
2008-12-09 12:46:52 +01:00
Alexandre Julliard
db6e45488d
server: Get rid of the support for module snapshots, it is no longer needed.
2008-12-09 11:49:37 +01:00
Alexandre Julliard
d1b3d484f7
server: Add functions for conversions between server object handles and pointer-style handles.
2008-12-08 16:05:17 +01:00
Alexandre Julliard
3d6313c9ce
ntdll: Return more correct information for SystemBasicInformation and GetSystemInfo.
2008-11-03 13:34:13 +01:00
Aric Stewart
1865c47ff8
ntdll: Fix parsing of proc file. Also correct memory deallocation on the Mac.
2008-11-03 13:34:12 +01:00
Aric Stewart
a226f6609f
ntdll: Implement SystemProcessorPerformanceInformation for Linux (/proc filesystems) and Mac OS X.
2008-10-20 13:56:58 +02:00
Alexandre Julliard
0327f84a2f
ntdll: Implemented NtOpenProcessTokenEx and NtOpenThreadTokenEx.
2008-09-04 21:57:13 +02:00
Andrew Talbot
741b65c200
ntdll: Remove unneeded address-of operators from array names.
2008-07-11 14:06:27 +02:00
Klaus Layer
9f8d9e3e05
ntdll: Add missing FIXMEs for incomplete info classes in NtQuerySystemInformation.
2007-10-30 11:29:40 +01:00
Francois Gouget
bde9601ee1
ntdll: Fix compilation on systems that don't support nameless unions.
2007-09-18 11:20:13 +02:00
Rob Shearman
3f431a0646
server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken.
2007-09-14 14:43:46 +02:00
Rob Shearman
1cd222b451
ntdll: The impersonation level in NtDuplicateToken should be taken from the SecurityQualityOfService member of ObjectAttributes if present.
2007-07-13 12:27:12 +02:00
Alexandre Julliard
68a6182188
ntdll: Add check for null pointer in NtQuerySystemInformation(SystemModuleInformation).
2007-07-04 12:07:22 +02:00
Alexandre Julliard
5817e36634
ntdll: Improved the stub behavior of NtQuerySystemInformation(SystemModuleInformation).
2007-06-19 16:58:42 +02:00
Alexandre Julliard
aaf477f292
server: Change the timeout handling to use NT-style 64-bit timeouts everywhere.
2007-04-17 20:08:59 +02:00
Juan Lang
c2cb296277
ntdll: Implement NtAllocateLocallyUniqueId with server call.
2007-03-07 13:45:11 +01:00
Rob Shearman
d342d1413c
server: Add get_token_impersonation_level server call for retrieving the impersonation level from a token.
...
Add tests for GetTokenInformation(TokenImpersonationLevel).
2007-02-21 19:49:37 +01:00
Hans Leidekker
f7b0ba7aa7
ntdll: Win64 printf format warning fixes.
2006-10-18 12:35:26 +02:00
Alexandre Julliard
c627601c3b
server: Convert the server start time to the abs_time_t type.
2006-07-26 14:50:55 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Shearman
3396a66ee7
server: Retrieve the groups for a token from the server.
2006-05-15 14:25:43 +02:00
James Hawkins
31f29ffcc8
ntdll: Return STATUS_NOT_IMPLEMENTED for the unimplemented port functions.
2006-05-10 11:20:09 +02:00
Robert Shearman
e52e4978b2
ntdll: Fix size check for NtQueryInformationToken(TokenGroups).
...
For NtQueryInformationToken(TokenGroups), don't do a size check before
the server call, as we don't know how many SIDs there are to return
and hence the needed buffer size.
2006-05-05 21:47:27 +02:00
H. Verbeet
c1f52e0013
ntdll: Add a stubbed NtSetSystemInformation.
2006-01-20 19:41:04 +01:00
Vitaliy Margolen
978f470692
ntdll: NtQueryInformationToken change parameters according to PSDK.
...
Check for NULL pointer.
2006-01-12 13:32:09 +01:00
Alexandre Julliard
836d07c369
server: Use attributes instead of inherit flag in token requests.
...
Also use the specified access rights in the open_token request.
2005-12-09 12:17:19 +01:00
Alexandre Julliard
f11d0a375f
server: Use attributes instead of inherit flag in snapshot requests.
2005-12-09 12:09:44 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Ivan Leo Puoti
e1008c386f
Add stub implementation for NtAccessCheckAndAuditAlarm.
2005-10-27 10:25:41 +00:00
Ivan Leo Puoti
e4512f0d57
Make a stub actually say "stub".
2005-10-03 18:44:52 +00:00
Mike McCormack
b5bd4a101a
Fix gcc 4.0 warnings.
2005-09-02 14:47:36 +00:00
Alexandre Julliard
a5156dcf40
Added a stub for NtAlertResumeThread.
2005-08-18 11:47:17 +00:00
Robert Shearman
91eaea53ae
- Change the default user SID to match what was previously returned by
...
NtQueryInformationToken.
- Implement TokenUser for NtQueryInformationToken.
- Add a function for getting the user's registry path from a SID.
2005-07-18 13:22:55 +00:00
Alexandre Julliard
9ad5628639
Moved the server start time to the init_thread request and got rid of
...
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Paul Vriens
d5820a0422
Improved stubs to show the correct behavior.
2005-07-05 11:46:37 +00:00
Mike McCormack
04f9f1b066
Don't include winbase.h or winerror.h when not necessary.
2005-06-21 09:52:40 +00:00
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Mike McCormack
7da043f869
Add/fix more NT native API declarations.
2005-06-16 10:46:11 +00:00
Paul Vriens
e77306365b
ProcessName should be without the path.
2005-06-16 09:44:39 +00:00
Paul Vriens
7691aca10c
Only exact buffer size gives STATUS_SUCCESS.
2005-06-15 10:19:34 +00:00
Mike McCormack
0c9cb1dcee
Declare port functions and fix prototypes.
2005-06-14 11:43:20 +00:00
Paul Vriens
5e5008502e
Fixed size of our SYSTEM_TIMEOFDAY_INFORMATION struct.
...
Fixed return codes and ReturnLength/buffer for
SystemTimeOfDayInformation.
Added tests for SystemTimeOfDayInformation.
2005-06-13 11:34:56 +00:00
Mike McCormack
d838385b38
Add and fix function prototypes.
2005-06-13 10:03:18 +00:00
Paul Vriens
50d1e4f0bf
Fixed ReturnLength of SystemCpuInformation.
...
Added first test for SystemCpuInformation.
2005-06-10 19:52:32 +00:00
Paul Vriens
2b7094e4d4
Reduce our buffer by 1 SYSTEM_THREAD_INFORMATION per process.
...
Minimize some calculations.
2005-06-09 20:33:45 +00:00
Paul Vriens
fbc7a40273
Fixed typo.
...
Zero the thread information before use.
2005-06-07 20:01:48 +00:00
Felix Nawothnig
d8c5960ce1
Make SYSTEM_THREAD_INFORMATION.pszProcessName a UNICODE_STRING.
2005-06-06 15:42:08 +00:00
Paul Vriens
eb6559f910
Change SYSTEM_PROCESS_INFORMATION to reflect W2K/WinXP/W2K3 structure.
2005-06-03 11:24:43 +00:00
Ivan Leo Puoti
2964d8bc52
Rename SystemDriverInformation to SystemModuleInformation.
2005-05-20 09:40:59 +00:00
Paul Vriens
f9cdab4dff
Added (stubbed) SystemDriverInformation and
...
SystemInterruptInformation.
2005-05-13 13:55:51 +00:00
Paul Vriens
d5f92eb50c
Added (stubbed) SystemHandleInformation.
...
Sorted the list.
2005-05-10 13:15:58 +00:00
Robert Shearman
d2ea92d14e
- Clean up well-known privileges.
...
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Paul Vriens
08ae0d09bb
Remove THREAD_INFO struct.
...
Rename THREADINFO into SYSTEM_THREAD_INFORMATION.
2005-04-21 17:14:22 +00:00
Benjamin Cutler
2813da13a3
Add semi-stub for NtPowerInformation(SystemPowerCapabilities, ...).
2005-04-18 09:52:32 +00:00