Commit Graph

16806 Commits

Author SHA1 Message Date
alex
9b6c3e888d 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
peter
283f514ba0 Corrently null-terminate the path being passed to the opendir() calls,
malloc() does is not defined to return a zeroed buffer leading to
"strange" problems.

Submitted by: Karl Denninger <karl@mcs.com>, PR#1826
1996-10-17 00:40:04 +00:00
julian
1fc5d71cd6 actually impliment permissions for teh chown/chmod/etc functions
that resemble what the man pages say.
also fix braino (type last week)
1996-10-16 23:14:00 +00:00
julian
e1e791b5e9 add a man page for suser() because its usage is not as obvious
as you would first think.
1996-10-16 21:14:32 +00:00
bde
467c7d29da Use a (signed) int32_t counter instead of an `unsigned int' counter
for the GPROF4 case.  This allows a simpler method to be used for
non-statistical profiling (it allows overhead adjustments to be
subtracted from one counter without harm if that counter goes
negative; otherwise the adjustment would have to be distributed).

32 bit counters were already too small for GPROF4 with a 200MHz
clock.  int64_t counters should be used.
1996-10-16 21:02:49 +00:00
sos
ef80b84143 Oops forgot to remove a debug printf. 1996-10-16 20:59:08 +00:00
jkh
dea026027c Bring back ns_* routines; we need them for ifconfig and route. 1996-10-16 19:38:51 +00:00
jkh
f39b076277 Bring back NS support for this utility - we need it for the commercial Novell
server software.
1996-10-16 19:37:58 +00:00
bde
05c2b6dbd2 Fixed miscounting for non-statistical (GUPROF) profiling:
- use CROSSJUMP() and CROSSJUMP_LABEL() for conditional jumps from idle()
  into cpu_switch() and vice versa.
- moved badsw code to after cpu_switch().

Cosmetic changes:
- moved sw0 string to be immediately after its caller (badsw).
- removed unused #include.
1996-10-16 18:37:58 +00:00
sos
cb13266b14 Utility to "brand" ELF binaries.
Man page to come...
For now use: <brandelf -t Linux linuxbin> to brand, and just
<brandelf> to verify branding on a ELF file. FreeBSD native is
set with <brandelf -t FreeBSD freebsdbin>.
1996-10-16 18:16:22 +00:00
bde
c578b9b254 Added macros CROSSJUMP(), CROSSJUMP_LABEL() and GPROF_RET. These will
be used to fix some benign(?) bugs in GUPROF profiling.

Fixed stale comments and long lines.
1996-10-16 18:13:25 +00:00
julian
9ff5511188 Allow the utimes call to work on devfs nodes. 1996-10-16 18:02:53 +00:00
sos
a7dce0775e Prepare kernel to take advantage of "branded" ELF binaries. 1996-10-16 17:51:08 +00:00
max
4f23e86b1a Use newly defined entity for the ``Last modified by'' line. 1996-10-16 12:28:37 +00:00
max
cbcf2fb1a8 Added entity for Bill Lloyd, the author of the latest isdn.sgml.
And put it in the list of additional contributor.
1996-10-16 12:06:31 +00:00
max
ea9736a5a0 Added following people to the additional contributor list:
Dmitry Kohmanyuk <dk@farm.org>
	Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
	Michael Searle <searle@longacre.demon.co.uk>
	MOROHOSHI Akihiko <moro@race.u-tokyo.ac.jp>
	Ronald Kuehn <kuehn@rz.tu-clausthal.de>
	Ville Eerola <ve@sci.fi>
	Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp>

Updated following people's addresses:
	Brian Clapper, Hideaki Ohmon, Jian-Da Li, Jim Lowe

Removed &a.andreas; as he's listed in the developpers section.
1996-10-16 05:59:27 +00:00
ache
f5b4e8c2ab Simplify and improve parser.
Clarify manpage.
1996-10-16 03:12:22 +00:00
steve
0b67136d65 Benign | --> || correction. 1996-10-16 02:30:39 +00:00
julian
a81c502ffc Add support for embedded operation withou console
The boot.c patch is applied only to teh JULIAN_HACK branch
the muted console is controlable by a sysctl variable kern.consmute
1996-10-16 00:19:40 +00:00
ache
09ecea6256 Save half of LC_COLLATE space
ASCIIfy data files, use RFC1345 symbolic names instead of hex codes
Improve parser and manpage
1996-10-15 22:05:18 +00:00
ache
5b6e3c50cb Save half of space in LC_COLLATE and remove unneded code.
This change is not compatible with previous variant, however proper
error code returned in both cases.
Colldef changes will follows.
1996-10-15 21:53:23 +00:00
sos
a849187a71 Corrected the setting of winsize on open().
Problem pointed out by David Nugent - davidn@blaze.net.au.
1996-10-15 20:27:07 +00:00
wollman
ae5eee5c30 Preserve file flags in accept(2).
Submitted by: fredriks@mcs.com in PR#1775 (this implmentaion is different)
1996-10-15 19:28:44 +00:00
bde
b49ecb9108 Updated #includes to 4.4lite style. 1996-10-15 19:22:46 +00:00
joerg
901db635de Wow!, i finally found a usable vgrind definition for Perl. 1996-10-15 18:58:45 +00:00
bde
5beb18abc1 Removed nested include of <sys/proc.h> from <vm/vm_object.h> and fixed
the one place that depended on it.  wakeup() is now prototyped in
<sys/systm.h> so that it is normally visible.

Added nested include of <sys/queue.h> in <vm/vm_object.h>.  The queue
macros are a more fundamental prerequisite for <vm/vm_object.h> than
the wakeup prototype and previously happened to be included by
namespace pollution from <sys/proc.h> or elsewhere.
1996-10-15 18:24:34 +00:00
jkh
968d319814 Mondo-merge of new 2.2 installation technology. 1996-10-15 17:04:56 +00:00
bde
92cf41c9fd Forward-declared `struct route' for the KERNEL case so that <net/route.h>
isn't a prerequisite.

