1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-11-22 03:09:46 +01:00

Remove unused SOCK_FLAG_* enum

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-06-16 18:20:26 +02:00
parent 1c72dd2c2f
commit 60efd9dc33

View file

@ -21,17 +21,6 @@ typedef struct exec_t {
char args[]; /* argument vectot string blob */ char args[]; /* argument vectot string blob */
} exec_t; } exec_t;
enum {
/* only allow root to connect */
SOCK_FLAG_ROOT_ONLY = 0x01,
/* allow everyone to connect */
SOCK_FLAG_EVERYONE = 0x02,
/* create a datagram socket, otherwise use a stream socket */
SOCK_FLAG_DGRAM = 0x04,
};
int setup_tty(const char *tty, bool truncate); int setup_tty(const char *tty, bool truncate);
NORETURN void argv_exec(exec_t *e); NORETURN void argv_exec(exec_t *e);