Commit Graph

10743 Commits

Author SHA1 Message Date
Bruce Evans 2f1ba63ba8 Reviewed by:
Submitted by:
Obtained from:
1995-11-12 06:42:10 +00:00
Jordan K. Hubbard 0ad65298ab Bring my pkg_install improvements forward from 2.1. 1995-11-12 04:55:40 +00:00
Bruce Evans 99bb927c4e Added (null for the i386) conversions from ibcs2's bogus fcntl args
struct to the standard bogus fcntl args struct.
1995-11-12 04:42:58 +00:00
Bruce Evans c484c256a5 Updated machine-generated files. 1995-11-12 04:29:37 +00:00
Bruce Evans 93915a2ac4 Fixed the args list for mount(). We're not ready for the BSD4.4lite2/
NetBSD interface.

Increased the bogusness of the args list for mmap().  The args lists for
most of the memory mapping functions are bogus.  The args lists in
syscalls.master are a little better than the ones in the args structs
currently being used, but the improvement for mmap() changed the object
code and I don't want to worry about that now.

Increased the bogusness of the args list for fcntl.  BSD4.4lite2/NetBSD
uses `void *' instead of int for the third arg.  This has the advantage
of working when `void *'s are longer than ints, but requires extra bogus
casts that I hope to avoid.

Fixed the args list for uname.  `struct outsname' seems to be a typo,
not an old interface.

Added comments about bogus args lists for open, mount, msync, munmap,
mprotect, madvise, mincore, fcntl, semsys, msgsys and shmsys.
1995-11-12 04:24:53 +00:00
Jordan K. Hubbard 5b5222d0c0 Add verbosity to add in tracking a mystery sig-11 with this.. 1995-11-11 11:56:40 +00:00
Jordan K. Hubbard 5ea15b92f1 Fix some missing parameters to the anon ftp setup area. 1995-11-11 11:49:22 +00:00
Jordan K. Hubbard 89a437bf6a Various cosmetic tweaks. 1995-11-11 10:59:23 +00:00
Jordan K. Hubbard d8f51a5728 Write a quick help screen for this. Coranth seems to have an aversion
to writing help files.. :)
1995-11-11 10:51:07 +00:00
Bruce Evans 7147b19de5 Fixed the type of readv(). An args struct member name conflicted with the
machine-generated one in <sys/sysproto.h>.
1995-11-11 06:57:34 +00:00
Bruce Evans 82970b81a9 Fixed type of setsid(). It used used the bogus `getsid_args'. 1995-11-11 06:53:08 +00:00
Bruce Evans 9ed1bde79c Fixed type of obreak(). The args struct member name conflicted with
the (better) machine generated one in <sys/sysproto.h>.
1995-11-11 06:40:35 +00:00
Bruce Evans b2f9e8b1ee Removed unreachable code.
Changed `#if defined()' back to `#ifdef' to finish removing COMPAT_IBCS2.
1995-11-11 05:49:22 +00:00
Bruce Evans bbe3e1971f Cleaned up after moving the prototypes:
- collapsed #if-#elses that became null.
- removed dead comments.

Moved #defines that always have the same value to the tables.
Collapsed more #if-#elses that became null.  None are left.

Removed repetitive comments.
1995-11-11 05:10:48 +00:00
Bruce Evans dace5f55ca Removed unsed function dead_nullop().
Converted incomplete function declarations to prototypes.
1995-11-11 03:36:07 +00:00
Bruce Evans 0fe788e3e8 Fixed descriptions of ignpar and parmrk. 1995-11-11 03:31:13 +00:00
Bruce Evans cf7e5eab8b Fixed types of rtprio(), osetrlimit() and setrlimit(). The args struct
tag and/or member names conflicted with the machine generated ones in
<sys/sysproto.h>.
1995-11-11 01:48:17 +00:00
Bruce Evans 2635f86c68 Fixed types of ogethostid() and osethostid(). The args struct names
conflicted with the machine generated ones in <sys/sysproto.h>.

Fixed type of oquota().  It didn't even use an args struct.
1995-11-11 01:04:42 +00:00
Bruce Evans ceba6236e0 Fixed type of vfs_free_netcred().
Removed redundant declaration of insmntque().
1995-11-11 00:27:00 +00:00
Julian Elischer 35701152cc Obtained from: pope gregory and julius caesar
27c27
< 11/29 Thanksgiving Day (Last Thursday in November)
---
> 11/23 Thanksgiving Day (4th Thursday in November)

it's not that the date was wrong for this year (it was the wrong year..
it was that the ALGORYTHM was wrong..
very confusing for non americans wondering why americans were going to be
on holiday on the 23rd..
1995-11-11 00:12:47 +00:00
Bruce Evans 3c8e79dd2b Fixed type of sysctl_order_cmp().
KNFized sysctl_order_cmp().
Staticized definition of kern_sysctl() to match its declaration.
1995-11-11 00:09:21 +00:00
Joerg Wunsch ddae6790a3 Bump RELDATE to one more than the RELENG_2_1_0 branch, so one could
distinguish this from the version containing the NFSv3 code.
1995-11-10 21:52:59 +00:00
Peter Wemm 2646609bb7 ppp-2.2 doesn't have a RELNOTES file anymore, so the old one here was
rather out of date.. it even suggested that it was ppp-2.1.1 still :-)

