Commit Graph

4969 Commits

Author SHA1 Message Date
Bruce Evans
0c4fe20e8a Keep track of the devconf state. 1994-12-27 13:07:07 +00:00
Bruce Evans
a176f73d19 Fix panic for `cp -p' by root to an msdos file system. Improve handling
of attributes so that `cp -p' to an msdos file system can succeed under
favourable circumstances (no uid or gid changes and no nonzero flags
except SF_ARCHIVED).

msdosfs_vnops.c:
The in-core inode flags were confused with the on-disk inode flags, so
chflags() clobbered the lock flag and caused a panic.

denode.h, msdosfs_denode.c, msdosfs_vnops.c:
Support the msdosfs archive attibute (ATTR_ARCHIVE) by mapping it to
the complement of the SF_ARCHIVED flag and setting the ATTR_ARCHIVE
bit when a file's modification time is set (but not when a file's
permissions are set; this is the standard wrong DOS behaviour).

denode.h, msdosfs_denode.c:
Remove the DE_UPDAT() macro.  It was only used once, and the corresponding
macro in ufs has already been removed.

denode.h:
Don't change the timestamp for directories in DE_TIMES() (be consistent
with deupdat()).

msdosfs_vnops.c:
Handle chown() better: return EPERM instead of EINVAL if there are
insufficient permissions; otherwise, allow null changes.
1994-12-27 12:37:36 +00:00
David Greenman
2048dd682c Fixed two security holes in the pcmmap() function.
Submitted by:	Bruce Evans
1994-12-27 08:43:06 +00:00
Andreas Schulz
04dc4fc21c My prevoius commit missed some things. The out_line didn't need
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
Andreas Schulz
d5a22d48c4 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
Andreas Schulz
3c8f8257cd Add a patch that someone on the net has used to run on his IBM Thinkpad.
Sorry, lost the name and mail of the original author. The whole patch
is ifdefed, so it should not disturb someone else in the moment.
1994-12-26 17:50:18 +00:00
Andreas Schulz
2d85986466 Add examples for the sony and the panasonic drivers. 1994-12-26 17:33:52 +00:00
Andreas Schulz
9066320224 The out_line doesn't need to be zero terminated, so print it not with %s
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
Bruce Evans
61233bdc2e Obtained from: partly from 1.1.5
Convert "" to "." for "cd" and "cd ''".  chdir("") is required to fail
on POSIX systems.
1994-12-26 13:02:05 +00:00
Bruce Evans
abdf111953 Obtained from: partly from 386BSD-0.1.2.4
Fix several bugs involving the obsolescent -d and -t options:
-d 0 and -t 0 were ignored
-t -600 was a usage error
-d 'atoi is not suitable for parsing args' and -t duh were not usage errors

Change some error messages to say which call to settimeofday failed.

Restore casts of NULL in function calls.

Finish conversion to using err() instead of perror().
1994-12-26 12:59:28 +00:00
Andrey A. Chernov
937b5aaa3b Use timelocal() instead of mktime() hack 1994-12-26 10:43:48 +00:00
Andrey A. Chernov
8c2f5ad758 Declare useful functions (timelocal() and timegm()) 1994-12-26 10:19:41 +00:00
Andreas Schulz
8c2f8d0653 Correct the devices.i386 for the major numbers. 8 was already used now
by the lkm driver, so put scd and pcd to the numbers they have now
in i386/conf.c.
Add the pcd.c file for the panasonic driver in files.i386.
1994-12-26 01:06:41 +00:00
Andreas Schulz
60ecea7924 Add entries for the sony and panasonic drives and drivers. 1994-12-25 23:25:54 +00:00
Bruce Evans
6424ff77c2 Fix the bug reported by Torbjorn Granlund <tege@cygnus.com>:
The documentation for mrand48 and lrand48 is mixed up.
mrand48 returns a full 32 bit number, while lrand48 only returns
31 bits.
1994-12-25 15:33:39 +00:00
Andreas Schulz
c8ac34903c Add entries for the sony and panasonic drives. The not SCSI and not EIDE
drives :-).
1994-12-25 15:08:29 +00:00
Andrey A. Chernov
beae072bc9 Merge several probe diagnostics into one.
Adjust for newer model for all non-LUxxx too.
FLAGS status register names cleanup
1994-12-24 13:24:02 +00:00
Bruce Evans
82189b149e Fix comments on dk_wds and dk_wpms to match code. Improve comment on
dk_time.
1994-12-24 10:11:18 +00:00
Andrey A. Chernov
53df92ac8d Add T option back to ar until nm will be fixed. Sorry, nate. 1994-12-24 10:07:51 +00:00
Bruce Evans
9834a1b204 Fix the "wds" count stat. 1994-12-24 09:48:32 +00:00
Bruce Evans
11fa0751bc Fix the "wd" count stat. The seek and xfer stats are still very bogus
for wd (they both count the number of sectors).  The wpms stat is still
moderately bogus for all drivers.  Even the count stat could be handled
better (partial blocks should be counted as full blocks; should errors
and retries be counted?).
1994-12-24 09:43:12 +00:00
Bruce Evans
026c9b2ce6 Really fix the "byte" count stat. `wd's are actually blocks of 32 16-bit
words in dkstat-speak.  `ms's are seconds in dkstat-speak...
1994-12-24 09:19:00 +00:00
Bruce Evans
13d7c724ca Obtained from: 1.1.5
Fix single-stepping of emulated FPU instructions.

