*** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6217 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -57,6 +57,10 @@ childhandler (int sig)
|
|||||||
SIGRETURN(0);
|
SIGRETURN(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Print the error message `format' and `...' on fd and die.
|
||||||
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
fatal (kx_context *kc, int fd, char *format, ...)
|
fatal (kx_context *kc, int fd, char *format, ...)
|
||||||
{
|
{
|
||||||
@@ -78,6 +82,10 @@ fatal (kx_context *kc, int fd, char *format, ...)
|
|||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Remove all sockets and cookie files.
|
||||||
|
*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
cleanup(int nsockets, struct x_socket *sockets)
|
cleanup(int nsockets, struct x_socket *sockets)
|
||||||
{
|
{
|
||||||
@@ -94,7 +102,7 @@ cleanup(int nsockets, struct x_socket *sockets)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
* Prepare to receive a connection on `sock'.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@@ -252,6 +260,10 @@ passive_session (kx_context *kc, int fd, int sock, int cookiesp)
|
|||||||
return copy_encrypted (kc, fd, sock);
|
return copy_encrypted (kc, fd, sock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
active_session (kx_context *kc, int fd, int sock, int cookiesp)
|
active_session (kx_context *kc, int fd, int sock, int cookiesp)
|
||||||
{
|
{
|
||||||
@@ -263,6 +275,10 @@ active_session (kx_context *kc, int fd, int sock, int cookiesp)
|
|||||||
return copy_encrypted (kc, fd, sock);
|
return copy_encrypted (kc, fd, sock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Handle a new connection.
|
||||||
|
*/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
doit_conn (kx_context *kc,
|
doit_conn (kx_context *kc,
|
||||||
int fd, int meta_sock, int flags, int cookiesp)
|
int fd, int meta_sock, int flags, int cookiesp)
|
||||||
@@ -332,7 +348,7 @@ doit_conn (kx_context *kc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
* Is the current user the owner of the console?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user