Commit Graph

53573 Commits

Author SHA1 Message Date
rwatson
e1bb04b4d3 o Deny access to System V IPC from within jail by default, as in the
current implementation, jail neither virtualizes the Sys V IPC namespace,
  nor provides inter-jail protections on IPC objects.
o Support for System V IPC can be enabled by setting jail.sysvipc_allowed=1
  using sysctl.
o This is not the "real fix" which involves virtualizing the System V
  IPC namespace, but prevents processes within jail from influencing those
  outside of jail when not approved by the administrator.

Reported by:	Paulo Fragoso <paulo@nlink.com.br>
2000-10-31 01:34:00 +00:00
markm
44bd1e3405 Convert the de driver into a loadable module. Still missing is an
unload method. Lots of old cruft is removed.

Thanks to WPaul for large clue-injection and debugging services.

Reviewed by:	wpaul
2000-10-31 01:25:10 +00:00
obrien
0002ff665c GCC uses .asm files on the Alpha for crt{begin,end}.o rather than
crtstuff.c as they do for other platforms.

Moral support from:	jdp
2000-10-31 01:06:28 +00:00
msmith
32bfa9aed6 Move 'tw*' after 'twe*' so that it's possible to create the control device
for the 'twe' driver.  This is an expedient solution for an
actually-manifesting symptom of a major problem with MAKEDEV.  Roll on
DEVFS.
2000-10-31 00:21:41 +00:00
wpaul
6b4867d2a7 Call dc_apply_fixup() in dc_setcfg() for the MII case. 2000-10-31 00:06:39 +00:00
wpaul
e8873159dd Grrr. The 'reg' variable in dc_apply_fixup() needs to be a u_int32_t, not
a u_int8_t. Pass the conical hat. This should fix certain cardbus 21143
cards that require SROM h0h0magic in order to enable their transceivers.
2000-10-30 23:51:39 +00:00
jkh
34665aef12 Changes have been made to support a concept of VAR_FIXIT_TTY being
standard or serial.  This change needs to be done to the entire system that
depends on this.  This way we don't have some code using OnVTY checks
and other doing
        strcmp(variable_get(VAR_FIXIT_TTY), "standard") == 0
checks.  Also we need to set VAR_FIXIT_TTY to "serial" if we come up on
a serial console.

Also fixed a dialog problem in that dialog was used when dialog was
disabled causing some troubles such as not letting the cursor keys
work when exiting the fixit mode on media (ie. not the fixit shell but
for example fixit on a floppy).

Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
PR:		22352
2000-10-30 23:46:12 +00:00
jhb
3018395094 Add an entry for the Xircom 10/100 Network PC Card adapter. 2000-10-30 23:34:44 +00:00
scottl
d9c16435ec Update to reflect that the XPT device can accept path inquiry commands.
Reviewed by:	gibbs
2000-10-30 23:33:39 +00:00
scottl
b7e3f40cd5 Allow XPT_PATH_INQ to be performed on the XPT device, as per the CAM spec.
Return ENOTSUP for XPT_ENG_INQ and XPT_ENG_EXEC when performed on the XPT
device.

Reviewed by:	gibbs
2000-10-30 23:30:28 +00:00
bmah
96e124af5f Note ipfilter update to 3.4.12, cd(4) support for write operations,
MFC of OpenSSH-2.2.0, MFC of chio(1) enhancements, MFC of libisc
import, mergemaster improvements.
2000-10-30 21:43:27 +00:00
sos
0b40116611 Try a bit harder to test for ATA/ATAPI HW to probe, this is to avoid
some of the false comrades some devices fakes...
2000-10-30 20:45:24 +00:00
phk
47715a6eb1 Remove an evil conditional nested include of <sys/systm.h> 2000-10-30 20:37:45 +00:00
phk
cbbd2b08c2 Add a missing <sys/systm.h> 2000-10-30 20:37:19 +00:00
phk
937783b154 Add back some #include <sys/systm.h> which were needed when <sys/ktr.h>
doesn't mess us up.

Noted by:	Harti Brandt <brandt@fokus.gmd.de>
2000-10-30 20:37:01 +00:00
phk
103fe7d4ab Comment out the (old) acpi stuff, it breaks LINT. 2000-10-30 20:35:31 +00:00
rwatson
356ee2efc8 o Tighten up rules for which processes can't debug which other processes
in the p_candebug() function.  Synchronize with sef's CHECKIO()
  macro from the old procfs, which seems to be a good source of security
  checks.

