History log of /reactos/dll/win32/advapi32/misc/logon.c (Results 1 – 25 of 28)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d862fa6f 26-Mar-2022 George Bișoc <george.bisoc@reactos.org>

[ADVAPI32] Implement security descriptor management in CreateProcessAsUserCommon internal function

Currently CreateProcessAsUserCommon doesn't set a default descriptor for the newly duplicated token

[ADVAPI32] Implement security descriptor management in CreateProcessAsUserCommon internal function

Currently CreateProcessAsUserCommon doesn't set a default descriptor for the newly duplicated token object for the new process nor it sets any security information for both the process and thread. This is wrong, because when the process is created on behalf of the user's security context,
it still uses the previous security information of the creator that initially gave birth to the process. CreateDefaultProcessSecurityCommon function will serve as a placeholder until CreatePrivateObjectSecurity is implemented.

show more ...


# e90e9180 10-Mar-2022 George Bișoc <george.bisoc@reactos.org>

[ADVAPI32] Soft rewrite of CreateProcessAsUserCommon

Refactor the function in such a way that it can jump to a single exit but most importantly, implement a "rinse and repeat" mechanism where we ass

[ADVAPI32] Soft rewrite of CreateProcessAsUserCommon

Refactor the function in such a way that it can jump to a single exit but most importantly, implement a "rinse and repeat" mechanism where we assign a primary token to process by disabling impersonation first and retry with impersonation later.

More info can be found in the documention within the code.

show more ...


Revision tags: 0.4.14-release, 0.4.15-dev, 0.4.14-RC, 0.4.13-release, 0.4.14-dev, 0.4.13-RC, 0.4.12-release
# f3a9b524 27-Apr-2019 Timo Kreuzer <timo.kreuzer@reactos.org>

[ADVAPI32] Fix copying the TokenSource string

TOKEN_SOURCE::SourceString is an 8 char non-null-terminated string. Copy it as such.

Fixes GCC 8 warning:
dll/win32/advapi32/misc/logon.c:638:5: error:

[ADVAPI32] Fix copying the TokenSource string

TOKEN_SOURCE::SourceString is an 8 char non-null-terminated string. Copy it as such.

Fixes GCC 8 warning:
dll/win32/advapi32/misc/logon.c:638:5: error: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Werror=stringop-truncation]
strncpy(TokenSource.SourceName, "Advapi ", sizeof(TokenSource.SourceName));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

show more ...


Revision tags: 0.4.12-RC, 0.4.13-dev, 0.4.11-release
# b17e8a5e 27-Dec-2018 Eric Kohl <eric.kohl@reactos.org>

[ADVAPI32] CreateProcessAsUserA/W: Partially revert an obvious case of over-engineering. Only share the common parts! Now it looks a lot better. No more stupid bUnicode!


Revision tags: 0.4.11-RC, 0.4.12-dev, 0.4.10-release
# c446ce0d 27-Sep-2018 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

[ADVAPI32] Improve a bit CreateProcessAsUser().

- Check whether the user-provided token is a primary token.

