Commit Graph

19374 Commits

Author SHA1 Message Date
Bruce Evans
78fd7b3d49 Fixed namei caching for LOOKUPs. It was broken for lstat() and olstat().
Successful lstat()s purged an existing entry as well as not caching the
result.

This bug was introduced in Lite1 by setting the LOCKPARENT flag for
[o]lstat() in order to support the inherit-attributes-from-parent-
directory misfeature for symlinks.  LOCKPARENT was previously only set
for CREATEs and DELETEs.  It is now set for LOOKUPs, but only for
[o]lstat(), so the problem wasn't very noticeable.
1997-02-18 06:46:41 +00:00
David Nugent
a88368cfdf Fix for hard-coded length of login name.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>

Closes #PR bin/2755
1997-02-18 05:47:07 +00:00
Bruce Evans
25ed2ac223 Changed #ifdef COMPAT_PRELITE2' to #ifndef NO_COMPAT_PRELITE2' so that
the old VFS_VFSCONF sysctl is enabled by default.

Initialize the vfc_vfsops field to non-NULL in sysctl_ovfs_conf()
so that the old VFS_VFSCONF sysctl actually works.  The old (still
current) getvfsent.c uses this "kernel-only" field to decide which
vfs's are configured (the old implementation returned null entries
for unconfigured vfs's).
1997-02-18 04:58:11 +00:00
Bruce Evans
bd6d39b941 Changed #ifdef COMPAT_PRELITE2' to #ifndef NO_COMPAT_PRELITE2' so that
old nfs mount calls are supported by default.
1997-02-18 04:40:38 +00:00
Jordan K. Hubbard
2b76b18065 Add Label & Partition to configuration menu so you don't have to
go to one of the installs for that (now that it works multi-user).
1997-02-18 04:38:33 +00:00
Jordan K. Hubbard
fcbdb5526d Don't use /mnt in multi-user mode if we're installing a new filesystem. 1997-02-18 04:36:16 +00:00
Justin T. Gibbs
4e605384b5 Don't rely on AAP(Auto Access Pause) when queueing SCBs to the card. This
will increase the overhead of queueing a command, but some recent bug reports
make me believe that AAP isn't really working and that we are losing some
SCBs from the input queue.  Hopefully this will cure that problem.

Fix some bugs in the error recovery code.  Mainly these could cause us to
inadvertantly forget to untimeout an SCB that was recovered causing later
confusion.
1997-02-18 04:25:31 +00:00
Hiroyuki Hanai
c7c98f4989 Sync with the original(merge the changes in 1.212 - 1.216 of original
handbook).
1997-02-18 03:19:49 +00:00
Hiroyuki Hanai
ce59c55716 Sync with the original 1997-02-18 03:00:25 +00:00
Jordan K. Hubbard
9a1717b2df Don't initialize homedir value. When called this early, pw(8) has no
reasonable data for it.
1997-02-18 01:50:51 +00:00
Jordan K. Hubbard
1d90be277e Don't just unset FTP_PATH unilaterally, it might have been a timeout
in which case we should simply log in again.
1997-02-18 01:35:37 +00:00
Jordan K. Hubbard
a5ff41a0e2 Properly check status of menu return. 1997-02-17 22:08:19 +00:00
Joerg Wunsch
5263d0898e Various sanitizations:
. Don't clobber the TERM setting; it's supposed to be done by /etc/ttys
  already.
. Comment out the Interviews stuff, 98 % of all users probably won't
  ever use it.
. Install the files with better default permissions in the skeleton
  directory; pw(8) retains the permissions when creating a new
  acount, and installing them read-only is stupid, yet installing
  .rhosts world-readable is dangerous.

