| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
understand which code paths aren't possible.
This commit eliminates 117 false positive bug reports of the form
"allocate memory; error out if pointer is NULL; use pointer".
|
|
|
|
| |
socklen_t * argument.
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the remote host (or rather, the name as mangled by realhostname_sa())
so that the process can use it to behave differently depending on the
origin on the request. We use this to implement rudimentary visibility
control on our user information.
Make sure that the child process's standard error goes through the same
NVT-ASCII filter as is applied to the standard output.
Don't attempt to call logerr() from the child since stdio is not safe in
a vforked process. Just write a message to fd 2 instead. (Ideally, the
parent would open two pipes, and siphon off our stderr to some place less
public, but I have not attempted to do so in this implementation.)
|
|
|
|
| |
Delete unused include of <strings.h>.
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register
|
|
|
|
|
| |
PR: bin/30913
Submitted by: Dimitri Lommers <dimitri@hinttech.com>
|
|
|
|
| |
Reviewed by: kris
|
|
|
|
|
|
|
| |
Approved by: jkh
PR: bin/16789
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk
|
| |
|
| |
|
|
|
|
|
| |
it and use brackets for sizeof.
Requested by: bde
|
|
|
|
|
|
| |
gethostbyaddr() & gethostbyname().
Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
|
|
|
|
|
| |
this socket option. This is temporary code while the alpha still uses
NetBSD socket code in the kernel.
|
| |
|
|
|
|
| |
Reviewed by: julian
|
|
|
|
| |
posix standard on the topic.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
|
|
|
|
| |
Now, "finger" is invoked with "--" before the first network supplied
argument, so the "--" and "-l" hacks will be stopped.
|
| |
|
| |
|
|
|