Commit Graph

16645 Commits

Author SHA1 Message Date
Peter Wemm
ba8f828b88 Back out most of the last backout. :-) Guido removed the 1.1.1.1->1.1.1.2
changes from the vendor branch as well, backing the db-1.82 changes.

This file should now be the same as it was in rev 1.1.1.2.
1996-10-19 01:34:25 +00:00
David Greenman
8713ad7411 Kill unnecessary test in coredump() that wasn't removed in rev 1.19
when the check for P_SUGID was added.
1996-10-19 01:06:20 +00:00
Julian Elischer
a77a7ee010 After prodding, add a BSD style copyright to those man pages I think
I probably originally wrote. Also take my name OUT of the ddb
man page.. I did NOT port it from mach.
1996-10-18 20:22:31 +00:00
Guido van Rooij
c3449f0d2b Backout bzero patch.
Somehow, I also managed to get quite some other changes in this file at
the same time. All I did was checkout the file and  made a single change.
If someone has an explanation how these PURIFFY defines got in...
1996-10-18 19:56:51 +00:00
Paul Traina
732ade13e4 Also reorder xterm-65, xterm-bold, et al 1996-10-18 18:57:48 +00:00
Søren Schmidt
c070783c4b Changed mouse functionality a bit, now the pointer disappears if
there is keyboard input.
The mousepointer is shown again immediately if moved.

Also a function pointer used to install a userwritten extra
ioctl handler (sc_user_ioctl). This way its is possible to
install user defined videomodes etc etc. No further changes
should be in the kernel.
1996-10-18 18:51:37 +00:00
Satoshi Asami
1e085c4094 I think I need to take out the space in "$Id $" to make it work. 1996-10-18 17:33:20 +00:00
Joerg Wunsch
0d4abe6259 Slightly improve the C and C++ support. Allow for function return
types being on the same line as the function name, this finally closes
PR # bin/1785.  Also allow :: and ~ as part of the function name, for
C++.

Still, C++ operator overloading will not be recognized as a valid
function name.  Fixing this would require a major overhaul of the \p
recognition parser.
1996-10-18 17:23:33 +00:00
Andrey A. Chernov
43658eac64 Implement alternative strategy if it is impossible to confirm
password: ask for it, but don't tell that S/key password required.
It looks like non-s/key system from outside.

Additionally tell that s/key required when it is so for normal case
1996-10-18 17:09:26 +00:00
Andrey A. Chernov
9fe1a5aaab After some thinking implement alternative way:if it is impossible
to confirm password, don't tell that s/key required, but
ask for password in anycase. It looks like non-s/key system
from outside.
1996-10-18 16:52:33 +00:00
Jordan K. Hubbard
d0ec898db5 ns_nettype should be declared, not externed. 1996-10-18 15:59:25 +00:00
Andrey A. Chernov
24504bef97 Remove two-letters names from xterm which cause database
duplicated entries. We don't use two-letter names already long time
1996-10-18 15:46:45 +00:00
Andrey A. Chernov
decf740c73 Remove xterms, the same as xterm now 1996-10-18 15:45:07 +00:00
Joerg Wunsch
28445a638f Some cleanup:
. correct a typo in regexp.c,
. implement a new "nc" (non-comment) feature to describe exceptions from
  the comment detection; there were problems in Perl with the $# operator
  that could not be solved by any other means,
. prevent blocklevel from becoming negative (due to earlier misdetected
  sequences), this is probably a workaround for the problem described
  in PR # bin/1785,
. update the Perl description to use the "nc" feature,
. update the man page for the "nc" and the undocumented "ab"/"ae"
  features.
