Commit Graph

2806 Commits

Author SHA1 Message Date
Garrett Wollman
8e2331ca34 Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,
endvfsent, vfsisloadable, vfsload.
Someday these will even be documented.
1994-09-22 01:07:37 +00:00
Garrett Wollman
dff55bb5c2 mount.h: Declare getvfs* functions from libc.
vfs_init.c: Fix fs_sysctl() so that getvfs* functions actually work.
1994-09-22 01:05:09 +00:00
Garrett Wollman
4b1e44f14a Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more
work; ditto NFS and it's even more work.)
1994-09-21 23:27:16 +00:00
Garrett Wollman
67bfdf835b Fix a few niggling little bugs:
- set args->lkm_offset correctly so that VFS modules can be unloaded
- initialize _fs_vfsops.vfc_refcount correctly so that VFS modules can
  be unloaded
- include kernel.h in a few placves to get the correct definition of DATA_SET
1994-09-21 23:22:52 +00:00
Bruce Evans
0e4885ff09 Remove bogus cast that was introduced in the previous commit. 1994-09-21 22:34:38 +00:00
Bruce Evans
9fb420314e Remove redundant declarations that were added in the previous commit. 1994-09-21 22:31:01 +00:00
Bruce Evans
f6d370a798 Fix the consistent mistranslation of Linux's get_fs_word() and
put_fs_word() to fuword() and suword().  Linux words are 16 bits
but BSD words are 32-bits, at least on vax's.  Writing a too-large
word trashed the neighbouring short word.

Bruce
1994-09-21 22:22:48 +00:00
Bruce Evans
ccadde2151 Fix compiler warnings. 1994-09-21 21:58:39 +00:00
Andrey A. Chernov
24891fb1df Make ls ctype-aware 1994-09-21 20:23:07 +00:00
David Greenman
36317691a4 #if 0'd evil dynamic fifo trigger level adjustment; it just bit me and
a couple of other people again.
1994-09-21 19:39:25 +00:00
David Greenman
354c733261 From 1.1.5:
>date: 1994/05/27 01:09:16;  author: ache;  state: Exp;  lines: +3 -3
>Russian keymap: Ctrl-Alt-Del with NumLock on fixed
1994-09-21 18:43:08 +00:00
David Greenman
11fe0935dd From 1.1.5:
>date: 1994/06/15 14:35:30;  author: paul;  state: Exp;  lines: +3 -3
>CHanged MAXMEM to ISMAXMEM for safety
1994-09-21 18:33:23 +00:00
David Greenman
868424648b Fixed up a couple of comments. 1994-09-21 18:17:56 +00:00
Andrey A. Chernov
b3673749c7 Add BINDIR=/usr/sbin for install, fails in other case 1994-09-21 18:12:10 +00:00
Andrey A. Chernov
3724878728 Add BINDIR=/usr/sbin for install, fails in other case
Remove -g from CFLAGS
1994-09-21 18:11:56 +00:00
Poul-Henning Kamp
caabd87d0a The next batch of refinements. Now it no longer needs to call on ed(1) to
fix our files, it has a builtin "diff -n" editor.
1994-09-21 04:38:48 +00:00
Garrett Wollman
1aa57be361 Make it easier to create filesystem LKMs by doing most of the
work in the Makefile.  Just define VFS_LKM and you're off!
1994-09-21 03:49:59 +00:00
Garrett Wollman
c901836c14 Implemented loadable VFS modules, and made most existing filesystems
loadable.  (NFS is a notable exception.)
1994-09-21 03:47:43 +00:00
Jordan K. Hubbard
84cc2dc332 Add entry for transputer (cdev 8).
Reviewed by:	jkh
Submitted by:	luigi
1994-09-21 01:33:00 +00:00
Jordan K. Hubbard
db814a26b3 Add entries for transputer driver.
Reviewed by:	jkh
Submitted by:	luigi
1994-09-21 01:30:15 +00:00
Jordan K. Hubbard
27552c6f58 Add the transputer driver from Christoph Niemann, Luigi Rizzo and
Lorenzo Vicisano
Reviewed by:	jkh
Submitted by:	luigi
1994-09-21 01:29:41 +00:00
Garrett Wollman
f274239ba0 Documented YP functionality, part II. 1994-09-20 22:44:37 +00:00
Bruce Evans
8793135f2d Don't provide bogus source operands in some asms. This probably shouldn't
matter, but similar bogusness in npx.c causes compiling without -O to fail.

Use __volatile in all asms.

Parenthesize macro args.

Change the names of the macros to avoid namespace pollution.

Remove unnecessary "#ifdef __i386__".

Sort #defines.

Add comments.
1994-09-20 22:26:37 +00:00
Adam David
f89971dfe7 Better documentation, 1ms calibration, default 5 seconds BOOTWAIT
Reviewed by:	adam
Submitted by:	rgrimes
1994-09-20 22:25:00 +00:00
Bruce Evans
2c5bafb1f8 Parenthesize macro args.
Comment #endif's.
1994-09-20 22:24:26 +00:00
Bruce Evans
00f21b4680 Don't build profiled library. 1994-09-20 22:03:09 +00:00
Garrett Wollman
6af9798fed Document YP support. 1994-09-20 22:02:20 +00:00
Garrett Wollman
9486c394b4 My implementation of YP group file support, modeled after the
password file support done yesterday.
1994-09-20 21:43:27 +00:00
Garrett Wollman
468bb86a7d Second half of YP security hole fix. Needs updated password
database in order to operate.
1994-09-20 21:42:12 +00:00
Garrett Wollman
ab5f8d28a4 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
Bruce Evans
38a03467df 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
Bruce Evans
7fecb8e845 Don't lose the RTC interrupt in resettodr(). 1994-09-20 21:20:46 +00:00
David Greenman
db3170abc8 Sorted. 1994-09-20 15:55:09 +00:00
David Greenman
348c7a1250 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
Andrey A. Chernov
edee6d3816 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
Poul-Henning Kamp
c4278e8b60 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
Poul-Henning Kamp
67a3d3a8d3 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
Poul-Henning Kamp
fa63aa6464 A bunch of improvements. Still far to go. 1994-09-20 07:13:39 +00:00
Poul-Henning Kamp
9e6f6868ff 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
Poul-Henning Kamp
3a15523260 /home/phk/jg 1994-09-20 06:28:16 +00:00
Poul-Henning Kamp
d4daf998ed 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
Bruce Evans
1819efa6e7 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
Bruce Evans
0b53fbe8da 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
Bruce Evans
254b131faa Fix the order of includes (*.mk must be included after *.inc). 1994-09-20 05:25:38 +00:00
Bruce Evans
f44ca047d4 Add dependency for -lcompat. 1994-09-20 05:17:50 +00:00
Bruce Evans
2b3d0249bd Remove the alias splnone() for spl0(). It was used only once. 1994-09-20 05:07:32 +00:00
Garrett Wollman
d5b7518d9c 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
Garrett Wollman
28ca30918a 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
Garrett Wollman
6913240fbc 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
Andrey A. Chernov
e79033e4cf resettodr() now exists, enable it 1994-09-20 00:32:40 +00:00