summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/cpp.c
diff options
context:
space:
mode:
authorJacob Moody <moody@posixcafe.org>2022-05-17 03:25:30 +0000
committerJacob Moody <moody@posixcafe.org>2022-05-17 03:25:30 +0000
commitfdbe335d3ac0ba5307b2b5ab97d694af0d2256a7 (patch)
tree0beb815676de71ab2a3c080979ee3b90b1b94a31 /sys/src/cmd/cpp/cpp.c
parent5dd9b370a07b49a072025f5cd401361e8988c9e7 (diff)
aux/listen: remove special cases for depreciated datakit
The getserv function has remained mostly unchanged since 1ed. These checks are for handling string local ports or lack thereof. This was used by datakit at the time, where 'ports' were service strings. This made the default datakit service 'login' when a connector did not give a specific service. The checks for directory traversal also seemed specifically to guard against a connector from providing a malicious service string. With datakit gone all current protocols use numerics as ports so these checks and defaults become uneeded. 1ed reference: https://github.com/plan9foundation/plan9/tree/1e-1992-09-21
Diffstat (limited to 'sys/src/cmd/cpp/cpp.c')
0 files changed, 0 insertions, 0 deletions