diff options
author | brynet <> | 2018-11-09 17:49:32 +0000 |
---|---|---|
committer | brynet <> | 2018-11-09 17:49:32 +0000 |
commit | 9b7a041741f8375faa2b013fae385fe9884cdfff (patch) | |
tree | 3e9c96b4f5c381a0129a18b9e48b91455a47548c /src/lib/libc/net/ethers.3 | |
parent | 826108f8a9b9e1ce5bf0a2ba0f8e70b746a6652f (diff) | |
download | openbsd-9b7a041741f8375faa2b013fae385fe9884cdfff.tar.gz openbsd-9b7a041741f8375faa2b013fae385fe9884cdfff.tar.bz2 openbsd-9b7a041741f8375faa2b013fae385fe9884cdfff.zip |
Remove ethers(5) YP support bits from libc as it makes it difficult to
effectively use pledge(2) in some programs.
approval from many, thanks!
idea by & ok deraadt@
Diffstat (limited to 'src/lib/libc/net/ethers.3')
-rw-r--r-- | src/lib/libc/net/ethers.3 | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/lib/libc/net/ethers.3 b/src/lib/libc/net/ethers.3 index 63304ffe48..021e1ced73 100644 --- a/src/lib/libc/net/ethers.3 +++ b/src/lib/libc/net/ethers.3 | |||
@@ -1,8 +1,8 @@ | |||
1 | .\" $OpenBSD: ethers.3,v 1.24 2015/11/10 23:48:18 jmc Exp $ | 1 | .\" $OpenBSD: ethers.3,v 1.25 2018/11/09 17:49:32 brynet Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Written by roland@frob.com. Public domain. | 3 | .\" Written by roland@frob.com. Public domain. |
4 | .\" | 4 | .\" |
5 | .Dd $Mdocdate: November 10 2015 $ | 5 | .Dd $Mdocdate: November 9 2018 $ |
6 | .Dt ETHER_ATON 3 | 6 | .Dt ETHER_ATON 3 |
7 | .Os | 7 | .Os |
8 | .Sh NAME | 8 | .Sh NAME |
@@ -79,17 +79,7 @@ zero if they find the requested host name or address, and \-1 if not. | |||
79 | .Pp | 79 | .Pp |
80 | Each call reads | 80 | Each call reads |
81 | .Pa /etc/ethers | 81 | .Pa /etc/ethers |
82 | from the beginning; if a | 82 | from the beginning. |
83 | .Ql + | ||
84 | appears alone on a line in the file, then | ||
85 | .Fn ether_hostton | ||
86 | will consult the | ||
87 | .Pa ethers.byname | ||
88 | YP map, and | ||
89 | .Fn ether_ntohost | ||
90 | will consult the | ||
91 | .Pa ethers.byaddr | ||
92 | YP map. | ||
93 | .Pp | 83 | .Pp |
94 | The | 84 | The |
95 | .Fn ether_line | 85 | .Fn ether_line |