2.2 candidate
1997-02-17 18:56:29 +00:00
Mike Pritchard
9cb8091ff0 These will appear in 2.2, not 3.0.
Pointed out by: wosch
1997-02-17 16:39:53 +00:00
John-Mark Gurney
aae4530402 This page will first appear in 2.2, not 3.0.
2.2 Candidate
1997-02-17 15:54:47 +00:00
Mike Pritchard
0f63118af8 These man pages will first appear in FreeBSD 2.2, not 3.0. 1997-02-17 15:22:20 +00:00
Mike Pritchard
9428d8555c Typo fix. Closes PR#2753.
Submitted by:	 Stephen J. Roznowski <sjr1@flash.net>
1997-02-17 15:08:21 +00:00
Jordan K. Hubbard
96a6cda5d6 Compensate for an underpopulated MFS. 1997-02-17 13:42:21 +00:00
Jordan K. Hubbard
70f8c15560 Finally DTRT with tcpOpenDialog(); it should have never diddled
mediaDevice directly.
1997-02-17 13:29:47 +00:00
Bruce Evans
4cca17ae59 Disabled dumplfs. Importing the Lite2 version was a mistake, since
many files haven't left the vendor branch and the sys/ufs/lfs hasn't
been merged.
1997-02-17 13:15:42 +00:00
Bruce Evans
c1530c7bf3 This commit was generated by cvs2svn to compensate for changes in r22839,
which included commits to RCS files with non-trunk default branches.
1997-02-17 13:07:40 +00:00
Bruce Evans
1e988af73f Import Lite2's dumplfs. 1997-02-17 13:07:40 +00:00
Bruce Evans
faa69d1a80 Attempt to import Lite2's df. 1997-02-17 11:29:55 +00:00
David Greenman
70e534e78f Pass P_SUGID on to the child of a fork(). It was possible to get rlogin
to coredump previously since it (somewhat uniquely) is setuid and forks
without execing, and thus without passing P_SUGID the child could
coredump and possibly divulge sensitive information (such as encrypted
passwords from the passwd database).
1997-02-17 10:58:46 +00:00
Thomas Gellekum
2731fd39ed Add Kenneth Monville for his xalarm port. 1997-02-17 10:20:59 +00:00
Hiroyuki Hanai
e97f6701f7 Oops! I've forgotten to sync "Original revision:" field. 1997-02-17 09:23:41 +00:00
Hiroyuki Hanai
61cc7cb58b Sync with the original. 1997-02-17 09:19:17 +00:00
John-Mark Gurney
055ef91403 Bring intro(3) a bit closer to reality:
1)	comment out xref to non-existant libc(3)
2)	comment out reference to Fortran specific section (3f)
3)	add libkvm with reference to kvm(3)
4)	comment out xref to non-existant pc(1)
5)	comment out libplot and libplotf77
6)	fix problem with -ltermcap not being parenthesized
7)	sort files listing

still missing most of the libraries that exist in /usr/lib.

Closes PR#1151
1997-02-17 08:30:16 +00:00
David E. O'Brien
71e1edb218 Submitted by: Dave Cornejo <dave@dogwood.com>
ftp.shsu.edu is no longer maintained - they refer you to the mirror I
maintain at ftp.cdrom.com
1997-02-17 08:20:36 +00:00
Bruce Evans
b96ab0b039 Removed bogus NOOBJ ifdef which was added in rev.1.18-1.19. SRCS is
for C sources only and must not be set if you don't want C objects.

This should fix PR2748.

This should go in 2.2.
1997-02-17 07:52:37 +00:00
Bruce Evans
f79ef55e7a Replaced START_ENTRY by _START_ENTRY. -current hasn't got my cleanup
of DEFS.h which renamed it.
1997-02-17 07:21:28 +00:00
Jordan K. Hubbard
0e2dcf577e Include <ufs/ufs/ufsmount.h>. 1997-02-17 05:26:08 +00:00
Jordan K. Hubbard
15cde219d1 Always load DIST_COMPAT21 when loading X. This used to be the default
then it got taken out when the COMPAT21 distribution got dangerous.
Now that it's safe (we hope), it comes back.
1997-02-17 04:56:22 +00:00
Hiroyuki Hanai
a025037043 Sync with the original. 1997-02-17 04:48:56 +00:00
Hiroyuki Hanai
4bb098a0cd Sync with original contrib.sgml 1997-02-17 04:41:22 +00:00
Bruce Evans
ff51e85069 Oops, get the name of the new manpage right. 1997-02-17 04:38:05 +00:00
Hiroyuki Hanai
83fa115599 Sync with original authors.sgml 1997-02-17 04:36:30 +00:00
John-Mark Gurney
429100430f Fix fetch so that all status information is sent to stderr, prevents
corruption of file being recieved to stdout.

