Commit Graph

7044 Commits

Author SHA1 Message Date
Bruce Evans e9f80c0133 Make untested NS code at least compile so that it doesn't break LINT. A
struct member had an old name.
1995-03-25 22:06:27 +00:00
Bruce Evans f0d47944e2 Forward-declare kern_devconf for use in a prototype. Some drivers
include <pci/pcivar.h> without including <sys/devconf.h> and other
drivers include <pci/pcivar.h> before including <sys/devconf.h> if
certain identifiers are defined.

The devconf headers have convoluted interdependencies.  <sys/devconf.h>
includes <machine/devconf.h> which includes <pci/pcivar.h>.  Most
drivers include <sys/devconf.h> so even isa drivers depend on
<pci/pcivar.h>.  For similar reasons, most drivers depend on another
pci header, on an isa header and on two scsi headers.
1995-03-25 21:10:38 +00:00
Joerg Wunsch de8020d29b Call open(2) and mkdir(2) with 0666/0777 as the `mode' argument (as
opposed to 0644 or 0755).  It's finally still masked by the process'
umask(2), and it does not make sense to restrict it further than that.

This (especially for mkdir(2)) was causing major headaches for the CVS
tree, since a member of group cvs was later not able to get cvs
checkout permission for the mirrored tree failed to write the lock file).
1995-03-25 20:46:51 +00:00
Joerg Wunsch b2b31a1c92 Make finger(1) accept "cua" to be also a tty, and use the suffix instead
of the very meaningful string "cu" to describe the tty.
1995-03-25 18:15:40 +00:00
Jordan K. Hubbard 3268de551f Add gil.physik.rwth-aachen.de to mirrors 1995-03-25 18:15:12 +00:00
Bruce Evans eb2cb5e165 Fix the path to scdreg.h.
Fix implicit declarations.
1995-03-25 18:14:37 +00:00
Joerg Wunsch fee6e7cc49 Added a man page for the ctm(1) command, as well as a format description
for the CTM deltas.

Largely based on Poul-Henning's README, and the source code.
1995-03-25 18:14:26 +00:00
Bruce Evans feae7fb7d3 Add -Wimplicit to ${CWARNFLAGS} so that implicitly declared functions
don't come back.  There are still a few for unsupported network protocols.
1995-03-25 17:50:19 +00:00
David Greenman 6c534ad868 Fix logic bug I just introduced with the flags to msync(). 1995-03-25 17:44:03 +00:00
David Greenman 492d73bd99 Pass syncio flag to vm_object_clean(). It remains unimplemented, however. 1995-03-25 17:36:57 +00:00
David Greenman 1e62bc6357 Disallow both MS_ASYNC and MS_INVALIDATE flags being set at the same time
in msync().
1995-03-25 17:36:00 +00:00
David Greenman cdfc91f0da Fixed msync() prototype. 1995-03-25 17:28:30 +00:00
David Greenman eb0bc8709b Updated manual page to indicate flags argument; added return value and
errors section.
1995-03-25 17:24:47 +00:00
Jordan K. Hubbard 91f88b9615 Get PERL found in any of its obvious locations. 1995-03-25 17:14:11 +00:00
David Greenman e6c6af1149 Added "flags" argument to msync, and implemented MS_ASYNC and MS_INVALIDATE.
The MS_ASYNC flag doesn't current work, and MS_INVALIDATE will only toss out
the pages in the address space (not all pages in the shadow chain).
1995-03-25 16:55:46 +00:00
David Greenman bc4c84cf7e Added a third "flags" argument to msync() ...as other systems have. 1995-03-25 16:52:24 +00:00
David Greenman f2b247fab8 Added flags definitions for msync(). 1995-03-25 16:43:42 +00:00
Bruce Evans efeca6c1f3 Don't attempt to fix the mode of mus - mus might be read-only. Just
interpret it.  I've preserved the bugs that perl must be installed
to build part of perl and that it must be installed in the wrong place
(no ${DESTDIR}).
1995-03-25 15:43:57 +00:00
Joerg Wunsch bcd20d16ce Include ``toor'' in the list of forbidden ftp users, just in case someone
is providing this user with a password.

Pointed out by: charly@Fachschaften.TU-Muenchen.DE
1995-03-25 13:11:40 +00:00
Joerg Wunsch d92d2e1236 Update the kernel debugging FAQ to match the new (k)gdb and new DDB
symbol behaviour.
1995-03-25 12:35:00 +00:00
Bruce Evans a7d783dddb Add more compatibility cruft:
- ignore the partition table if it is identical with the bogus one in
  /usr/src/sys/i386/boot/biosboot/start.S.  Honoring the bogus size
  field was fatal.  The error is detected but other compatibilty
  cruft weakens the error handling too much for this case.
- weaken the partition entry checking to allow the following treatments
  of C/H/S addresses when C should be >= 1024:
    (1) allow C = 1023, H = max, S = max.
    (2) allow C to be correct modulo 1024.
  Other compatibilty cruft weakens the error handling to allow all
  C/H/S addresses, but there too many errors were reported.

Improve error messages:
- print C/H/S addresses if relevant.
- distinguish primary partition table from extended partition tables.
- don't use diskerr() except for i/o errors.
1995-03-25 12:07:31 +00:00
David Greenman 763652056a Removed an old VMIO #ifdef and made the type of b_pages 'struct vm_page *'. 1995-03-25 08:55:02 +00:00
David Greenman 7fd9a8b12f Implemented cnt.v_reactivated and moved vm_page_activate() routine to
before vm_page_deactivate().
1995-03-25 08:47:35 +00:00
David Greenman ff93e578a0 Removed object lookup/hit count and changed the order of things a little. 1995-03-25 08:44:48 +00:00
David Greenman 260295f979 Removed (almost) meaningless "object cache lookups/hits" statistic. In
our framework, these numbers will usually be nearly the same, and not
because of any sort of high 'hit rate'.
1995-03-25 08:42:14 +00:00
Poul-Henning Kamp e169c6670b scandir(3) didn't transfer d_type, and d_ino is called d_fileno now. 1995-03-25 07:39:02 +00:00
David Greenman 1d93250fd2 Removed cnt.v_nzfod...we don't support it in the kernel. 1995-03-25 06:39:47 +00:00
David Greenman 42d825e109 Removed printing of cnt.v_nzfod: we don't implement this in the kernel. 1995-03-25 06:11:43 +00:00
David Greenman a34297995a Removed cnt.v_nzfod: In our current scheme of things it is not possible
to accurately track this. It isn't an indicator of resource consumption
anyway.
Removed cnt.v_kernel_pages: We don't implement this and doing so accurately
would be very difficult (and ambiguous - since process pages are often
double mapped in the kernel and the process address spaces).
1995-03-25 06:09:33 +00:00
Steven Wallace c27bd0ad13 Do a printf("\n") after all conditional printfs have been done so that
a newline is always done.  Remove \n's from last conditonal printfs.
1995-03-25 05:54:33 +00:00
Poul-Henning Kamp fdf36512dd mkdir /usr/src if it doesn't exist. 1995-03-25 05:03:40 +00:00
Jordan K. Hubbard cbec1346b0 Add sysconfig to list of cpio floppy targets. 1995-03-25 04:53:39 +00:00
David Greenman 3ed8a40336 Use 'p' rather than 'curproc' when appropriate. 1995-03-25 01:34:21 +00:00
David Greenman b35ba931bd Use NDINIT macro to initialize fields for namei. 1995-03-25 01:20:38 +00:00
Bill Paul f05daed916 Add calls to endgrent() and endnetgrent() to the end of _createcaches(). 1995-03-25 00:30:35 +00:00
Poul-Henning Kamp f551164802 Make sure exit() is sensible; 1995-03-24 21:36:32 +00:00
Poul-Henning Kamp 15a9992ca2 Modes on dirs were decimal by mistake.
Submitted by:	joerg
1995-03-24 21:33:20 +00:00
Bill Paul 06643071e5 Add more sanity checks. *Lots* of sanity checks. Huge tracts of sanity checks.
Make sure all arguments to the yp_*() functions are valid before sending
them off to the server. This is somewhat distressing: once again my
FreeBSD box brought down my entire network because of NIS bogosities.
I *think* the poor argument checking in this module is the cause, but
I still haven't been able to reproduce the exact series of events that
lead to the ypserv crashes. For now I've resorted to sticking my FreeBSD
box in a seprate domain. Hopefully a weekend of heavy testing will
uncover the problem.
1995-03-24 21:21:37 +00:00
Bill Paul 0ffe27f544 Make sanity checks saner: don't let setnetgrent() or innetgr() swallow
any bogus arguments.
1995-03-24 20:42:28 +00:00
Garrett Wollman a29ae2a103 Don't delete clones if they are PINNED. 1995-03-24 20:05:28 +00:00
Jordan K. Hubbard d8274511ca If mus script not executable, fix. 1995-03-24 19:22:33 +00:00
Andrey A. Chernov 09237e9da4 Fix -C arg overriding when -T file used 1995-03-24 19:01:25 +00:00
Jordan K. Hubbard 0fb7352341 Bring in the new non-GPL'd driver from Mikael Hybsch. This version is
NOT derived from the Linux code and is thus not GPL'd.  It is the author's
express wish that the GPL copyrighted version be removed and this BSD copyright
version take its place.  Considering our own stance on this, I'm certainly
not going to argue!  [Note to NetBSD folks:  You're free to grab it now :-)]
Submitted by:	Mikael Hybsch <micke@dynas.se>
1995-03-24 18:33:02 +00:00
Jordan K. Hubbard d9d537017f scd driver now lives in non-GPL land. 1995-03-24 18:30:11 +00:00
Andrey A. Chernov ed42ac9324 Get rid of strtok(), it is depricated inside libs 1995-03-24 17:59:48 +00:00
Andrey A. Chernov c90720154b Get rid of strtok(), it is depricated in libs 1995-03-24 17:40:54 +00:00
Andrey A. Chernov c8448f10eb Change strtok() to strsep(), strtok() usage is depricated
in libraries.
1995-03-24 17:27:22 +00:00
Andrey A. Chernov bee5b8efe8 Change strtok() to strsep(), using strtok() can cause memory corruption
if user program use it too in the same time.
1995-03-24 16:33:44 +00:00
Jordan K. Hubbard 72a3d44887 Add what looks to be the right fix to this bogus code. 1995-03-24 16:07:09 +00:00
Andrey A. Chernov 3330823cc3 Sicnce this code shares the same fragment as gethostnamaddr:
Change strtok() to strsep(), cause memory corruption for all
programs which use strtok() too in the same time.
Fix potential NULL reference, depends of /etc/hosts.conf format
Fix the bug when service name fetched always from beginning of the line,
not from parsed token.
1995-03-24 15:51:30 +00:00