phk
7d1a30911b
Many places in the code NULL is used in integer context, where
...
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.
PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
ache
68edd5c44a
Allow backspace too
1997-09-15 00:42:04 +00:00
ache
d264c8b79c
disable upper controls and enable all other
...
8bit codes due to lack of locale knowledge in daemon
1997-09-15 00:27:49 +00:00
wosch
313d9bdd16
-p flag misdocumented in telnetd(8)
...
PR: 4462
Submitted by: hfir@math.rochester.edu
1997-09-14 18:25:19 +00:00
wosch
07b6e5147d
spelling corrections.
...
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
dima
f73bfcf707
Do setlogin() before changing uid/gid, since
...
`at/batch' requires this.
Obtained from: me && OpenBSD
1997-09-08 23:39:48 +00:00
tg
cbe5b6046b
Hopefully better fix for logwtmp(): rename to a private
...
version ftpd_logwtmp().
1997-09-05 11:44:00 +00:00
tg
03ea6c5f62
logwtmp() prototype is in <libutil.h>.
1997-09-05 11:17:22 +00:00
davidn
b19c2363ef
Fix botch with escaped characters, go back to using cgetstr().
...
For escaped characters used in modem strings, use double-backslashes
in gettytab.
PR: 4370
1997-09-03 01:05:36 +00:00
davidn
7f8db7b2c0
Use cgetustr() since we handled special escapes ourselves.
...
Fix typo in escape parsing function.
PR: 4370
Submitted by: sumii@is.s.u-tokyo.ac.jp
1997-09-01 10:06:05 +00:00
joerg
916f1f14d7
Fix description of -t option.
...
PR: 3382
Submitted by: furuta@sra.co.jp (Atsushi Furuta)
1997-08-24 18:21:34 +00:00
steve
dcf5fb8bfc
Turn off hyphenation in this manpage so that .Xr macros, don't get
...
split between lines.
PR: bin/4080
1997-08-23 16:22:30 +00:00
jmg
5171ca500f
change -I/sys to -I${.CURDIR}/../../sys
1997-08-22 14:00:57 +00:00
nate
c14d07b51b
- In dlsym(), if the lookup fails using the original symbol, prepend an
...
underscore and try looking it up again. This is a non-issue if we
switch to ELF.
Reviewed by: sef, jdp
1997-08-19 23:33:45 +00:00
steve
35c7925e11
.Nm --> .Xr so that gettytab(5) is shown instead of gettytab 5.
...
PR: bin/4079
1997-08-17 16:36:41 +00:00
bde
90af8ead91
Makefile.dist is a non-bmaked version of Makefile. We don't want it.
1997-08-02 18:52:16 +00:00
bde
bf2a989070
This commit was generated by cvs2svn to compensate for changes in r27847,
...
which included commits to RCS files with non-trunk default branches.
1997-08-02 18:46:42 +00:00
bde
94b3962426
Import Lite2's src/libexec, except for makekey (which was spammed
...
by a repository copy from 1.1.5 and patched back to Lite1) and
rbootd/bootdir/SYSHPBSD (which is binary). All changed files have
already left the vendor branch.
1997-08-02 18:46:42 +00:00
jdp
77516da96f
Implement dlsym(RTLD_NEXT, symbol).
1997-08-02 04:56:44 +00:00
davidn
20490d1f1c
Make useage of hostname global variable consistent.
...
PR: 4135
Based on submitted patch by: blank@fox.uni-trier.de
1997-07-24 09:26:12 +00:00
wosch
7a6858efe0
Rshd print to much information if a user does not exists.
1997-07-18 21:04:19 +00:00
peter
1a608ac729
kill the undead
1997-07-13 14:26:00 +00:00
peter
0db0fcbdfd
.if exists(../eBones) tests the obj dir, not the source dir's existance.
...
The existance of a stale obj dir does not imply the source too.
1997-07-05 14:22:15 +00:00
steve
fb8554878f
Zap register keyword usage and convert: bcopy -> memmove, bzero -> memset,
...
index -> strchr, and rindex -> strrchr.
1997-06-29 19:50:26 +00:00
steve
7cf440d97b
Merge conflicts and make this compile -Wall clean.
1997-06-29 19:00:29 +00:00
steve
3be795b30f
This commit was generated by cvs2svn to compensate for changes in r27074,
...
which included commits to RCS files with non-trunk default branches.
1997-06-29 18:50:34 +00:00
steve
cdedd796f3
Import of NetBSD's rbootd version 19970629
1997-06-29 18:50:34 +00:00
alex
9dd7582389
Removed unused variables.
1997-06-27 21:51:59 +00:00
stark
dc23d6b6c3
Submitted by: Gene Stark and Robert Sexton (robert@kudra.com)
...
Added patches from Robert Sexton to eliminate case sensitivity of the
xtend command.
1997-06-24 03:52:15 +00:00
steve
9c6b7d527a
Show the real revision date and not the date that this
...
manpage is being viewed.
1997-06-23 04:03:49 +00:00
davidn
0a87e6b1af
Reset alarm before invoking ppplogin.
...
PR: 3733
Reviewed by:
Submitted by: kfurge@worldnet.att.net
Obtained from:
1997-06-03 12:56:47 +00:00
davidn
a75de9672e
login.group => login.conf.
...
PR: 3748
Reviewed by:
Submitted by:
Obtained from:
1997-06-02 21:03:20 +00:00
max
5c539b0f63
Typo fix.
...
PR: 3693
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-05-27 13:46:40 +00:00
danny
18e6b5eb02
Tell the chroot()ed user that "access restrictions apply".
1997-05-21 23:24:41 +00:00
wpaul
3ca7b407a7
Small tweak to the group parsing code to stop it from core dumping
...
on malformed /etc/group entries. This is a band-aid until I can pull
in the newer group parsing code from getgrent .
Pointed out by: branson@belmakor.hq.ferg.com (Branson Matheson)
1997-05-21 15:10:42 +00:00
dfr
e2207f5a2b
Changes to support the kernel linker:
...
Add a -Bforcedynamic option which generates a dynamic object even
if no shared libraries were given in the link.
Make RRS in text section warnings conditional on "-assert pure-text"
so that I can link non-PIC kernel modules without tons of link
errors. Changes to bsd.lib.mk to follow.
Fix a couple of bugs exposed by the fact that the kernel is not
linked at zero.
Reviewed by: jdp
1997-05-13 10:23:47 +00:00
phk
78cefb4e5b
Don't rely on stderr to report bad news.
1997-05-11 14:27:03 +00:00
davidn
64abf8d74d
Fix memory leak caused by not freeing memory returned by cgetstr()
...
calls. The cost is a little more up-front memory allocation, but the
effect seems minimal.
Problem noticed-by: bde
Added syslog at LOG_ERR when referencing an unknown gettytab entry
and for other cgetent() failues (circular reference et al).
To be merged into 2.2 after a few days testing.
1997-05-11 10:25:38 +00:00
davidn
5f5e8a9170
login_getclass() -> login_getpwclass().
1997-05-10 19:02:03 +00:00
jdp
edd3f7efb9
Fix a bug that caused the relocs for linker set members in shared
...
libraries to come out as 1-byte relocations instead of 4-byte
relocations.
Submitted by: Doug Rabson <dfr@nlsystems.com>
1997-04-30 05:18:08 +00:00
davidn
89f55d91d3
Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts for
...
definition of a system's virtual hosts.
1997-04-29 12:42:08 +00:00
davidn
3a87e49d08
YAMF2.2: Allow @group entries in /etc/ftpusers & /etc/ftpchroot to deny
...
and allow chroot access to entire groups.
1997-04-27 08:29:21 +00:00
davidn
32520b1285
Document internal ls, how to compile it in and what it changes wrt
...
anon ftp and chrooted users.
1997-04-26 12:23:51 +00:00
davidn
982f7101f4
Adds optional "internal ls" support for ftpd, by collecting
...
modules from src/bin/ls, and handling exec(_PATH_LS,..) as a
special case, very useful in an environment where many users
are given chroot access. "~/etc/{s}pwd.db" files are still
needed if uid/gid->user/group translation is desired.
To enable this it must be compiled with the make variable
FTP_INTERNAL_LS defined, either in /etc/make.conf or the
environment.
1997-04-26 12:12:10 +00:00
davidn
228be93117
Add basic login.conf (sans authentication) support.
1997-04-23 04:56:39 +00:00
davidn
94b672e041
Added login.conf support.
1997-04-23 03:06:47 +00:00
bde
8076d74711
Fixed `make depend' and related bogons. LDFLAGS was used for
...
ld-specific flags. LDFLAGS is really for ld-related flags for cc,
not for ld, and some flags, e.g., -Bshareable, mean completely
different things to cc and ld. Having the wrong things in LDFLAGS
also broke the standard ${PROG} target. This was kludged around
by using a special rule that depended on LDFLAGS being bogus.
Fixing `make depend' broke the special rule but fixed the standard
rule (except in the DESTDIR case, which was handled more strictly
here than elsewhere).
1997-04-16 11:31:32 +00:00
davidn
52eacdf9c6
Remove text about unsupported flags 'mdmbuf', 'local', 'crtscts' etc
...
that are in reality handled in gettytab.
Document the new 'dialin' and 'network' tty flags.
1997-04-13 21:29:50 +00:00
davidn
7b90f65553
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
...
Fixes name size limitation (was hardcoded to 8).
Closes PR#3258
1997-04-12 01:04:50 +00:00
mpp
4b0f10bd77
Ensure that the remote host name is Nul terminated.
...
Closes PR# 2589.
1997-04-08 20:36:36 +00:00