Commit Graph

21176 Commits

Author SHA1 Message Date
bde
ea4c076a10 Fixed `make depend' and related bogons. LDFLAGS was used for
ld-specific flags.  LDFLAGS is really for ld-related flags for cc,
not for ld, and some flags, e.g., -Bshareable, mean completely
different things to cc and ld.  Having the wrong things in LDFLAGS
also broke the standard ${PROG} target.  This was kludged around
by using a special rule that depended on LDFLAGS being bogus.
Fixing `make depend' broke the special rule but fixed the standard
rule (except in the DESTDIR case, which was handled more strictly
here than elsewhere).
1997-04-16 11:31:32 +00:00
danny
285de91cc0 Fix typo: "oder" -> "order". 1997-04-16 09:56:30 +00:00
danny
dbeae26f75 Add FILES section to manpage.
Create /var/run/ttyXn.if interface file and /var/run/slX.pid
PID file, following format of pppd(8).
1997-04-16 09:54:50 +00:00
danny
15afdcdb78 Fix typo in comment; Document in an example that years beyond 1999
are handled; fix typo in same example.
1997-04-16 05:59:21 +00:00
dyson
a07e70af85 Fix the problem in popen that makes correct vfork semantics fail.
Specifically, popen modifies a variable "pdes[1]" in the child
in such a way that it breaks code in the parent (due to the address
space sharing.)
1997-04-16 03:26:50 +00:00
kato
94dc06fdd4 Undo previous commit to avoid panic, and fix order of argument of
VOP_LINK().  The reason of strange behavior was wrong order of the
argument, that is, the operation

	# ln foo bar

in a union fs tried to do

	# ln bar foo

in ufs layer.

Now we can make a link in a union fs.
1997-04-16 03:08:34 +00:00
danny
bbb4a1f3a5 Suggested by: David Nugent
Change the name of ppp.disabled to ppp.deny for consistency with
at.deny and friends.
1997-04-16 02:10:22 +00:00
danny
0f60b61dda Suggested by: David Nugent
Use /etc/ppp/ppp.deny instead of /etc/ppp/ppp.disabled
1997-04-16 02:07:10 +00:00
davidn
f71c6eb3d4 Add include of <sys/types.h> no longer included by <stdio.h>. 1997-04-16 00:05:29 +00:00
bde
9c6fb5ac3c Fixed type mismatch caused by bogus prototypes. rpcgen for some reason
doesn't generate any prototypes for the functions to be registered.
1997-04-15 16:18:57 +00:00
bde
3b3b1c01ac Second stage of moving this to in <machine/asm.h>: just include
<machine/asm.h> here.
1997-04-15 14:18:17 +00:00
bde
6d6f4ad833 Only do indirections in ENTRY() if _ARCH_INDIRECT is defined. 1997-04-15 14:06:34 +00:00
bde
8c621c5742 Added -D_ARCH_INDIRECT=i387_ to CFLAGS. _ARCH_INDIRECT will soon be used
to control generation of indirections in ENTRY().  Only msun needs it.

