diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-08-14 20:12:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-08-14 20:12:50 +0000 |
commit | 308ea1e73c6a05e2f81865724d4b268edd3b0ebb (patch) | |
tree | c626815809bc38e7206f6a35817ace76878a05d8 | |
parent | 6b3121581692e100d49e8d4b605159a0986dc72c (diff) | |
download | cygnal-308ea1e73c6a05e2f81865724d4b268edd3b0ebb.tar.gz cygnal-308ea1e73c6a05e2f81865724d4b268edd3b0ebb.tar.bz2 cygnal-308ea1e73c6a05e2f81865724d4b268edd3b0ebb.zip |
* security.sgml: Move to ../doc dir and rename to logon-funcs.xml.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/security.sgml | 45 |
2 files changed, 4 insertions, 45 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7f025a773..a266f172a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2014-08-14 Corinna Vinschen <corinna@vinschen.de> + * security.sgml: Move to ../doc dir and rename to logon-funcs.xml. + +2014-08-14 Corinna Vinschen <corinna@vinschen.de> + * path.sgml: Move to ../doc dir and rename to path.xml. * posix.sgml: Move to ../doc dir and rename to posix.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 @@ -<sect1 id="func-cygwin-logon_user"> -<title>cygwin_logon_user</title> - -<funcsynopsis><funcprototype> -<funcdef>extern "C" HANDLE -<function>cygwin_logon_user</function></funcdef> -<paramdef>const struct passwd *<parameter>passwd_entry</parameter></paramdef> -<paramdef>const char *<parameter>password</parameter></paramdef> -</funcprototype></funcsynopsis> - -<para>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 <function>cygwin_set_impersonation_token</function> -to impersonate that user. This function can only be called from a process -which has the required NT user rights to perform a logon.</para> - -<para>See also the chapter "New setuid concept" in the Cygwin user's guide. -</para> - -<para>See also <link linkend="func-cygwin-set-impersonation-token">cygwin_set_impersonation_token</link></para> - -</sect1> - -<sect1 id="func-cygwin-set-impersonation-token"> -<title>cygwin_set_impersonation_token</title> - -<funcsynopsis><funcprototype> -<funcdef>extern "C" void -<function>cygwin_set_impersonation_token</function></funcdef> -<paramdef>const HANDLE <parameter>token</parameter></paramdef> -</funcprototype></funcsynopsis> - -<para>Use this function to enable the token given as parameter as -impersonation token for the next call to <function>setuid</function> or -<function>seteuid</function>. Use -<function>cygwin_set_impersonation_token</function> together with -<function>cygwin_logon_user</function> to impersonate users using -password authentication.</para> - -<para>See also the chapter "New setuid concept" in the Cygwin user's guide. -</para> - -<para>See also <link linkend="func-cygwin-logon_user">cygwin_logon_user</link></para> - -</sect1> |