Obtained from:	TrustedBSD Project
2000-10-30 20:30:03 +00:00
sheldonh
4b00fdc3f6 Whitespace only:
* Remove hard sentence breaks.
 * Remove trailing whitespace.
 * Separate macro arguments from trailing punctuation with whitespace.
2000-10-30 19:49:26 +00:00
sheldonh
ef41f174d6 Fix nits introduced in rev 1.9:
Remove single-space hard sentence break.
	Mark errno up as a Variable (Va).
2000-10-30 19:43:30 +00:00
bmah
3ab53d2eba MFC: Fix typo: Melco Inc. sells LUA-TX, not LU-ATX.
PR:		misc/22383
Submitted by:	WAKABAYASHI Susumu <susumu@wakabaya.net>
2000-10-30 19:09:50 +00:00
bmah
d175f1144c Note MFC to 4-STABLE of mly(4) driver.
Submitted by:	msmith
2000-10-30 18:52:22 +00:00
brian
77cc3172cc Drop PKT_ALIAS_IGNORED packets if ``nat deny_incoming yes'' is in effect.
Approved by: rwatson, ru
2000-10-30 18:02:01 +00:00
ru
e25226e0c4 Added boolean argument to link searching functions, indicating
whether they should create a link if lookup has failed or not.
2000-10-30 17:24:12 +00:00
sos
32aa560075 Update the Promise RAID code, there are differences between BIOS
version unfortunately...
2000-10-30 17:11:40 +00:00
hm
958b417e33 Remove unused #include statements
Submitted by:	phk
2000-10-30 14:49:26 +00:00
asmodai
bee55593c7 Replace old sigaction struct declaration with the new one as present
in <sys/signal.h>.

This might be a shortterm fix until the manpage is updated towards
POSIX terminology.  And maybe not...

PR:		21542
Submitted by:	Ronald F. Guilmette <rfg@monkeys.com>
2000-10-30 14:27:18 +00:00
sanpei
c7198e891e MFS:
cosmetic changes

	use /etc/pccard_ether for Xircom CreditCard Netwave
	and 3Com Corporation" "3C562" (BUT NOT SUPPORTED).

	fix `card line' of RATOC REX-5572 (as SCSI only)

	use `config auto' for RATOC REX-5536AM, REX-9836A,
	ICM PSC-2401 SCSI
2000-10-30 14:26:52 +00:00
asmodai
2bc01a1e62 Correct incorrect information about the PATH used for exec*() calls.
PR:			21990
Partially submitted by:	Gerhard Sittig <Gerhard.Sittig@gmx.net>
2000-10-30 13:39:23 +00:00
asmodai
5e2215e426 Whitespace only change: trim trailing whitespace. 2000-10-30 13:23:19 +00:00
ru
390de194cd A significant rewrite of PPTP aliasing code.
PPTP links are no longer dropped by simple (and inappropriate in this
case) "inactivity timeout" procedure, only when requested through the
control connection.

It is now possible to have multiple PPTP servers running behind NAT.
Just redirect the incoming TCP traffic to port 1723, everything else
is done transparently.

Problems were reported and the fix was tested by:
		Michael Adler <Michael.Adler@compaq.com>,
		David Andersen <dga@lcs.mit.edu>
