Return to misc.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.105, 2016/07/15 00:24:30 | version 1.106, 2016/10/23 22:04:05 | ||
---|---|---|---|
|
|
||
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; | |||
} |