Fixed style of ifdefs.
1996-10-15 16:54:47 +00:00
bde
24f1e6fa9a Synchronized with biosboot/Makefile:
- use gcc-2.7.2 alignment features
- get CWARNFLAGS form <bsd.kern.mk>
- fixed whitespace differences.
1996-10-15 16:26:05 +00:00
dyson
4af9184e0b Move much of the machine dependent code from vm_glue.c into
pmap.c.  Along with the improved organization, small proc fork
performance is now about 5%-10% faster.
1996-10-15 03:16:45 +00:00
alex
4b6e5c4c29 Set the effective user id to that of the real user id when
saving/restoring a game (necessary when adventure is invoked via dm).
1996-10-15 01:53:48 +00:00
joerg
f685f88823 Fix my yesterday's brain-o: don't account for the kilobytes twice. 1996-10-14 22:56:01 +00:00
jkh
4bf196a8f9 Don't casually blow away FTP site settings now that it's easy for user
to override them.
1996-10-14 21:50:38 +00:00
bde
5a3b6bd7f9 Fixed setting of the keyboard LEDs. For some keyboards and/or keyboard
controllers, it is an error to issue a command before the keyboard
has had time to reply to the previous command.  Setting the LEDs
involves issueing 2 commands, so it never worked on these keyboards.

Fixed resetting of keyboard.  It is possible for unprocessed
scancodes to be present when the reset routine is called.  This
usually occurs after switching from one console driver to another
in userconfig.  pcvt and syscons attempt to flush any stale scancodes,
but sometimes fail to do so because keyboard and/or keyboard
controller takes a long time to send the scancodes after reset
(scancodes are apparently not flushed by reset!).  syscons handles
this later by not checking for errors at strategic places, but pcvt
was confused.

Use an impossible initial and failure mode setting for the LEDs
so that the LEDs always get set if they are possibly out of sync.

