mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
![George Bișoc](/assets/img/avatar_default.png)
Refactor the security related code of Winlogon and move it to its own dedicated place, security.c. This includes code for preparation of security descriptors for window station and desktop objects when their created, helper functions which give allow access to such objects for the logged in user and whatnot. ==== DO NOTE ==== Currently new desktop security assignment fails because for whatever reason the system thinks the application desktop has no prior security even though a descriptor has been created for it before. See the FIXME comment on code for information.
29 lines
788 B
CMake
29 lines
788 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl
|
|
${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/winreg.idl)
|
|
|
|
list(APPEND SOURCE
|
|
environment.c
|
|
notify.c
|
|
rpcserver.c
|
|
sas.c
|
|
screensaver.c
|
|
security.c
|
|
setup.c
|
|
shutdown.c
|
|
winlogon.c
|
|
wlx.c
|
|
winlogon.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/winreg_s.c)
|
|
|
|
add_rc_deps(winlogon.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winlogon.ico)
|
|
add_executable(winlogon ${SOURCE} winlogon.rc)
|
|
target_link_libraries(winlogon wine)
|
|
set_module_type(winlogon win32gui)
|
|
add_importlibs(winlogon user32 advapi32 userenv secur32 rpcrt4 mpr msvcrt kernel32 ntdll)
|
|
add_pch(winlogon winlogon.h SOURCE)
|
|
add_cd_file(TARGET winlogon DESTINATION reactos/system32 FOR all)
|