Commit Graph

2899 Commits

Author SHA1 Message Date
bde
6cd258e721 Don't build profiled library. 1994-09-20 22:03:09 +00:00
wollman
1a7a5b2188 Document YP support. 1994-09-20 22:02:20 +00:00
wollman
ebfe3ce6c7 My implementation of YP group file support, modeled after the
password file support done yesterday.
1994-09-20 21:43:27 +00:00
wollman
d7672fbe55 Second half of YP security hole fix. Needs updated password
database in order to operate.
1994-09-20 21:42:12 +00:00
wollman
45c19324be Fix security hole in YP password support, which wouldmake +user entries
act like + entries in some cases.  Requires support in libc from next
commit.
1994-09-20 21:40:12 +00:00
bde
8c3a24d674 Don't supply the `usermode' arg to softclock(). The 2.0 softclock() doesn't
take an arg.
1994-09-20 21:35:49 +00:00
bde
04ba736b88 Don't lose the RTC interrupt in resettodr(). 1994-09-20 21:20:46 +00:00
dg
d21f253436 Sorted. 1994-09-20 15:55:09 +00:00
dg
7a0e318154 Fixed bug where /etc/ftpusers was ineffective. Caused by the wrong
pointer being passed to strcmp(). Bug noticed by Matthew Green.
1994-09-20 15:53:30 +00:00
ache
3704208ad6 Make talk ctype-aware, handle controns as tcsh does, use human-oriented
scroll, most of changes from 1.x
1994-09-20 08:07:52 +00:00
phk
61ca3e5cab fix ln to accept -f again. Thanks Bruce. Seems that Joe Grosch isn't
quite as safe as I thought.  I will have to look much closer on his
patches.  Damn.
1994-09-20 07:24:51 +00:00
phk
0969323e72 Applied patch to make -Wall and -Dlint shut up.
Reviewed by:	phk
Submitted by:	Josef Grosch <joeg@gagme.wwa.com>
1994-09-20 07:18:04 +00:00
phk
57f7972531 A bunch of improvements. Still far to go. 1994-09-20 07:13:39 +00:00
phk
936982de13 The former patch to sync.c was short-lived. Bruce pointed out that
"Now it is has 2 portability bugs, which is a lot for 5 lines of working code"
1994-09-20 07:02:35 +00:00
phk
2c9f4788e2 /home/phk/jg 1994-09-20 06:28:16 +00:00
phk
1da6fa08f8 Applied patch to make -Wall and -Dlint shut up.
Reviewed by:	phk
Submitted by:	Josef Grosch <joeg@gagme.wwa.com>
1994-09-20 06:24:56 +00:00
bde
55c056a942 Use `1' for a boolean value instead of something irrelevant (MNT_WAIT)
that happens to be nonzero.
1994-09-20 05:53:24 +00:00
bde
04236ea592 Don't use SIG_DFL or SIG_IGN for case label expressions. ANSI requires
such expressions to have integral type.  "gcc -ansi -pedantic -W..."
fails to diagnose this constraint error.
1994-09-20 05:42:46 +00:00
bde
c8dd829ea8 Fix the order of includes (*.mk must be included after *.inc). 1994-09-20 05:25:38 +00:00
bde
29f8ee7cc7 Add dependency for -lcompat. 1994-09-20 05:17:50 +00:00
bde
4361273583 Remove the alias splnone() for spl0(). It was used only once. 1994-09-20 05:07:32 +00:00
wollman
491552a4bd Re-implement YP password file support from scratch. This implementation
correctly handles +user entries and + entries with local overrides.
1994-09-20 01:23:45 +00:00
wollman
c9c7dd75b7 Maintain pw_fields, and output same to password database.
!!!!!!!!
NB
!!!!!!!!
You MUST pwd_mkdb /etc/master.passwd before attempting to use the new
libc, or things may go wrong.  (I doubt anything actually /will/ go
wrong, but the actual behavior is undefined.  YOU HAVE BEEN WARNED.)
The database format is, however, backwards-compatible, so old executables
will still work.
1994-09-20 01:15:08 +00:00
wollman
b511765a26 Add a new field to the passwd structure, indicating which of the fields have
something in them, and which ones were left blank.  This will be used
for YP support in a few minutes, and for user login classes if anyone cares
to implement them.
1994-09-20 01:12:04 +00:00
ache
1e403a60b2 resettodr() now exists, enable it 1994-09-20 00:32:40 +00:00
ache
8f3cc72a79 resettodr() implemented, inittodr() fixed
Submitted by: me & chris@gnome.co.uk
1994-09-20 00:31:07 +00:00
ache
a08af613f2 Correction for new sysctl interface 1994-09-19 23:18:41 +00:00
ache
e2ce74f187 Remove warning about adjkerntz /var/run file 1994-09-19 23:13:37 +00:00
ache
3eb6939663 rewritted to use sysctl, no more /var/run/.adjkerntz now 1994-09-19 23:09:34 +00:00
wollman
8ff8c03fd2 Put back missing .text before swi_net. This could probably be made faster;
I invite Bruce to look at it.
1994-09-19 22:24:31 +00:00
ache
baa424eb82 Function in this module bloodly called 'gethostname' and linked
with all pgms, you can imagine results!
Change 'gethostname' -> 'ntp_gettime', I don't know what real name
must be here but try to guess.
1994-09-19 22:04:28 +00:00
wollman
a414f736a7 For Bruce: -DNO_SHARED_LIBCC_INT reverts back to static libcc_int.
This makes the back end run faster, but at the cost of speed.
1994-09-19 21:37:50 +00:00
wollman
ad23f0f95a Get rid of the files that now live in src/share/examples/etc, and update
Makefile to install them from there rather than from here.
1994-09-19 21:30:29 +00:00
wollman
b269db3788 Install /etc from the same source as /usr/share/examples/etc (mostly). 1994-09-19 21:28:28 +00:00
ache
297cf34bad oget/sethostname: add missing argument to kern_sysctl
Reviewed by:
Submitted by:
Obtained from:
1994-09-19 21:15:14 +00:00
ache
a2b49a847c sysctl incorrectly check name[2] instead of name[1] 1994-09-19 21:07:00 +00:00
adam
ac3a51c29f More reasonable example of BOOTWAIT parameter
Added comment about multiplication factor
1994-09-19 20:10:10 +00:00
adam
b804a3e757 Default wait approx 10 seconds for keypress during boot
Added comment about multiplication factor
1994-09-19 19:54:49 +00:00
csgr
20327548ff More elegant fix for short settings.
(Our existing fixes already plugged the security holes involved.)
Submitted by:	Geoff Rehmet after consultation with David Burren
1994-09-19 19:26:39 +00:00
dfr
355abe59df Changed some NetBSD backwards compatibility code which was confusing mountd. 1994-09-19 19:24:44 +00:00
dfr
dd8c8f9320 Added support for MSDOS file systems. 1994-09-19 18:47:12 +00:00
phk
9994261f57 removed usr/include/md 1994-09-19 17:47:22 +00:00
ache
f3cb7fd780 Add vm/vm.h for complete sysctl type.
Remove wrong time declaration, already have correct in kernel.h
(kern_ntptime not compiled without this changes)
1994-09-19 17:39:21 +00:00
dfr
646e433a5c Reversed last revision which was a mistake. 1994-09-19 15:49:46 +00:00
dfr
ef1f7f5f60 Added MSDOSFS option. 1994-09-19 15:45:02 +00:00
dfr
7efbb964fd Added msdosfs.
Obtained from: NetBSD
1994-09-19 15:41:57 +00:00
dfr
7a224749be Added mount_msdos.
Obtained from: NetBSD
1994-09-19 15:30:36 +00:00
ache
1ff9a5aeb0 bugfix: change gidset[] type from int to gid_t 1994-09-19 13:52:38 +00:00
dg
227775e50c Declared msginfo, shminfo, and seminfo structs. 1994-09-19 10:24:38 +00:00
pst
7963d9a803 Add support for '-k' option to print file allocation space in 'K' instead of
system blocks.

This is semi-original code, not the same way this crufty option was handled
in FreeBSD 1.x.
1994-09-19 07:49:56 +00:00