diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-02-17 16:40:27 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-02-18 11:22:12 +0100 |
commit | 205862ed08649df8f50b926a2c58c963f571b044 (patch) | |
tree | 8c237602e956fcc0d543ffe169c0a42e3f840fb9 /newlib/libc/include/stdio_ext.h | |
parent | 182e2502c80edad469343813aa70e8ee160f8e47 (diff) | |
download | cygnal-205862ed08649df8f50b926a2c58c963f571b044.tar.gz cygnal-205862ed08649df8f50b926a2c58c963f571b044.tar.bz2 cygnal-205862ed08649df8f50b926a2c58c963f571b044.zip |
setuid: Create token from scratch without credentials of caller
* sec_auth.cc (get_token_group_sidlist): Drop auth_luid and
auth_pos parameter. Remove code adding a logon SID.
(get_initgroups_sidlist): Drop auth_luid and auth_pos parameter.
Drop in call to get_token_group_sidlist. Accommodate in callers.
(get_setgroups_sidlist): Ditto.
(create_token): Explicitely set auth_luid to ANONYMOUS_LOGON_LUID
or LOCALSERVICE_LUID depending on OS. Explain why.
Remove handling of logon SID since we don't generate one anymore.
(lsaauth): Drop now unused local variable auth_luid and auth_pos.
* wincap.h (wincaps::has_broken_whoami): New element.
* wincap.cc: Implement above element throughout.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/include/stdio_ext.h')
0 files changed, 0 insertions, 0 deletions