Commit Graph

31239 Commits

Author SHA1 Message Date
Warner Losh
8521ef096a Fix fencepost error in readlink; inspired by OpenBSD 1998-09-09 17:14:17 +00:00
Warner Losh
1508e89cc6 Use size of structure rather than hard coded 256 in readlink. This change
either came from OpenBSD, or was inspired by work done there.
1998-09-09 17:12:58 +00:00
Warner Losh
a4c0f3bc90 sprintf -> snprintf 1998-09-09 17:08:46 +00:00
Warner Losh
a556fde0bc Add alpha-*=freebsd* to configure 1998-09-09 17:07:36 +00:00
Warner Losh
74542ae78c Use readlink correctly 1998-09-09 17:05:54 +00:00
Dmitrij Tejblum
f0f066ec83 Fixed bug, caused threads to wait for locks which nobody hold.
Fixed sign extension bug, caused undefined behavior if FILE live in stack.
1998-09-09 16:50:33 +00:00
Bruce Evans
addb18b16d Don't refuse to pass the force and sync options to the kernel. The
kernel supports them, and the force option will be more important
when mounting of unclean ext2fs file systems is not permitted unless
it is forced.
1998-09-09 16:26:51 +00:00
David E. O'Brien
bc4d911b88 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
KATO Takenori
cab4769a94 Set the `pc98' string to the MACHINE if machdep.ispc98 != 0. 1998-09-09 14:58:30 +00:00
KATO Takenori
00d11a6a37 Sync with sys/i386/conf/majors.i386 revision 1.47. 1998-09-09 14:40:27 +00:00
KATO Takenori
2663a4af57 Sync with sys/i386/conf/files.i386 revision 1.202. 1998-09-09 14:39:56 +00:00
KATO Takenori
c792da10e3 Sync with sys/i386/conf/options.i386 revision 1.85. 1998-09-09 14:39:20 +00:00
Jordan K. Hubbard
2516ba970a Remove perl5 from list of ports to build now that it's in the base system. 1998-09-09 14:20:22 +00:00
Mark Murray
39ab139322 Minimalist fixes to make BMaked perl build. 1998-09-09 13:10:47 +00:00
Bruce Evans
05d46b3cd6 Don't forget to initialize the inode lock. This bug caused
surprisingly few problems.  Most fields were initialized to the
correct values by bzero(), but lk_prio was 0 instead of PINOD (=8),
the lk_wmsg was NULL instead of "ext2in", and lk_lockholder was 0
instead of -1.

Obtained from:	Lite2 via the -current ffs_vfsops.c
1998-09-09 13:09:24 +00:00
Bruce Evans
d6c54caabe Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants).
1998-09-09 12:22:17 +00:00
KATO Takenori
d7feb25bdf Change ${MACHINE} into ${MACHINE_ARCH} to support MACHINE=pc98. 1998-09-09 11:27:33 +00:00
KATO Takenori
d22114bfb8 Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:22:28 +00:00
KATO Takenori
c2c43bd135 Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98. 1998-09-09 11:13:55 +00:00
Martin Cracauer
270f65a70c Document why the library is still not being build as shared.
PR:		gnu/7811
1998-09-09 10:21:12 +00:00
Bruce Evans
90e137696c Fixed disordering and misformatting in previous commit.
Don't override correct default targets.

Don't use afterinstall for installing things; it is for fixups after
installing things.
1998-09-09 10:17:34 +00:00
Bruce Evans
def151a8fc Backed out rev.1.28. It was bogus because bsd.man.mk is only used
(and only usable) by other .mk files that have their own multiple
inclusion protection.
1998-09-09 10:12:07 +00:00
Bruce Evans
405b59bcb5 Turned on -Wformat -fformat-extensions. -fformat-extensions requires a
-current version of gcc.  Without it, -Wformat would complain about all
the nonstandard %[Dbrz] formats in the kernel.
1998-09-09 10:04:58 +00:00
John Birrell
c9db555954 Don't define RANLIBMAG if building an elf version of make. The RANLIBMAG
option lets make look inside archive libraries when determining if a
library is out-of-date. I don't think that make should look inside
files, so this fix effectively tells it not to. If the decision is
made (by someone else) that make _should_ be doing this, it will need
to be taught how to recognise elf archive libraries.

Problem noticed by: Joseph Koshy <jkoshy@freebsd.org>
1998-09-09 08:29:15 +00:00
Bruce Evans
355a2610a7 Don't use CTL_VFS at the wrong level. This caused loops in the sysctl
tree if CTL_VFS happened to get assigned as a type number to a vfs that
has some vfs sysctls.
1998-09-09 07:41:41 +00:00
Mark Murray
17168bf62e Bring in the Perl5 BMake files. This ends the easy stuff.
I'll be doiung the rest in stages.
1998-09-09 07:20:33 +00:00
Mark Murray
7744993bbc This commit was generated by cvs2svn to compensate for changes in r38980,
which included commits to RCS files with non-trunk default branches.
1998-09-09 07:00:04 +00:00
Mark Murray
ff6b7ba98e Initial import of Perl5. The king is dead; long live the king! 1998-09-09 07:00:04 +00:00
Mark Murray
bae7411889 Old Perl is leaving us. Goodbye, faithful friend. 1998-09-09 06:49:33 +00:00
John Birrell
2b0daddd6a Add the missing rerelease target back.
Reported by: Justin Gibbs.

Add the move-aout-libs upgrade target so that people who have already
gone elf can put their libraries through the mincer. Anyone who hasn't
deleted aout libraries from /usr/lib (but has done a make world putting
the new aout libs in /usr/lib/aout) will be asked for confirmation
to delete them one by one.
1998-09-09 06:07:32 +00:00
John Birrell
88d37d8d98 Add the missing rerelease target back.
Reported by: Justin Gibbs.
1998-09-09 06:03:51 +00:00
John Birrell
3a823f727e Add a move-aout-libs target to do just that. It takes the well known
library directories: /usr/lib /usr/lib/compat /usr/local/lib and
/usr/X11R6/lib and adds any other directories that ldconfig knows
about, then removes any that are already aout directories (that is,
with aout as a component of the path) and passes this directory
list to the move_aout_libs.sh script to do the hack (believe it,
it moves libraries that are in use) work.
1998-09-09 06:02:31 +00:00
Mark Murray
62dfd75aa2 Another place to set NOPERL. 1998-09-09 06:01:37 +00:00
Mark Murray
5850fb4408 Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.
1998-09-09 06:01:11 +00:00
John Birrell
6769808313 Add a note about the upgrade tool directory. 1998-09-09 05:48:51 +00:00
John Birrell
9bade6cc80 A script for use when upgrading an installed system from aout to
elf.
1998-09-09 05:28:18 +00:00
Joseph Koshy
8460e34a1b Fix spurious `free()' when -d g2 is enabled.
PR:		6790
Submitted by:	nsmart <njs3@doc.ic.ac.uk>
1998-09-09 05:15:38 +00:00
Daniel O'Callaghan
087572a597 Fix typos. 1998-09-09 05:09:55 +00:00
Jordan K. Hubbard
9e2594ff29 Some preliminary updates to the release notes, just as I think of
them.  By no means a comprehensive list of all the things which should
eventually go in here before 3.0-RELEASE, nor are the CAM issues
reflected here yet.
1998-09-09 03:37:00 +00:00
Joseph Koshy
1c79dc84fd Add missing comma.
PR:		7841
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp>
1998-09-09 03:07:03 +00:00
Justin T. Gibbs
e79363ba53 Reserve character major 104 for the CAM Transport Layer Services device. 1998-09-09 03:07:02 +00:00
Joseph Koshy
766b5bc0f7 Fix typo.
PR:		7809
Submitted by:	Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
1998-09-09 03:04:53 +00:00
Mike Smith
1717c90cc3 Terminate the defdrives array correctly. (Shame, Rod!)
Submitted by:	Scott Michel <scottm@cs.ucla.edu>
1998-09-09 02:22:28 +00:00
Joseph Koshy
3d2b8efaa1 Add $Id$, remove quoting for `...'.
Requested by: bde
1998-09-09 01:30:25 +00:00
John Polstra
cfa4d73988 Add a new library function getobjformat(). It checks all the
standard places ("/etc/objformat", ${OBJFORMAT}, argv) for an
indication of the user's preferred object file format.  This
consolidates some code that was starting to be duplicated in more
and more places.

Use the new function in ldconfig.

Note: I don't think that gcc should use getobjformat(), even though
it could.  The compiler should limit itself to functions that are
widespread, to ease porting and cross-compilation.
1998-09-09 01:21:25 +00:00
Brian Somers
7ac9884afe Initialise lcp::his_mru to the ``set mtu'' value if it's less
than DEF_MRU, allowing our interface mtu to be decreased
despite negotiation with the peer.
1998-09-09 00:03:09 +00:00
Bill Paul
9daef026b1 - If the OACTIVE flag is set on entry to xl_start(), check to see if the
transmitter is wedged. If so, try to unwedge it, process any descriptors
  that might need to be free()d, then proceed.

- Disable the 'background' autonegotiation performed during bootstrap.
  What happens currently is that the driver starts an autoneg session,
  the sets a timeout in the ifnet structure and returns. Later, when the
  timer expires, the watchdog routine calls the autoneg handler to check
  the results of the session. The problem with this is that the session
  may not complete until some point after we have started to mount NFS
  filesystems, which can cause the mounts to fail. This is especially
  troublesome if booting with an NFS rootfs: we need the interface up
  and running before reaching the mountroot() code.

  The default behavior now is to do the autoneg synchronously, i.e. wait
  5 seconds for the autoneg to complete before exiting the driver attach
  routine. People who want the old behavior can compile the driver with
  XL_BACKGROUND_AUTONEG #defined. This has no effect on autoneg sessions
  initiated by 'ifconfig xl0 media autoselect.'

  This slows the probe down a little, but it's either that or botching
  NFS mounts at bootup.

- If xl_setmode_mii() is called and there's an autoneg session in progress,
  cancel it, _then_ set the modes.
1998-09-08 23:42:10 +00:00
Søren Schmidt
eeded4d82e Add new atapi-cd driver that supports atapi CD-R/RW drives.
This is only a stop-gab solution to get atapi burner support into 3.0.
1998-09-08 20:57:47 +00:00
Søren Schmidt
1235adff33 Add 'blank' and 'nextwriteable' commands for atapi CD-R/RW support. 1998-09-08 20:51:24 +00:00
John Polstra
e17ade2b82 Add definitions for the ELF section attribute flags, SHF_*.
Submitted by:	Robert Nordier <rnordier@nordier.com>
1998-09-08 20:38:06 +00:00