From 308ea1e73c6a05e2f81865724d4b268edd3b0ebb Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 14 Aug 2014 20:12:50 +0000 Subject: [PATCH] * security.sgml: Move to ../doc dir and rename to logon-funcs.xml. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/security.sgml | 45 ------------------------------------- 2 files changed, 4 insertions(+), 45 deletions(-) delete mode 100644 winsup/cygwin/security.sgml diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7f025a773..a266f172a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2014-08-14 Corinna Vinschen + + * security.sgml: Move to ../doc dir and rename to logon-funcs.xml. + 2014-08-14 Corinna Vinschen * path.sgml: Move to ../doc dir and rename to path.xml. diff --git a/winsup/cygwin/security.sgml b/winsup/cygwin/security.sgml deleted file mode 100644 index b286ef540..000000000 --- a/winsup/cygwin/security.sgml +++ /dev/null @@ -1,45 +0,0 @@ - -cygwin_logon_user - - -extern "C" HANDLE -cygwin_logon_user -const struct passwd *passwd_entry -const char *password - - -Given a pointer ot a passwd entry of a user and a cleartext password, -returns a HANDLE to an impersonation token for this user which can be used -in a subsequent call to cygwin_set_impersonation_token -to impersonate that user. This function can only be called from a process -which has the required NT user rights to perform a logon. - -See also the chapter "New setuid concept" in the Cygwin user's guide. - - -See also cygwin_set_impersonation_token - - - - -cygwin_set_impersonation_token - - -extern "C" void -cygwin_set_impersonation_token -const HANDLE token - - -Use this function to enable the token given as parameter as -impersonation token for the next call to setuid or -seteuid. Use -cygwin_set_impersonation_token together with -cygwin_logon_user to impersonate users using -password authentication. - -See also the chapter "New setuid concept" in the Cygwin user's guide. - - -See also cygwin_logon_user - -