diff options
author | yar <yar@FreeBSD.org> | 2003-06-16 11:30:23 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2003-06-16 11:30:23 +0000 |
commit | 478d73b2353de5b14ca8a788d6daf5e77e85140d (patch) | |
tree | b53bd4f352f606ad585489b968ff3ede5b5a85d7 /sys/kern/kern_thread.c | |
parent | 5a341ceea0cbdc652b00645a7c1937a34fe936bf (diff) | |
download | FreeBSD-src-478d73b2353de5b14ca8a788d6daf5e77e85140d.zip FreeBSD-src-478d73b2353de5b14ca8a788d6daf5e77e85140d.tar.gz |
If ftpd is run with an -h option (hide host-specific info,)
don't reveal the info in reply to the SYST command.
Get rid of using the "unix" macro at the same time. It was a rather
poor way to check if the system was Unix since there were quite a
few Unix clones out there whose cc didn't define "unix" (e.g.,
NetBSD.) It was also sensitive to the C standard used, which caused
unnecessary trouble: With -std=c99, it should have been "__unix__",
and so on.
PR: bin/50690
Submitted by: Alex Semenyaka <alexs _at_ snark.ratmir.ru>
MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_thread.c')
0 files changed, 0 insertions, 0 deletions