- Do not fail when the RtlAdjustPrivilege() call fails (see the code
comment for an exp

[ADVAPI32] Improve a bit CreateProcessAsUser().

- Check whether the user-provided token is a primary token.

- Do not fail when the RtlAdjustPrivilege() call fails (see the code
comment for an explanation). TL;DR is: that call may indeed fail but
the privilege may also not be necessary because the user-provided
token is a restricted version of the caller's primary token.
And this is situation is perfectly fine.

This fixes Java 7 installation, CORE-14874.

show more ...


Revision tags: 0.4.11-dev, 0.4.10-RC
# 5ebcc6cd 05-Aug-2018 Eric Kohl <eric.kohl@reactos.org>

[ADVAPI32] Add parameter checks to LogonUserExW and initialize the token handle.


Revision tags: 0.4.9-release
# d4b4da53 22-Jun-2018 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

[ADVAPI32] Additions for CreateProcessAsUserA/W().

- Use a common helper function used by both the ANSI and UNICODE functions
so that the large code block that deals with setting the new process t

[ADVAPI32] Additions for CreateProcessAsUserA/W().

- Use a common helper function used by both the ANSI and UNICODE functions
so that the large code block that deals with setting the new process token
becomes automatically common to both these functions, while the ANSI vs.
UNICODE conversions are handled directly via the CreateProcessA/W() calls.

- Duplicate the token and acquire the process primary token assignment
privilege before calling NtSetInformationProcess().

show more ...


Revision tags: 0.4.10-dev, 0.4.9-RC, 0.4.8-release, 0.4.8-RC, 0.4.9-dev, 0.4.7-release, v0.4.7, 0.4.8-dev, 0.4.7-rc1
# c2c66aff 03-Oct-2017 Colin Finck <colin@reactos.org>

Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.


Revision tags: backups/GSoC_2017/rapps@75905, ReactOS-0.4.6, backups/ros-branch-0_4_6@75728, 0.4.7-dev, ReactOS-0.4.5, backups/ros-branch-0_4_5@74569, ReactOS-0.4.4-CLT2017, backups/ReactOS-0.4.4-CLT2017@74182, ReactOS-0.4.4, backups/ros-branch-0_4_4@74002, ReactOS-0.4.4-FOSDEM2017, backups/ReactOS-0.4.4-FOSDEM2017@73667, ReactOS-0.4.3, backups/ros-branch-0_4_3@73437, backups/sndblst@72664, ReactOS-0.4.2, backups/ros-branch-0_4_2@73087, ReactOS-0.4.1, backups/ros-branch-0_4_1@71718
# 321bcc05 24-Apr-2016 Pierre Schweitzer <pierre@reactos.org>

Create the AHCI branch for Aman's work

svn path=/branches/GSoC_2016/AHCI/; revision=71203


Revision tags: ReactOS-0.4.0-CLT2016, backups/ReactOS-0.4.0-CLT2016@71719, ReactOS-0.4.0-FOSDEM2016, backups/ReactOS-0.4.0-FOSDEM2016@70667, ReactOS-0.4.0, backups/ros-branch-0_4_0@70757, backups/colins-printing-for-freedom@73041, ReactOS-0.3.17-CLT2015, backups/ReactOS-0.3.17-CLT2015@66843, ReactOS-0.3.17, ReactOS-0.3.17-FOSDEM2015, backups/ReactOS-0.3.17-FOSDEM2015@66122, backups/shell-experiments@75904, backups/tcpip_revolution@71025, backups/0.3.17@66124
# 23298ac3 25-Oct-2014 Amine Khaldi <amine.khaldi@reactos.org>

* Sync up to trunk head (r64995).

svn path=/branches/shell-experiments/; revision=64996


Revision tags: backups/ros-branch-0_3_16-clt2014@63729
# b819608e 02-May-2014 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

Create a branch for console restructuration work.

svn path=/branches/condrv_restructure/; revision=63104


Revision tags: ReactOS-0.3.16-CLT2014, ReactOS-0.3.16, backups/ReactOS-0.3.16@62476
# 527f2f90 02-Feb-2014 Amine Khaldi <amine.khaldi@reactos.org>

[SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927


Revision tags: backups/vs_jc@60583, backups/vs_jc@59301
# 4f0b8d3d 16-Jun-2013 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.

svn path=/branches/ntvdm/; revision=59241


Revision tags: ReactOS-0.3.15-LT2013, backups/ros-branch-0_3_15-lt2013@59304, ReactOS-0.3.15, backups/ReactOS-0.3.15@59303
# e1ef0787 28-Apr-2013 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.

The idea then woul

Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.

The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):

/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible.
/DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...)
/DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.

svn path=/branches/kd++/; revision=58883

show more ...


Revision tags: backups/ros-csrss@60644
# f6f20487 01-Apr-2013 Ziliang Guo <drakekaizer666@gmail.com>

Branching for 0.3.15 release after two days of no response from a certain sphere of plasma.