Don't panic if an FPU instruction is attempted but there is no FPU
and no FPU emulator is configured.
1994-12-24 07:22:58 +00:00
Andrey A. Chernov
bf2d4aa003 Merging.
v1.9.0 - December 22, 1994.  The program won't exit from the interactive shell
  if it's working from a tty.  For example, it won't exit if you do an mget
  on a pattern that won't match anything.  Added padding around jmp_buf's
  for SunOS.  SunOS needs sigjmp_buf's, but plenty of OS's don't support
  sigjmp_buf's yet.  Fixed the tips to reflect the new archive site.

v1.8.9 - December 20, 1994.  Can now set "passive" user variable, or use
  passive command to toggle PASV/PORT ftp.  Debug mode now prints remote
  responses.  Can now get around buggy FTP servers like boombox.micro.umn.edu,
  that give back invalid port numbers to PASV.

v1.8.8 - December 19, 1994.  Now falls back to port FTP if passive FTP fails.
1994-12-24 01:15:19 +00:00
Andrey A. Chernov
8476490bd2 This commit was generated by cvs2svn to compensate for changes in r5216,
which included commits to RCS files with non-trunk default branches.
1994-12-24 01:01:48 +00:00
Andrey A. Chernov
9b786fc227 Update 1994-12-24 01:01:48 +00:00
David Greenman
55c4727190 Revert last patch - it's wrong. 1994-12-23 23:03:32 +00:00
Nate Williams
7edb8c9b99 New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD
1994-12-23 22:56:08 +00:00
Nate Williams
637cb583c9 Subject: ranlib fix for odd length long final file names (PR #82)
Submitted by:	Peter Dufault <dufault@hda.com>
1994-12-23 22:55:00 +00:00
Nate Williams
45f4664c72 Strip out unused local symbols from shared objects, and no longer
truncate archive members to 15 characters since it's no longer
necessary.
1994-12-23 22:50:45 +00:00
David Greenman
be7b04cd7e Fixed byte count stat.
Submitted by:	John Dyson
1994-12-23 22:44:55 +00:00
Nate Williams
b35481d443 Added link.5 man page and updated a.out.5 manpage to reflect the new
code.

Obtained from: NetBSD
1994-12-23 22:41:46 +00:00
Nate Williams
1603af0d3b Warning and weak reference macros which are used to generate link-time
messages.

Obtained from: NetBSD
1994-12-23 22:38:54 +00:00
Nate Williams
de761939cf Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source.  Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD
1994-12-23 22:37:45 +00:00
Nate Williams
d27e9722db Document some of the fields used by the new shlib code.
Obtained from: NetBSD
1994-12-23 22:32:48 +00:00
Nate Williams
61f9ce8d32 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
Jordan K. Hubbard
3ed375cb27 Miscellaneous fixes for the snapshot. 1994-12-23 05:11:18 +00:00
David Greenman
45cbbb298d Do vm_page_rename more conservatively in rcollapse and qcollapse, and
change list walk so that it doesn't get stuck in an infinite loop.

Submitted by:	 John Dyson
1994-12-23 05:00:19 +00:00
David Greenman
7609ab12e4 Initialize b_vnbuf.le_next before returning a new buffer in getpbuf and
trypbuf. Move a couple of splbio's to be slightly less conservative.
1994-12-23 04:56:51 +00:00
David Greenman
602d2b481a Protect vnode buffer chain manipulation with splbio to prevent list
corruption..
1994-12-23 04:52:55 +00:00
Jordan K. Hubbard
66a5b326e1 Whoops! I buggered up the tape dialog. Fixed. These changes allow
you to specify your tape drive device for the cases when the user
has more than one.
1994-12-23 03:30:02 +00:00
Jordan K. Hubbard
927a6f682e Fix a typo that crept in with the last update. 1994-12-23 02:55:07 +00:00
Jordan K. Hubbard
f1df762392 Even more bogons eradicated. My, there are a lot of them in here! :-) 1994-12-23 02:25:32 +00:00
David Greenman
edd5a4af47 Restore my changes in rev 1.11 that Garrett killed in his commit. 1994-12-22 23:42:25 +00:00
Garrett Wollman
b2774d00ad Make arp_rtrequest() static since nobody needs to referene it any more. 1994-12-22 22:00:30 +00:00
Garrett Wollman
dd2e410221 Move ARP interface initialization into if_ether.c:arp_ifinit(). 1994-12-22 21:56:22 +00:00
Jordan K. Hubbard
186c582fdf Whoops, another lurking bogon! 1994-12-22 21:34:36 +00:00
Stefan Eßer
9a3c07de07 Add support for -v option passed to boot loader (bootverbose).
Reviewed by:
Submitted by:
Obtained from:
1994-12-22 21:20:39 +00:00
Stefan Eßer
68d2fa1f21 Added SCSI_DATA_OUT to flags passed to the device driver in sd_dump()
since device drivers may decide not to accept a data out phase without
this flag present.
Submitted by:	Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
1994-12-22 21:18:48 +00:00
Garrett Wollman
59d8d13f60 Added `ds', a black-hole network interface. 1994-12-22 21:00:05 +00:00