Added missing spltty() in update_led().
1996-10-14 21:44:05 +00:00
jkh
1583864055 Remove the now-unusable ports configuration code. Swapping CDs is bogus. 1996-10-14 21:32:39 +00:00
jkh
211a1666f9 Change the boot-time menu. 1996-10-14 21:19:43 +00:00
jkh
34c1fc6b4c Fix PR#1557 - chained package dependencies using URLs didn't work. 1996-10-14 19:41:44 +00:00
pst
ae8e60c145 catch a mismatch after final review... 1996-10-14 17:27:53 +00:00
pst
3d16420dd5 Expose the control mechanism for serial console boot so that the default
shipped with freebsd can be changed without modifying the Makefiles directly.

Creates:	BOOT_FORCE_COMCONSOLE
		BOOT_PROBE_KEYBOARD
		BOOT_PROBE_KEYBOARD_LOCK
		BOOT_COMCONSOLE			(port value for console)
1996-10-14 17:25:53 +00:00
dg
8882da7174 Fixed a bug that got introduced when I changed the CY16_RESET and
CY_CLEAR_INTR definitions. This might have affected probing of ISA
versions of the Cyclom 16/32-Y.
1996-10-14 16:43:11 +00:00
dg
3499ced4da Make this compile again for the CyDebug case. 1996-10-14 16:10:00 +00:00
max
a249573c9d Fixed a minor typo. 1996-10-14 14:48:02 +00:00
jkh
7208355a13 Adjust the boot-time userconfig options to match reality. 1996-10-14 13:29:40 +00:00
se
65179d7277 pci_map_mem() did a too restrictive check on the mapping type:
PCI_MAP_MEMORY_TYPE_32BIT_1M should be accepted as well as
PCI_MAP_MEMORY_TYPE_32BIT (and now is).
(Problem reported by David Greenman.)
1996-10-14 13:04:34 +00:00
peter
95693154ab oops, how did this get into the reinstall target? :-]
Must have been a cut/paste foulup...  The whole idea of 'make reinstall'
is that it doesn't build anything from the source server mount.
1996-10-14 12:58:47 +00:00
bde
860a9cbd8e Oops, PROBE_KEYBOARD_LOCK wasn't supposed to be enabled by default. 1996-10-14 12:37:47 +00:00
se
8310fffb27 Move the initialization of np->ns_sync and ns_async out of ncr_getclock(),
which does no longer get called for non-Ultra cards.
Fix suggested by Gerard Roudier, slightly modified by me.
1996-10-14 10:09:52 +00:00
phk
99256fa202 A couple of minor nits.
Submitted by:	Craig Leres <leres@ee.lbl.gov>
Submitted by:	Theo Deraadt <deraadt@theos.com>
1996-10-14 08:34:02 +00:00
joerg
14dd70138e Yikes! Originally, i intended to apply the patch from PR # 1322,
but Bill has beaten me on this. ;-)

However, he missed the part to compute the kernelsize in kilobytes,
so the minfree consideration was now overcautious.  (I've also
changed the return type of dump_size() to void since int was useless.)

Being here, the fact that `vmcore' was written world-readable was just
a plain security hole: everybody who was able to crash a kernel could
later read any confidential information out of it at his will.  Create
it with umask 077 instead.
1996-10-13 20:55:45 +00:00
bde
f35890901a The dos() function needs a new second argument, containing the size
of the partition. Only if the size is 0 should the
special handling of 0 as first argument be triggered.

[This bug caused offset 0 to give C/H/S = 0/0/0 instead of 0/0/1.]

The init_sector0 function needs to decrease the first argument
to the second call to dos() by one to be consistent with the
calls to dos() in change_part().

[This bug caused fdisk -i to create bogus partition tables with
the ending C/H/S value 1 too high.  This usually gives S = 1
instead of S = maximum, so the geometry guessing in the slice
code and perhaps in SCSI BIOSes was defeated.]

Submitted by:	Tor Egge <tegge@itea.ntnu.no>
1996-10-13 18:18:50 +00:00