Return to misc.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.130, 2018/07/18 11:34:04 | version 1.131, 2018/07/27 05:13:02 | ||
---|---|---|---|
|
|
||
return 1; | return 1; | ||
} | } | ||
/* returns 1 if bind to specified port by specified user is permitted */ | |||
int | |||
bind_permitted(int port, uid_t uid) | |||
{ | |||
if (port < IPPORT_RESERVED && uid != 0) | |||
return 0; | |||
return 1; | |||
} | |||
/* returns 1 if process is already daemonized, 0 otherwise */ | /* returns 1 if process is already daemonized, 0 otherwise */ | ||
int | int | ||
daemonized(void) | daemonized(void) |