jdp
680df75eef
Fix broken built-in ELF file handling, caused by missing prototypes
...
and use of off_t. Correct the types of Elf64_Addr and Elf64_Off.
1997-03-29 22:26:03 +00:00
wpaul
b2e5051d34
Fix for PR #3141 : check for NULL before strdup()ing pw->pw_class.
...
(I'm not sure why this happens, though I suspect it may be because
the server is configured with only passwd maps instead of both passwd
and master.passwd maps. This is allowed, but I think in this case
pw_class is left NULL, hence the problem.)
Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
1997-03-29 20:29:12 +00:00
mpp
3d2a63277b
The text describing exit values >1 was formatted incorrectly.
...
Obtained from: NetBSD-bugs PR# 3406
1997-03-29 20:01:59 +00:00
bde
4f000a95d2
Removed `#define KERNEL'. This was a hack-around for nfs.h being broken
...
in the Lite2 merge to not export some nfs constants. It started causing
warnings when I added a kernel-only #define for DIRBLKSIZ.
Removed `#define NFS'. This was an old, bad interface for telling
<sys/mount.h> to export nfs stuff.
1997-03-29 12:50:41 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
davidn
57689e09a5
Fix for logic in no-password accounts.
1997-03-27 10:09:09 +00:00
peter
bce2ebb937
Fix "-fstype local" that was broken by another bugfix in the Lite2 merge.
...
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3076
1997-03-27 02:36:26 +00:00
ache
5bd102ef98
Add ASCII collate mainly for fallback for EUC-type locales
1997-03-25 16:50:07 +00:00
ache
3d3110370b
Add fake codesets 3 & 4
...
Submitted by: junker@jazz.snu.ac.kr
1997-03-25 16:03:16 +00:00
wosch
6f2f806e06
Be tolerant to old uuencode programs which encode the ASCII NUL
...
character as character 32 (space) instead character 64 (`).
See also 'The UNIX-HATERS Handbook', page 82-83.
1997-03-25 14:31:31 +00:00
davidn
f257ef4b88
Don't bypass password prompt for root logins on insecure tty if
...
the root password is empty.
1997-03-25 05:15:04 +00:00
davidn
ce02f3ce02
strdup() value of term to correctly preserve contents.
...
Rearrange validation logic so that it works correctly when
compiled with kerberos support. Closes PR#3056.
1997-03-24 21:22:12 +00:00
ache
64374bd80f
Initialize RNG only once
...
Use srandomdev() now
1997-03-24 16:10:26 +00:00
ache
650d13ffa5
Remove libcurses, it is pure termcap application
1997-03-24 14:29:46 +00:00
imp
e5d10bdc2e
Buffer overflow from Keith Bostic.
...
Obtained from: BSDi by way of Keith Bostic
1997-03-24 05:51:59 +00:00
imp
2a37113faa
Use mkstemp rather than mktemp to prevent a small race.
...
OpenBSD has a similar code, but this was indepenent.
1997-03-24 05:50:27 +00:00
mpp
1e529d948f
Use the .Tn macro for a couple of generic FreeBSD references.
...
This has the desired side-effect of preventing a bad hyphenation
of the word FreeBSD in one place.
1997-03-24 01:15:16 +00:00
joerg
8e15480d49
Include `top'.
1997-03-23 18:59:47 +00:00
joerg
f3dd0ce6a0
This commit was generated by cvs2svn to compensate for changes in r24143,
...
which included commits to RCS files with non-trunk default branches.
1997-03-23 18:55:20 +00:00
joerg
fa71779225
This is the FreeBSD-specific files for top, plus the Makefile
...
that pulls all the files from contrib.
Obtained from: The ports collection (mostly).
1997-03-23 18:55:20 +00:00
mpp
ee6bebb346
Remove the text that says nroff and pr automatically disable
...
writing to the tty while they are running because they don't.
1997-03-22 17:19:32 +00:00
bde
d8c04b9e65
Don't generate invalid C++ code (for implicit conversion from `void *' in
...
assignment).
1997-03-22 01:48:17 +00:00
mpp
23312b97ed
I had to rename one additional file in the last file import, so
...
update this script to reflect that.
1997-03-20 23:34:11 +00:00
mpp
180a9eac68
The author picked up this file from FreeBSD, but gave it a different name
...
in file v3.22, so this one is going away.
1997-03-18 19:39:26 +00:00
mpp
c80207ab49
Merge to resolve conflicts with file 3.22 merge.
1997-03-18 19:37:41 +00:00
mpp
8bba93cbbd
This commit was generated by cvs2svn to compensate for changes in r23988,
...
which included commits to RCS files with non-trunk default branches.
1997-03-18 18:00:03 +00:00
mpp
12c550bd9f
Upgrade to file version 3.22.
...
Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
1997-03-18 18:00:03 +00:00
davidn
1961b381e0
Submitted by: Paul Traina <root@shockwave.com> (partially)
...
Cleanup of #ifdef's for LOGIN_CAP.
Fixed bug in empty shell (closes PR#2550).
Refused root logins now displays standard "Login incorrect" and
exhibits identical backoff behaviour to a failed login.
Cleaned up logging of refused logins.
Use #defines for login retries and backoff. Also implemented
definable variables if LOGIN_CAP is defined, with
"login-retries" and "login-backoff" as capabilities
in the default class (closes PR#2805).
TERM from previous environment is no longer truncated.
1997-03-18 16:27:12 +00:00
ache
e528107672
Skip \r character while printing Plan/etc. text files, it allows to
...
handle \r\n and \n\r files properly.
Previous variant put ^M for \r\n and ^M\n for \n\r
1997-03-17 17:07:39 +00:00
scrappy
3e65976742
Slight visual formatting change to the output so that:
...
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr w0 w1 in sy cs us sy id
1 0 04135184 6016 180 2 1 0 158 135 10 0 386 1820 77 20 6 74
looks like:
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr w0 w1 in sy cs us sy id
1 0 0 4135188 6016 180 2 1 0 158 135 10 0 387 1821 77 20 6 74
1997-03-16 23:11:07 +00:00
joerg
5f33cfa082
Fix a security problem where the ktrace.out file could have been written
...
over a file owned by someone else.
Pointed out by: wosch
Reviewed by: sef, imp, proff@suburbia.net , bde
1997-03-15 10:39:12 +00:00
ache
bcfbb2877e
Update Korean locale
...
Should go into 2.2
1997-03-13 07:51:43 +00:00
mpp
c8be687959
Add a missing '\' to some text.
...
Obtained from: NetBSD-bugs mailing list PR# 3321
1997-03-12 16:05:41 +00:00
jmg
000a4351d9
fix a bug in processing of FTP_TIMEOUT environment variable.
...
Closes PR#2947
Submitted-by: Peter Childs <pjchilds@imforei.apana.org.au>
1997-03-11 15:13:28 +00:00
peter
eb462efd5a
Cope with the possibility of __FreeBSD__ = 3
1997-03-11 14:49:51 +00:00
peter
9be41f6b6a
Merge from Lite2
1997-03-11 14:48:14 +00:00
peter
8e1afa3c43
Include unistd.h for new location of getopt() prototypes
1997-03-11 14:44:05 +00:00
peter
73cb20dcb2
Include unistd.h for new location of getopt prototype
1997-03-11 14:41:52 +00:00
peter
f9d47a294d
Include unistd.h for getopt() prototype after Lite2 merge
1997-03-11 14:40:40 +00:00
ache
25a7568187
Fix srandom arg type according to Lite2
1997-03-11 14:06:52 +00:00
peter
cfb813cdf2
Merge from Lite2 - use new getvfsbyname() and related changes.
...
understand whiteouts (FTS_W from fts()).
1997-03-11 13:48:37 +00:00
peter
c399e58e97
Merge from Lite2 (note: needs checking by somebody who understands join)
1997-03-11 13:45:59 +00:00
peter
deba7db48c
Merge from Lite2
1997-03-11 13:43:33 +00:00
peter
dc74a95b3c
This commit was generated by cvs2svn to compensate for changes in r23690,
...
which included commits to RCS files with non-trunk default branches.
1997-03-11 13:08:12 +00:00
peter
297505f8fa
Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.
1997-03-11 13:08:12 +00:00
ache
e7a6197177
Add <ss> and ss ordering
1997-03-10 21:59:53 +00:00
joerg
09f1f2a58b
Fix a gross bug in the ! operator optimization code. The following
...
kind of expressions caused a dereferencation of an uninitialized malloc
area, yielding wrong expression evaluation at best, and core dumps at
worst (malloc.conf -> AJ):
find ... ! \( expr1 ! expr2 \) ...
1997-03-10 19:20:39 +00:00
ache
a340e72bff
Add ^ getpid() for better srandom results
1997-03-10 07:46:03 +00:00
wosch
154b7d3e6c
Add reference to `PMake - A Tutorial'
1997-03-09 15:51:07 +00:00
bde
c98bb18e27
Don't use a dot in a chown command. In fact, don't use any commands
...
except `install' at install time. Don't build things at install time.
Don't hide the build steps using @. Install with mode ${NOBINMODE}
instead of 444.
Poor source layout made this harder than it should have been. E.g.,
a suffix rule can't be used because of the subdirectories, and a
new makefile per subdirectory (i.e.m per data file) would be excessive.
See /usr/src/usr.bin/mklocale for a better organisation.
1997-03-09 06:08:22 +00:00