svn path=/branches/ReactOS-0.3.15/; revision=58636


# 65ce1461 14-Oct-2012 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>

Create a branch for working on csrss and co.

svn path=/branches/ros-csrss/; revision=57561


Revision tags: backups/ros-csrss@57560, ReactOS-0.3.14-CLT2012, backups/ros-branch-0_3_14-clt2012@56146, backups/c++-bringup@56084, backups/c++-bringup@60583, backups/usb-bringup-trunk@60667, ReactOS-0.3.14, backups/ros-branch-0_3_14@55492
# c2d0d784 20-Jan-2012 Cameron Gutman <aicommander@gmail.com>

[USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This lead

[USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018

show more ...


# 60eea2d7 19-Jan-2012 Amine Khaldi <amine.khaldi@reactos.org>

* Branch for the 0.3.14 release.

svn path=/branches/ros-branch-0_3_14/; revision=55011


Revision tags: backups/wlan-bringup@60693, backups/usb-bringup@55523
# 2b82fe44 02-Jan-2012 Cameron Gutman <aicommander@gmail.com>

[WLAN-BRINGUP]
- Create a branch to drop my ndisuio work

svn path=/branches/wlan-bringup/; revision=54809


Revision tags: backups/iut-netsh@54410, backups/icu4ros-bringup@60647, backups/shell32_new-bringup@60646, backups/reactx@60648, backups/GSoC_2011/KMTestSuite@60644, backups/GSoC_2011/TcpIpDriver@60644, backups/cmake-bringup@60644, backups/ros-amd64-bringup@60669, backups/nyadav-audio-branch@60647
# 4019caae 24-May-2011 Ged Murphy <gedmurphy@reactos.org>

This really needs to go in a branch. It needs heavy testing and can't coincide with the current shell32 due to PSDK interface changes

svn path=/branches/shell32_new-bringup/; revision=51893


Revision tags: backups/GSoC_2011/GSoC_Network@51549, backups/GSoC_2011/GSoC_TcpIpDriver@51551, backups/GSoC_Network@51547, backups/audio-bringup@61036, backups/nyadav-audio-branch@51231, ReactOS-0.3.13-CLT2011, backups/ros-branch-0_3_13-clt2011@51081, ReactOS-0.3.13, backups/ros-branch-0_3_13@51071, backups/GSoC_2011/GSoC_Themes@51550, backups/GSoC_Themes@51548, backups/ros-branch-0_3_13@51035, backups/baikalnet@57446
# 5eb25b5c 05-Nov-2010 Timo Kreuzer <timo.kreuzer@reactos.org>

Create a branch for audio work

svn path=/branches/audio-bringup/; revision=49478


Revision tags: backups/tcp-rewrite-branch@60668, backups/reactos-yarotows@57446, ReactOS-0.3.12, backups/ros-branch-0_3_12@49215, backups/reactx@49912
# 25720d75 07-Sep-2010 Cameron Gutman <aicommander@gmail.com>

Create a branch for work on porting an alternate TCP library with the main focus on stability

svn path=/branches/tcp-rewrite-branch/; revision=48714


Revision tags: backups/Ash_Shell@57446, backups/Ash_Shell@48412
# c424146e 24-Jul-2010 Amine Khaldi <amine.khaldi@reactos.org>

Create a branch for cmake bringup.

svn path=/branches/cmake-bringup/; revision=48236


Revision tags: backups/header-work@57446, backups/arty-newcc@50856, ReactOS-0.3.11-CLT2010, backups/ros-branch-0_3_11-clt2010@46228
# 9ea495ba 26-Feb-2010 Timo Kreuzer <timo.kreuzer@reactos.org>

Create a branch for header work.

svn path=/branches/header-work/; revision=45691


Revision tags: backups/jcatena-branch@60647, backups/aicom-network-stable@46924
# 6afbc8f4 23-Jan-2010 Timo Kreuzer <timo.kreuzer@reactos.org>

Hopefully create a branch and not destroy the svn repository.

svn path=/branches/reactos-yarotows/; revision=45219


12