Use ${ARCH} consistently.
1997-04-15 14:05:28 +00:00
kato
071dc96075 Quick-hack to avoid `lock against myself' panic. It is not the real
fix!

The ufs_link() assumes that vnode is not unlocked and tries to lock it
in certain case.  Because union_link calls VOP_LINK after locking vnode,
vn_lock in ufs_link causes above panic.

Currently, I don't know the real fix for a locking violation in
union_link, but I think it is important to avoid panic.

A vnode is unlocked before calling VOP_LINK and is locked after it if
the vnode is not union fs.  Even though panic went away, the process
that access the union fs in which link was made will hang-up.

Hang-up can be easily reproduced by following operation:

	mount -t union a b
	cd b
	ln foo bar
	ls
1997-04-15 12:56:57 +00:00
jkh
5d4c6d9502 Add global 1997-04-15 12:31:09 +00:00
jkh
138291f048 This commit was generated by cvs2svn to compensate for changes in r24959,
which included commits to RCS files with non-trunk default branches.
1997-04-15 12:30:38 +00:00
jkh
29e9ef05d0 Shigio Yamaguchi's global tags package. The infrastructure support
for this is already in place, so "make tags" (or "make tags HTML=yes")
should work after your next make world.
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-15 12:30:38 +00:00
kato
c349316b83 Synchronize with sys/i386/i386/trap.c revision 1.92. 1997-04-15 11:49:00 +00:00
kato
c87ecd09ae Synchronize with sys/i386/conf/files.i386 revision 1.159. 1997-04-15 11:43:10 +00:00
joerg
947370ca12 Implement a -r option to fsdb(8), ``read/only''. 1997-04-15 09:02:48 +00:00
asami
d52813b873 (1) Change comment for USE_X11 to be more explicit about what it
means.

(2) Change MASTER_SITE_GNU etc. to use += instead of ?=, so users can
    specify a local mirror in /etc/make.conf and still get the full
    fallback in case something is missing.
Submitted by:	Narvi <narvi@haldjas.folklore.ee>

(3) Skip port if USE_X11 or USE_IMAKE is defined and /usr/X11R6
    doesn't exist.
Submitted by:	imp

(4) Add "-" in front of rmdir of ${DISTDIR}/${DIST_SUBDIR} in
    distclean target; the directory might not be empty because the
    subdir is shared with some other ports' distfiles.
1997-04-15 08:36:41 +00:00
asami
54f4bf0d7d Add comments about overridable MASTER_SITE_* variables.
Suggested by: Narvi <narvi@haldjas.folklore.ee>
1997-04-15 08:16:44 +00:00
bde
fec7811ef9 Removed more traces of ISODEVMAP. 1997-04-15 08:05:08 +00:00
jmg
230b023a13 fix some typos, and some slight clean up...
Closes PR#3266
1997-04-15 07:41:10 +00:00
jmg
4c3d66cba8 fix a few typos..
Closed PR#3265
1997-04-15 07:15:47 +00:00
danny
f38d855ac2 List of users who may not use pppd in system password logins, and a
sample list of acceptable shells.
1997-04-15 07:15:15 +00:00
jmg
41e30c330c fix a couple typos...
Closer PR#3264
1997-04-15 07:06:15 +00:00
danny
bef64f7791 Reviewed by: Brian Somers <brian@freebsd.org>
pppd now creates /var/run/ttyXn.if file containing the interface name;
check that a 'login' user is not listed in /etc/ppp/ppp.disabled;
check that a 'login' user's shell is listed in /etc/ppp/ppp.shells;
make sure that passwordless 'login' logins are recorded in wtmp and
utmp.
1997-04-15 07:00:35 +00:00
brian
dfe24302ec Remove osreldate. I got the number wrong anyway :( 1997-04-15 00:03:36 +00:00
brian
aebb5d896e Make the next number redial ability configurable. The
"set redial pause [times]" command becomes
"set redial end-pause[.next-pause] [times]" and next-pause
defaults to 3 seconds.  This keeps things backwards
compatable.

Suggested by:	ache
1997-04-14 23:48:20 +00:00
phk
387d65afaa Remove unneeded member nsp_head from struct nspcb. 1997-04-14 18:26:51 +00:00
phk
387f29bd05 #include <sys/queue.h> 1997-04-14 18:23:48 +00:00
phk
95dc01575d Use LIST macros instead of insque/remque 1997-04-14 18:23:25 +00:00
phk
fe8656a98f Add LIST_FIRST, LIST_FOREACH and LIST_NEXT 1997-04-14 18:22:02 +00:00
phk
3320ec6530 Remove all traces of undocumented feature ISODEVMAP. 1997-04-14 18:15:47 +00:00
phk
2036033748 Forget all about APM. Instead of "hlt" call through a vector which
APM can then fiddle with.  Default for the vector is to "htl; ret"
1997-04-14 18:12:05 +00:00
bde
9333dd8df4 Renamed undelete() to undelete_messages() to avoid conflict with new
undelete() syscall.

Submitted by:	partly by roberto
1997-04-14 16:49:30 +00:00
jkh
ab0e357c7a YAMF22 1997-04-14 16:47:38 +00:00
bde
1c0ab07a26 Use the same IOPL check as in syscons.
Reviewed by:	pst, joerg
1997-04-14 15:54:39 +00:00
bde
93bc52bbfc Fixed missing const. Include <unistd.h> so that the function type gets
checked.
Submitted by:	partly by roberto
1997-04-14 15:14:58 +00:00
bde
acc3e38f78 Removed ix.4.
Submitted by:	roberto
1997-04-14 15:05:49 +00:00
bde
880c5c361f Fixed printing of registers in dbflalt_handler(). The registers
were always in a tss; that tss just changed from the one in the
pcb to common_tss (who knows where it was when there was no curpcb?).
Not using the pcb also fixed the problem that there is no pcb in
idle(), so we now always get useful register values.
1997-04-14 13:52:52 +00:00
bde
82f16b75fb Fixed another prototype bug in synopsis. 1997-04-14 13:37:18 +00:00
bde
2e2bf64395 Fixed spelling of isnetworktty.
Fixed stray whitespace.
1997-04-14 13:33:20 +00:00
jkh
d043629403 Add Stefan Bethke to all the usual places.
Fix typo-spam from yesterday (sorry John!)
1997-04-14 13:20:21 +00:00
kato
69a13fa7d1 Fix `lockmgr: locking against myself' panic by multi union mount of
same directory pair.

If we do:
    mount -t union a b
    mount -t union a b
then, (1) namei tries to lock fs which has been already locked by
first union mount and (2) union_root() tries to lock locked fs.  To
avoid first deadlock condition, unlock vnode if lowerrootvp is union
node, and to avoid second case, union_mount returns EDEADLK when multi
union mount is detected.
1997-04-14 10:52:25 +00:00
wosch
c834ab375e Add manpage link introduction.1 -> intro.1 1997-04-14 10:24:14 +00:00
jmg
73856517a4 slight rewording of HISTORY section
Closes PR#3261
1997-04-14 09:24:06 +00:00
kato
49921c887d Fix locking violation when accessing `..'.
Obtained from:	NetBSD
1997-04-14 05:13:55 +00:00
peter
05ac2f5194 Unused variable (upobj is now purely handled within pmap) 1997-04-14 03:40:42 +00:00