| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
|
|
|
|
|
| |
It was already ported to use libulog, which makes it simpler now. Be
sure to catch the error returned by setutxdb(). Otherwise it may perform
a lookup on the utx.active database.
|
|
|
|
|
|
|
| |
Unfortunately it also uses lastlog, which means we must resort to local
extensions of the utmpx-interface. Because the user name and TTY name
are now nul-terminated, there is no need to copy around strings as
often.
|
|
|
|
| |
needed.
|
|
|
|
| |
Tested with: make universe
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
GCC doesn't warn about them without -pedantic.
Approved by: das (mentor)
PR: 56649
Reviewed by: md5
|
|
|
|
|
|
|
|
|
|
|
| |
characters was reversed, resulting in some network appliances, including
at least some NAS devices from Ascend, not recognizing our finger(1)
request.
PR: 45914
Submitted by: J R Matthews <jrm@delta-e.com.au>
Approved by: re (rwatson)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
|
|
|
|
|
| |
Requested by: matusita
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.
|
| |
|
|
|
|
| |
builtins (e.g., exit, strcmp).
|
|
|
|
| |
Remove unused #includes
|
|
|
|
| |
PR: 22187
|
|
|
|
|
|
| |
user-supplied host name if we can't get a canonical name.
Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)
|
|
|
|
| |
are treated, regardless of protocol.
|
| |
|
|
|
|
|
|
|
| |
* if run by root (or root process) drop privs
* ensure output size is not infinate (net finger only)
* ensure output lines are not infinate in length (net finger only)
* do not allow finger client to run longer than 3 minutes (net finger only)
|
|
|
|
| |
Submitted by: J. Assange a long time ago.
|
|
|
|
|
|
|
|
| |
implementations to leave the client side open until the server closes.
While this is totally idiotic, it seems as if some servers actually require
it (e.g., the one at mit.mit.edu). So, we bow to the weight of the bogus
standard and disable the initial close. Hopefully now fetch(1) can serve
the role of T/TCP demonstration application.
|
| |
|
| |
|
|
|
|
| |
This option becomes useless when all TCP stacks are fixed out there.
|
| |
|
|
|
|
|
| |
if the server doesn't support it. (This is intended mostly as
an example.)
|
| |
|
| |
|
|
|