1996-10-18 14:13:18 +00:00
John Polstra
16804804df Fix two minor typos in the manual page. 1996-10-18 04:49:43 +00:00
Jordan K. Hubbard
889eef6fca Add back line for options NS, though commented out for now until
Tony tells me what to do with the ns_nettype extern which is still
unresolved for this optioin.
1996-10-18 03:52:48 +00:00
Jordan K. Hubbard
07eece26e8 Make changes suggested in PR#1825, closing it. Removes default local
hack behavior better than previous commit.
Submitted-By: Peter Childs <pjchilds@imforei.apana.org.au>
1996-10-18 03:47:53 +00:00
Jordan K. Hubbard
fddb6f46b4 Clean up the example files by giving them a unified set of names (which
I don't like, finding them rather redundantly named, but I'm just going
with the flow here).
1996-10-18 03:45:19 +00:00
Jordan K. Hubbard
1d3a9347a0 Turn LOCALHACK off by default (whoops!)
Noticed-By: Atsushi Murai <amurai@spec.co.jp>
1996-10-18 01:44:45 +00:00
Julian Elischer
24b3bdfe8d Just because something doesn't make sense doesn't mean it should be illegal..
just ignore it instead.
===================================================================
RCS file: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v
retrieving revision 1.30
diff -r1.30 devfs_vnops.c
631d630
<           (vap->va_size != VNOVAL) || /* doesn't make sense in devfs */
1996-10-17 22:47:23 +00:00
Jean-Marc Zucconi
d508ff27b1 The -q option does not require a list of elements: the command 'ar q foo.a'
is perfectly valid and eventually creates an empty archive.
This is consistent with OSF1 V3.x, SunOS 4.x, ULTRIX 4.x and probably others.
1996-10-17 22:13:36 +00:00
Andrey A. Chernov
4737abd588 Make PERMIT_CONSOLE to work not only from
/dev/console, but from syscons vty's too
1996-10-17 21:49:34 +00:00
Poul-Henning Kamp
81acf468e2 DKFL_MULTI lives in flags, not in status. 1996-10-17 21:18:42 +00:00
Paul Traina
735211d3e9 Make things compile again. 1996-10-17 21:16:07 +00:00
Bruce Evans
d6b9e17eb5 Improved non-statistical (GUPROF) profiling:
- use a more accurate and more efficient method of compensating for
  overheads.  The old method counted too much time against leaf
  functions.
- normally use the Pentium timestamp counter if available.
  On Pentiums, the times are now accurate to within a couple of cpu
  clock cycles per function call in the (unlikely) event that there
  are no cache misses in or caused by the profiling code.
- optionally use an arbitrary Pentium event counter if available.
- optionally regress to using the i8254 counter.
- scaled the i8254 counter by a factor of 128.  Now the i8254 counters
  overflow slightly faster than the TSC counters for a 150MHz Pentium :-)
  (after about 16 seconds).  This is to avoid fractional overheads.

files.i386:
permon.c temporarily has to be classified as a profiling-routine
because a couple of functions in it may be called from profiling code.

options.i386:
- I586_CTR_GUPROF is currently unused (oops).
- I586_PMC_GUPROF should be something like 0x70000 to enable (but not
  use unless prof_machdep.c is changed) support for Pentium event
  counters.  7 is a control mode and the counter number 0 is somewhere
  in the 0000 bits (see perfmon.h for the encoding).

profile.h:
- added declarations.
- cleaned up separation of user mode declarations.

prof_machdep.c:
Mostly clock-select changes.  The default clock can be changed by
editing kmem.  There should be a sysctl for this.

subr_prof.c:
- added copyright.
- calibrate overheads for the new method.
- documented new method.
- fixed races and and machine dependencies in start/stop code.

mcount.c:
Use the new overhead compensation method.

gmon.h:
- changed GPROF4 counter type from unsigned to int.  Oops, this should
  be machine-dependent and/or int32_t.
- reorganized overhead counters.

