version 1.144, 2015/09/14 12:12:24 |
version 1.145, 2015/10/23 16:07:29 |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
|
|
|
#include <err.h> |
#include <errno.h> |
#include <errno.h> |
#include <event.h> |
#include <event.h> |
#include <fcntl.h> |
#include <fcntl.h> |
|
|
|
|
if (shell_cmd != NULL && argc != 0) |
if (shell_cmd != NULL && argc != 0) |
usage(); |
usage(); |
|
|
|
if (pledge("stdio rpath wpath cpath flock fattr unix sendfd recvfd " |
|
"proc exec tty ps", NULL) != 0) |
|
err(1, "pledge"); |
|
|
if (!(flags & CLIENT_UTF8)) { |
if (!(flags & CLIENT_UTF8)) { |
/* |
/* |