summaryrefslogtreecommitdiffstats
path: root/private/ntos/se/utseacc.c
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ntos/se/utseacc.c
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/ntos/se/utseacc.c')
-rw-r--r--private/ntos/se/utseacc.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/private/ntos/se/utseacc.c b/private/ntos/se/utseacc.c
new file mode 100644
index 000000000..b38604044
--- /dev/null
+++ b/private/ntos/se/utseacc.c
@@ -0,0 +1,56 @@
+/*++
+
+Copyright (c) 1989 Microsoft Corporation
+
+Module Name:
+
+ utseacc.c
+
+Abstract:
+
+ Security component user-mode test.
+
+ Test Object Security manipulation and accessibility from user mode.
+
+Author:
+
+ Jim Kelly (JimK) 13-Apr-1990
+
+Revision History:
+
+--*/
+
+#include <nt.h>
+#include <ntrtl.h>
+#include <nturtl.h>
+
+#define _TST_USER_ // User mode test
+
+
+#include "tsevars.c" // Common test variables
+
+#include "ctseacc.c" // Common accessibility test routines
+
+
+
+BOOLEAN
+Test()
+{
+ BOOLEAN Result = TRUE;
+
+ DbgPrint("Se: Start User Mode Security Test...\n");
+
+ Result = TSeAcc();
+
+ DbgPrint("Se: End User Mode Security Test.\n");
+
+ return Result;
+}
+
+NTSTATUS
+main()
+{
+ Test();
+
+ return STATUS_SUCCESS;
+}