Submitted-by: Kent Vander Velden <graphix@iastate.edu>

Closes PR#2739
1997-02-17 04:11:47 +00:00
Wolfram Schneider
3e0f6b97b2 Cosmetic changes for better HTML output. 1997-02-17 00:07:54 +00:00
Jordan K. Hubbard
ea9a505d0c Don't nuke localtime and timezone files so aggressively now.
This is tzsetup's job (and only if you don't cancel out, which
is why having sysinstall remove them was so bogus).
1997-02-16 23:54:58 +00:00
Jordan K. Hubbard
b94679130c Ask about local or UTC here, like we used to. 1997-02-16 23:51:03 +00:00
Jordan K. Hubbard
80beefc082 1. Always write out /etc/hosts.
2. Back out my change to ask about UTC/Localtime here.  This *really* needs
   to be done in tzsetup instead since putting it here only handles about
   1/4 of the places where it needs to be.
1997-02-16 23:35:05 +00:00
Wolfram Schneider
b8dc034799 Add forgotten man page link fts_set.3 -> fts.3 1997-02-16 22:32:13 +00:00
Wolfram Schneider
934d03e415 Bugfixes for HTML output:
- use ${MACROS} for macro package and not hard-coded -ms
	   Note: -me is currently not supported by unroff(1).
	 - use only ${SRCS} as input files.
1997-02-16 22:23:44 +00:00
Jordan K. Hubbard
28ebf21479 Update CHANGEDSINCE macro to conform to -current dinode.h 1997-02-16 22:16:08 +00:00
David E. O'Brien
dfc33decb2 Add _BSD4_4 as a predefined symbol.
Peter Dufault (dufault@hda.com) suggested this is the most approate symbol
to use.

2.2-R candidate.
1997-02-16 20:55:32 +00:00
Bruce Evans
dab159e3d6 Select between the generic math functions and the i387-specific ones
at runtime.

etc/make.conf:
Nuked HAVE_FPU option.

lib/msun/Makefile:
Always build the i387 objects.  Copy the i387 source files at build
time so that the i387 objects have different names.  This is simpler
than renaming the files in the cvs repository or repeating half of
bsd.lib.mk to add explicit rules.

lib/msun/src/*.c:
Renamed all functions that have an i387-specific version by adding
`__generic_' to their names.

lib/msun/src/get_hw_float.c:
New file for getting machdep.hw_float from the kernel.

sys/i386/include/asmacros.h:
Abuse the ENTRY() macro to generate jump vectors and associated code.
This works much like PIC PLT dynamic initialization.  The PIC case is
messy.  The old i387 entry points are renamed.  Renaming is easier
here because the names are given by macro expansions.
1997-02-16 18:26:31 +00:00
Mike Pritchard
bb5359e97e Don't call sendmail with "-f root" when run with "-a". This
eliminates the "X-authentication-warning" header line that
has been coming out since I made it so that sendmail is
run totally as the user whose calendar file is currently
being processed.
1997-02-16 18:24:44 +00:00
Bruce Evans
799e5901b3 Use the C library version of log10() instead of the inaccurate formula
log10(x) = log10e * log(x).  The formula would work if the RHS were
evaluated in extended precision with an extended precision log().
This actually happened with the i387 log() because it returns excess
precision.

Found by:	ucbtest
1997-02-16 17:54:58 +00:00
Bruce Evans
72d8d94d6f Fixed the i87 version of exp(). It returned NaN for args +-Inf. It had
some small (one or two ULP) inaccuracies.

Found by:	ucbtest
1997-02-16 17:38:11 +00:00