2000-10-30 12:39:41 +00:00
obrien
a2cdf6684f Start using crt[in].o to adhear to the ELF ABI
(and crtstuff.c's requirements).
2000-10-30 12:25:22 +00:00
non
5810e717b6 Remove unused #includes.
Submitted by:	phk@FreeBSD.ORG
2000-10-30 12:21:19 +00:00
guido
4c8593424d Now that the amount of (pseudo) interfaces is growing with IPv6,
get rid of stupid upperbound on the amount of interfaces (was 8).
2000-10-30 11:53:19 +00:00
kris
b6750dacb9 This commit was generated by cvs2svn to compensate for changes in r67957,
which included commits to RCS files with non-trunk default branches.
2000-10-30 11:03:32 +00:00
kris
39f0a768bf Initial import of AES algorithm code (aka Rijndael) from KAME. 2000-10-30 11:03:32 +00:00
n_hibma
1d96bec3d9 remove an unused function (and a warning) 2000-10-30 10:58:02 +00:00
n_hibma
f4add8691c Add entry for umodem 2000-10-30 10:55:03 +00:00
obrien
d435a5b588 Catch a left over reference to "/a". 2000-10-30 10:54:09 +00:00
dougb
dc9158e1bf Add several new features, reorder some code, and continue with the
process of making the script more cross platform friendly.

* Add -i option to automatically install files that do not exist
  on the system already.
* Add the ability to specify DESTDIR.
* Allow the user to specify scripts to run right before the
  comparison starts, and when mm is done. This will
  allow the user to specify customized local behavior, and
  implement features such as automatically deleting files.
* Document the above changes in the man page.
* Switch to using 'ident' for the CVS Id comparison, which
  should help with portability, and makes it faster.
* Reorder, and in one case fix some code by doing things in
  ways that make more sense.
* Check to see if the file exists on the system before doing
  the comparisons. This saves CPU cycles, and streamlines
  the auto-install process.

I used bits and pieces of suggestions and patches from various
people, ultimately too numerous to name. Which is not to say
that they were not both appreciated, and helpful in achieving
the ultimate result.
2000-10-30 10:33:51 +00:00
obrien
516660c161 string.h has been repo copied to mystring.h 2000-10-30 10:04:56 +00:00
ru
6667b54a02 IPFW does not discard *any* IP fragments with OFF=1, only TCP ones. 2000-10-30 09:44:20 +00:00
sos
cc816837b4 Fix the PCCARD ATA breakage..
This is due to a bug that has been in there since Warneer did the
PCCARD stuff, the altioaddr is not offset 8 its offset 14 from
the base address.
Also only probe the master device, no known PCCARD ATA thingies
has a slave AFAIK..
2000-10-30 09:36:40 +00:00
ru
c4bae732d2 Add pfil.9 manpage to build after a repository copy. 2000-10-30 09:16:18 +00:00
kris
2ba8b5cbd1 Revert previous commit after discussion with phk. 2000-10-30 09:13:46 +00:00
phk
3a2a8a7633 Remove unused #includes
Reviewed by:	ken
2000-10-30 08:08:00 +00:00
wpaul
5b7c9f6a51 Fix support for cardbus cards:
- Add DRIVER_MODULE() declaration to make this driver a
	  child of cardbus
	- Handle different width EEPROMs

The CIS parser still barfs when scanning this card, but it seems to
probe/attach correctly anyway. I can't do a traffic test just yet
since I don't have a proper crossover cable handy.
2000-10-30 07:54:38 +00:00
phk
b839b1116f Remove more unused #includes. 2000-10-30 07:42:06 +00:00
ume
5c6ec8702b install rc.firewall6. 2000-10-30 07:12:21 +00:00
ken
3096d95ce6 Write support for the cd(4) driver.
This allows writing to DVD-RAM, PD and similar drives that probe as CD
devices.  Note that these are randomly writeable devices, not
sequential-only devices like CD-R drives, which are supported by cdrecord.

Add a new flag value for dsopen(), DSO_COMPATLABEL.  The cd(4) driver now
uses this flag instead of the DSO_NOLABELS flag.  The DSO_NOLABELS always
used a "fake" disklabel for the entire disk, provided by the caller.

With the DSO_COMPATLABEL flag, dsopen() will first search the media for a
label, and if it finds a label, it will use that label.  Otherwise it will
use the fake disklabel provided by the caller.  This provides backwards
compatibility, since we will still have labels for ISO9660 media.

It also provides new functionality, since you can now have a regular BSD
disklabel on read-only media, or on writeable media (e.g. DVD-RAM).

Bruce and I both think that we should eventually (in a few years) get
away from using disklabels for ISO9660 media, and just use the whole disk
device (/dev/cd0).  At that point disklabel handling in the cd(4) driver
could follow the "normal" model, as used in the da(4) driver.

Also, clean up the path in a couple of places in cdregister().  (Thanks to
Nick Hibma for catching that bug.)

Reviewed by:	bde
2000-10-30 07:03:00 +00:00
imp
faf88bf19c Add some additional message types for coming raylan driver from Duncan
Barclay.
2000-10-30 06:03:57 +00:00