das
8c6bf9351e
Don't pass a pointer to a 'long' to a function that expects an 'int *'.
...
Submitted by: Roop Nanuwa <roop@hqst.com>
PR: 62615
2004-02-16 10:03:44 +00:00
roam
4d05d5efa5
Add the '-h hostname' to usage(), too.
...
While I'm here, sync the usage() synopsis with the manual page synopsis:
make the [-i | -s] explicit and sort the options alphabetically.
Reminded by: ru
MFC after: 3 days
2004-02-13 09:26:54 +00:00
roam
0d5a6d9790
Document the '-h hostname' option, which seems to have been present
...
ever since rev. 1.1 of bootpd.c.
While I'm here, rearrange the synopsis a bit: sort the options and
clarify that -i and -s are mutually exclusive.
Reported by: Atanas Buchvarov <nasko@nove.bg>
MFC after: 3 days
2004-02-10 15:12:01 +00:00
yar
c0140bd141
NULL looks better than (char *)0 unless we're passing
...
an unprototyped argument to a function.
2004-02-07 14:59:11 +00:00
yar
ec50e6c644
Deny attempts to rename a file from guest users if the policy
...
says they may not modify existing files through FTP.
Renaming a file is effectively a way to modify it.
For instance, if a malicious party is unable to delete or overwrite
a sensitive file, they can nevertheless rename it to a hidden name
and then upload a troyan horse under the guise of the old file name.
2004-02-07 14:54:30 +00:00
yar
b836e6309f
perror_reply() should not be used where errno isn't meaningful.
2004-02-07 14:38:04 +00:00
yar
b6d44d65d8
Work around a bug in some clients by never returning raw directory
...
contents in reply to a RETR command. Such clients consider RETR
as a way to tell a file from a directory. Mozilla is an example.
PR: bin/62232
Submitted by: Bob Finch <bob+freebsd <at> nas <dot> com>
MFC after: 1 week
2004-02-07 14:11:38 +00:00
ru
743cc6d002
Fixed style of DPADD and LDADD assignments as per style.Makefile(5).
2004-02-05 22:44:25 +00:00
ru
0999d17b26
Removed unnecessary dependencies on librpcsvc.
...
Prodded by: des
2004-02-04 11:59:08 +00:00
ru
7e3a5665be
Put libdevstat before libkvm, because the former depends on the latter.
2004-02-04 10:20:43 +00:00
ru
794727acbe
- Added the NOPAM knob, for consistency with ${.CURDIR}/../ftpd.
...
- Unbreak -DNOPAM -DNOSHARED build by putting -lmd after -lopie.
(Static build with PAM remains broken.)
2004-02-04 10:05:21 +00:00
fjoe
42373eaca9
Fix "warning: value computed is not used".
...
Found by: gcc 2.95.4 [FreeBSD]
2004-02-03 18:53:40 +00:00
ru
0cd813cbba
Removed duplicate -lutil.
2004-02-02 18:23:18 +00:00
ru
5eae3592f4
Reorder dependencies to fix static NOPAM build.
...
Submitted by: lorder(1)
2004-02-02 18:19:41 +00:00
charnier
9af7d6a659
add missing setusershell() calls.
...
PR: bin/2442
Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>
2004-01-18 21:29:33 +00:00
ru
6593bb80ea
- Build things in pure dictionary order (see sort(1)).
...
- Unify the conditional assignments section so that architectural
exclusions come first, then options and !options, sorted by the
option name, also in directory order, then architecture specific
sections, sorted by the architecture name, with i386 being a
traditional exception.
Prodded by: bde
2004-01-16 15:23:19 +00:00
anholt
f69246ee4c
man ftpd says that "by default, anonymous users cannot modify existing files."
...
However, the code did allow deletion of files. Make deleting require the -m
flag, too.
PR: bin/60809
Submitted by: Alexander Melkov <melkov@comptek.ru>
2004-01-07 19:28:31 +00:00
dfr
ec25118d4b
Initialise some uninitialised variables.
...
Thanks to: valgrind
2003-12-31 15:10:41 +00:00
obrien
c9e8288e34
Document what the PAM believers failed to do (and should have),
...
which is how to rsh as root into a machine.
2003-12-17 22:38:57 +00:00
peter
f9016d0ffd
Fix dynamic linking a bit more.. enough that mozilla-firebird works if you
...
dig up the patches for amd64 support for it.
Note to self: do not put a 64 bit value in a 32 bit space.
2003-12-12 01:12:41 +00:00
peter
7368638dde
Revert last change. ../rtld.c uses CACHE_LINE_SIZE too.
...
Change it to 64 while here.
Reported by: ps
2003-12-11 18:42:51 +00:00
peter
e87d087aa1
Only define CACHE_LINE_SIZE in one place..
2003-12-11 04:49:37 +00:00
peter
20d7a03f75
CACHE_LINE_SIZE is 64 on athlon and amd64 chips, not 32. This should
...
probably be 128 since that is what the hardware prefetch fill size is
on both the p3, p4 and athlon* cpus.
2003-12-11 04:47:53 +00:00
sobomax
dced91d8f3
Fix a bug which causes wrong filename being written into the syslog
...
in the case when client sends request with RFC2347 options.
Approved by: re
MFC After: 2 weeks
2003-11-20 13:36:31 +00:00
harti
91fb8e3f9c
Replace all uses of the old netgraph constants NG_*LEN by the new
...
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.
2003-11-15 15:26:35 +00:00
yar
759577e793
If a file to send in ASCII mode already has CRLF as end-of-line,
...
don't add excessive CR on the wire.
PR: bin/59285
Submitted by: Andrey Beresovsky <and at rsu.ru>
MFC after: 1 week
2003-11-15 11:08:26 +00:00
tobez
0105a2bc6c
Sync comment with code's reality.
...
MFC after: 1 week
2003-11-14 12:56:56 +00:00
peter
b35f301d40
Tidy up some xdrproc_t related warnings.
2003-10-26 04:32:53 +00:00
peter
9e4da6dd3b
Pacify gcc warning with a Douglas Adams reference.
2003-10-26 04:30:05 +00:00
tjr
971569170c
Make the warning message stand out more.
2003-10-11 07:37:55 +00:00
tjr
20b1e12f1f
Warn users that makekey may disappear in a future release now that the
...
last in-tree consumer has gone.
2003-10-09 10:06:30 +00:00
tjr
e6d1ceacac
Use the new style struct sockaddr instead of osockaddr in system calls
...
so that talkd works without COMPAT_43.
Obtained from: NetBSD (christos), Rumi Szabolcs
2003-09-28 09:16:09 +00:00
ume
d25cb60913
Don't depend on IPv4-mapped IPv6 address to bind to both IPv4
...
and IPv6.
Wrote at: Hakone.
Powered by: Warner Losh's scotch whisky.
Requested by: nork
2003-09-14 16:42:46 +00:00
mdodd
2641112114
Retire the WITH_LIBMAP compile knob; libmap is now a standard feature.
2003-09-13 21:50:36 +00:00
mdodd
df4cd81882
Change libmap.c:lm_init() to return a status value; 0 for success
...
(libmap available) and 1 for failure. Assign this return to the
global 'libmap_disable' variable in rtld.c.
This totally prevents any libmap functions from being called after
lm_init() if no config file is present.
2003-09-13 21:43:08 +00:00
obrien
507c61e256
Deal with the LOGIN_NAME_MAX issue in the NetBSD->FreeBSD
...
translation^H^H^Hhack layer.
2003-09-11 03:28:21 +00:00
obrien
d98e23fbe8
Add a dependancy on 'nbsd2fbsd.h'
2003-09-10 19:03:48 +00:00
ru
1c23ef339b
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
kan
80babb4e26
Eliminate last three uses of varargs.h in the tree. These three files
...
were including varargs.h file but did not use any of its macros,
so they escaped the clean-up before.
2003-09-01 04:12:18 +00:00
ceri
d4a07597ca
Add a note that the -u option can be overridden by settings in login.conf(5).
...
PR: docs/56017
Submitted by: Josef El-Rayes <j.el-rayes@daemon.li>
2003-08-31 07:45:48 +00:00
obrien
fb9845a19e
Remove a useless '/'.
2003-08-24 17:35:52 +00:00
imp
6ff48acf08
Very minor style nit: sort include files alphabetically.
2003-08-22 02:22:59 +00:00
gordon
6d7920ab73
Forgot one instance of ld-elf.so.1. Convert to ${PROG}
...
Pointed out by: obrien
2003-08-17 22:12:26 +00:00
gordon
bda0840bfc
Don't forget to honor DESTDIR. Also switch over to using PROG instead of
...
the binary name directly.
2003-08-17 18:59:30 +00:00
gordon
649bbcf5e8
Don't forget to chflags noschg the existing binary so we can symlink
...
over it safely.
Pointed out by: yosimoto@waishi.jp
2003-08-17 18:50:56 +00:00
gordon
1d5cce0fc0
As long threatened, stage 2 of making a dynamically-linked root a reality.
...
Install rtld into /libexec.
2003-08-17 08:06:00 +00:00
gordon
9c31ae1833
Prepend /lib to the builtin library search path in rtld.
2003-08-17 07:55:17 +00:00
markm
c26205b553
Make sure that a "make release" (more accurately the bit that makes
...
the crunched binary) get a non-cryptographic telnet. This is overkill
in that it covers stuff that is not normally used in a crunched binary.
2003-07-24 17:19:15 +00:00
markm
c0c9eb00ee
Ensure that for the cryptographic instances of *telnet*, the "crypto"
...
distribution is used. This only affects release-building.
2003-07-24 07:19:55 +00:00
markm
284105499b
Test correct macro for "without crypto" option(s).
2003-07-20 23:29:46 +00:00