Submitted by:	Pentium event counter changes mostly by wollman
1996-10-17 19:32:31 +00:00
Jordan K. Hubbard
cf3c4df72d Add back netns 1996-10-17 18:44:56 +00:00
Jordan K. Hubbard
04d59a46c0 Bring back netns so that Netcon can take over support for it, as agreed.
This was actually easier than I thought - CVS is smart enough to handle
"resurrections" now. :-)
1996-10-17 18:42:33 +00:00
Guido van Rooij
102b3fa4c8 When freeing buffers in the db routines, also zeroize them
This should solve the bug where a coredumping ftpd reveals
encrypted passwords.
Obtained from: OpenBSD
1996-10-17 18:27:58 +00:00
Jordan K. Hubbard
0082fb4657 I'm not sure why, but Netcon's TFS filesystem code doesn't want to
add free vnodes back to the freelist.  They must do their own vnode
management.  Anyway, this change is *only* activated with their filesystem
and doesn't affect anyone else.  Whoops, forgot the submitted-by lines
in my previous commits too.. :-(
Submitted-By: Tony Ardolino <tony@netcon.com>
1996-10-17 17:56:07 +00:00
Paul Traina
fd79f171a3 add km for syscons so folks with meta maps can take advantage of them 1996-10-17 17:50:15 +00:00
Paul Traina
babe800b42 Fix xterm termcap entry to support km and new xterms 1996-10-17 17:47:28 +00:00
Andrey A. Chernov
28fbb50335 Oops, fix my previous commit, now tell user his s/key parameters 1996-10-17 17:46:00 +00:00
Bruce Evans
b40a35f250 Added missing extern declaration of timer_freq.
Sorted declarations of scalars.
1996-10-17 17:31:25 +00:00
Jordan K. Hubbard
88e038fe4a Netcon's changes for their extended NS support. This only effects
people compiling with NS, so the effects on everyone else are nil.
1996-10-17 17:16:58 +00:00
Jordan K. Hubbard
17a6a9e3cc Some very small changes to support Netcon's TFS filesystem.
These patches were formerly applied by the Netcon installer
before rebuilding your kernel.
1996-10-17 17:12:04 +00:00
Andrey A. Chernov
28ed0fe08b Don't ever ask for password if it is impossible to confirm it
It happens if 1) regular passwords not allowed, 2) skey database
not activated for given user.
Under some rare circumstanes skey_challenge can return empty
diagnostic or even previous buffer, fix it.
1996-10-17 17:06:04 +00:00
Andrey A. Chernov
6903b42cd8 Change "nope" to ":"
Previous variant not work well, if you have a user with name nope
1996-10-17 16:47:22 +00:00
Masafumi Max NAKANE
543f9a5afa Added Igor Vinokurov <igor@zynaps.ru>, the maintainer of trafshow port
to the additional contributor list.
1996-10-17 16:42:12 +00:00
Andrey A. Chernov
9c6b5b5dba Add -D_SKEY_INTERNAL to pick up non-API functions 1996-10-17 15:30:21 +00:00
Andrey A. Chernov
5a6fd1f366 Add -D_SKEY_INTERNAL to pick up non-API skey functions 1996-10-17 15:25:12 +00:00
Andrey A. Chernov
811a3c8d54 Prevent namespace pollution cause by this library by splitting to
API and non-API functions and giving _sk_ prefix for all non-API
functions. Old names will be available by _SKEY_INTERNAL define
it allows not change anything in keyinit & key, only -D_SKEY_INTERNAL required.
Staticise some things.
1996-10-17 15:22:46 +00:00
Andrey A. Chernov
590b04e005 If 1) regular Unix passwords not permitted and 2) skey database
for this user not activated, there no correct password exist,
so don't bother ask for it and return "" immediately
1996-10-17 13:43:58 +00:00
Nate Williams
b4c9d8eaf5 This patch attempts to make the pccard probe in if_ed.c work with
non-memory-mapped cards.

Submitted by:	Michael Smith <msmith@atrad.adelaide.edu.au>
Reviewed by:	phk,dg
1996-10-17 13:42:13 +00:00
Andrey A. Chernov
96b74d637f Make it work in localized environment, replace strftime's %b which can be
in national form with months names table
1996-10-17 12:45:39 +00:00
Andrey A. Chernov
0696bbfafd Fix diagnostic: skey->key, we have key command 1996-10-17 12:06:05 +00:00
Doug Rabson
647f50c3b3 Import NFSv3 support from NetBSD
Obtained from: NetBSD
1996-10-17 10:53:34 +00:00
John Dyson
402bcb9621 Fix a problem that could cause msync (or many other things) to deadlock.
The heuristic for managment of memory backing the buffer cache was
nice, but didn't work due to some architectural problems.  Simplify
and improve the algorithm.
1996-10-17 03:04:43 +00:00
John Dyson
a669a6e9a9 Make processes waken up eligible for immediate swap-in. 1996-10-17 02:58:20 +00:00
John Dyson
ad98052216 Clean up the rundown of the object backing a vnode. This should fix
NFS problems associated with forcible dismounts.
1996-10-17 02:49:35 +00:00
Alexander Langer
bf41740b43 Issue a warning if the user specifies an invalid interface in a rule.
The rule is still added to the chain since the interface may get
created later on after loading an LKM.
1996-10-17 01:05:03 +00:00