I've selected some bits from the README files and pre-pended it so that
at least reading it tells you _something_ about the recent history.
1995-11-10 21:39:32 +00:00
Poul-Henning Kamp 69feb38841 Fix a minor buglet. 1995-11-10 16:22:41 +00:00
Jordan K. Hubbard a9ae218af3 Also set PKG_PATH when adding from media types other than FTP. 1995-11-10 15:10:07 +00:00
David Greenman 98ce50c997 Set B_BUSY on the private buffer to avoid a panic in biodone when the
I/O completes. Bug apparantly seen when attempting to format SCSI disks.

Submitted by:	Peter Dufault <dufault@hda.com>
1995-11-10 14:54:16 +00:00
Poul-Henning Kamp a36ec121e9 Fix a core-dump.
Submitted by:	Simon Marlow <simonm@dcs.gla.ac.uk>
1995-11-10 12:17:23 +00:00
Poul-Henning Kamp 0aee629503 convert more sysctl variables. 1995-11-10 10:14:55 +00:00
Poul-Henning Kamp 6ff1bbebdf convert more sysctl variables. 1995-11-10 09:58:53 +00:00
Poul-Henning Kamp 81c945d6ab convert more sysctl variables. 1995-11-10 09:53:50 +00:00
Dima Ruban 28b2e97b28 If root does not have a password, `init' should not ask to enter it.
otherwise it's not possible to get into single-user mode, if root
does not have password and console insecure.
1995-11-10 07:06:59 +00:00
Jordan K. Hubbard cf01259085 Leave hints for pkg_add so that it can do dependency over FTP. This
was formerly impossible due to the way pkg_add was insulated from where
a package actually came from.
1995-11-10 06:49:03 +00:00
Jordan K. Hubbard 56d73bb085 Tweaks to anon ftp setup.
Submitted by:	coranth
1995-11-10 04:43:47 +00:00
Justin T. Gibbs 81ea1e9986 Make lsdev eisaconf aware. 1995-11-10 01:33:51 +00:00
Justin T. Gibbs 41919f5e09 Modify the kdc_description for eisa0 to include the system board ID.
Add the mainboard_drv into the eisa driver linker set so that you can
compile eisa0 into your kernel without any other eisa devices.
1995-11-10 01:32:12 +00:00
Justin T. Gibbs e56e703606 Change ahb device line to eisaconf syntax. 1995-11-09 22:47:05 +00:00
Justin T. Gibbs 3501ce6d46 Convert Adaptec 1742 driver to new eisaconf interface. 1995-11-09 22:43:25 +00:00
Peter Wemm 5d0bad8280 Sync the public source with what I'm currently running.
Most of this is cleaning up, but there are some functional changes,
doc/comment improvements, error checking, gcc -Wall cleanups.  Input buffer
flushing is enabled now, although I'm still not quite certain it's right.
1995-11-09 21:53:48 +00:00
Poul-Henning Kamp fd24fbdf21 Clean up the ident style.
Remove the APM stuff
Add support for VA469

Submitted by: Janic.Thaillandier@ratp.fr
1995-11-09 20:44:36 +00:00
Poul-Henning Kamp 98163b98dc Start adding new style sysctl here too. 1995-11-09 20:23:09 +00:00
Poul-Henning Kamp b8da239623 Make the old compat functions use the sysctl front door, rather than
crashing through the walls.
This should save Peters blood pressure and netscapes uname call.
1995-11-09 20:22:12 +00:00
Poul-Henning Kamp a4cc272814 Add qsort prototype.
Add userland_sysctl prototype.
1995-11-09 20:20:03 +00:00
Jordan K. Hubbard a95f76aa8c Add: cd ${.CURDIR}/eBones/lib/libkrb && ${MAKE} beforeinstall
to includes target.  Now the world will build on a new 2.1 system again.
1995-11-09 09:58:17 +00:00
Bruce Evans 5739bf963a Introduced lkm_nullcmd(), which will be used instead of nosys() in
some places to fix type mismatches.

Added prototypes and bogus casts.
1995-11-09 09:43:32 +00:00
Bruce Evans 23085add93 Finished nuking enxio, enodev and enoioctl. 1995-11-09 09:23:05 +00:00
Bruce Evans fec5f38c65 Nuked some more bogus devswitch macros. The wcd lkm was broken. 1995-11-09 09:17:49 +00:00
Bruce Evans de3a4845ee Fixed the type of a timeout function and an interrupt mask variable. 1995-11-09 08:58:20 +00:00
Bruce Evans 0f445dae48 Fixed the types of the apm suspend/resume functions. 1995-11-09 08:57:10 +00:00
Bruce Evans b9286a3a0b ext2_inode_cnv.c:
Included <sys/vnode.h> and its prerequisite <sys/proc.h>, and cleaned
up includes.  The vop_t changes made the non-inclusion of vnode.h
fatal instead of just sloppy.

i386_bitops.h:
Changed `extern inline' to `static inline'.  `extern inline' is a
Linuxism that stops things from compiling without -O.  Fixed
idempotency identifier.

Misc:
Added prototypes.  Staticized some functions so that prototypes are
unnecessary.  Added casts.  Cleaned up includes.
1995-11-09 08:41:25 +00:00
Bruce Evans f57e65478d Introduced a type `vop_t' for vnode operation functions and used
it 1138 times (:-() in casts and a few more times in declarations.
This change is null for the i386.

The type has to be `typedef int vop_t(void *)' and not `typedef
int vop_t()' because `gcc -Wstrict-prototypes' warns about the
latter.  Since vnode op functions are called with args of different
(struct pointer) types, neither of these function types is any use
for type checking of the arg, so it would be preferable not to use
the complete function type, especially since using the complete
type requires adding 1138 casts to avoid compiler warnings and
another 40+ casts to reverse the function pointer conversions before
calling the functions.
1995-11-09 08:17:23 +00:00