Commit Graph

53525 Commits

Author SHA1 Message Date
ken
991827a2ea 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
4ca712bbac Add some additional message types for coming raylan driver from Duncan
Barclay.
2000-10-30 06:03:57 +00:00
obrien
9affcc0794 Alpha verions of the crt initialization and finalization files required
by the ELF ABI.
2000-10-30 05:21:08 +00:00
vanilla
86080b40dd Change "PERL_THREADED=yes" to "PERL_THREADED=true". 2000-10-30 04:52:33 +00:00
mjacob
0782fe1a96 Remember to decrement interrupt nesting level if leaving early
(in the unlikely case we get a clock interrupt on a non-primary CPU).
2000-10-30 04:18:54 +00:00
vanilla
7f74c53f13 Add suffix "-thread" to archname when perl with thread support.
Approved by:	markm
2000-10-30 03:27:06 +00:00
gad
247b0ae936 Change my email on MAINTAINER from an RPI address to my FreeBSD address. 2000-10-30 01:09:32 +00:00
brian
52b542b382 Add ``all'' logging.
Submitted by: eivind
2000-10-30 00:15:35 +00:00
brian
81f3fa8c1a Bump our version to reflect the recent MPPE additions (and ccp struct
size change).
2000-10-30 00:15:34 +00:00
brian
0c4b3b4810 Move the MPPE keysize display in ``show ccp''. 2000-10-30 00:15:33 +00:00
brian
a9774df976 Various whitespace changes.
Make some functions static.
2000-10-30 00:15:29 +00:00
brian
3f2f60366b staticise mbuftype() 2000-10-30 00:15:27 +00:00
brian
a1fe609fda Add MPPE and MSChap v2 support (denied and disabled by default)
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
2000-10-30 00:15:04 +00:00
steve
aafd28a3fc Add two new classes of problem reports primarily for the Ports Collection:
- update: For submitting non-maintainer updates/changes
	- maintainer-update: For submitting maintainer updates/changes

The intent is to make it easier to spot maintainer sactioned or submitted
updates to ports though it might also be useful for userland code that is
maintained by someone that is not a FreeBSD committer.

Submitted by:	nbm and many others
2000-10-29 22:11:39 +00:00
steve
55b668a2db Update to version 3.113. Major changes were to incorporate FreeBSD-
specific changes into the original distribution (although sometimes
with a slightly different approach) and to add two commandline
options to send-pr(1):

	-c	which allows you to specify an address to CC this
		PR to
	-s	allow the severity to be specified on the commandline

PR:		17922
2000-10-29 22:05:52 +00:00
alc
553cd82ddb _aio_aqueue(): Change kevent registration to use its own struct file pointer.
Otherwise, aio_read() and aio_write() on sockets are broken if a kevent is
 registered.  (The code after kevent registration for handling sockets assumes
 that the struct file pointer "fp" still refers to the socket, not the kqueue.)
2000-10-29 21:38:28 +00:00
ume
d6140ecde3 - ipv6_prefix_* and ipv6_ifconfig_* work for end node
- rtsol should be work for only one interface
- new variable ipv6_defaultrouter is added
- option name of rtadvd in comment are corrected
- ipv6_firewall_enable, ipv6_firewall_type, ipv6_firewall_script,
  ipv6_firewall_logging are added to introduce rc.firewall6.

IPv6 firewall rule is just starting point and should be brushed up.
This commit includes PR18621, PR21694, PR22051.

PR:		conf/18621, conf/21694, conf/22051
Reviewed by:	asmodai
2000-10-29 19:59:05 +00:00
phk
b91becc667 Allow all users to access the dev -> devname sysctl. 2000-10-29 19:50:06 +00:00
phk
d192b96f81 Remove unneeded <stddef.h> #includes. 2000-10-29 16:57:42 +00:00
ume
32ca223329 - Sync with latest manpage of rtadvd.
- Ripped MIP6 related description out.  MIP6 is not merged, yet.

Obtained from:	KAME Project
2000-10-29 16:44:10 +00:00
dwmalone
4823414e43 Make a few more mallocs use M_ZERO.
Submitted by:	josh@zipperup.org
Submitted by:	Robert Drehmel <robd@gmx.net>
Approved by:	imp
2000-10-29 16:29:05 +00:00
gallatin
0d595b128b Unmask cypress ata controllers. This bug was hidden before
the addition of the serverworks isab support because the
cypress case was the last one in the switch
2000-10-29 16:27:40 +00:00
dwmalone
da98718eb6 Make malloc use M_ZERO in some more locations.
Don't check for a null pointer if malloc called with M_WAITOK.

Submitted by:	josh@zipperup.org
Submitted by:	Robert Drehmel <robd@gmx.net>
Approved by:	bp
2000-10-29 16:14:28 +00:00
sumikawa
0d391adc5d Fix memory leak.
Obtained from:	KAME
2000-10-29 16:10:48 +00:00
phk
00ff95c136 Move suser() and suser_xxx() prototypes and a related #define from
<sys/proc.h> to <sys/systm.h>.

Correctly document the #includes needed in the manpage.

Add one now needed #include of <sys/systm.h>.
Remove the consequent 48 unused #includes of <sys/proc.h>.
2000-10-29 16:06:56 +00:00
des
09145c8747 Use CHECK_FLAG 2000-10-29 15:56:10 +00:00
nik
700493662f Fix a typo in a date line. I wouldn't normally ignore MAINTAINER, but the
PR's been assigned to Warner since June.

PR:		docs/18835
Submitted by:	shirota@mbox.media.nagoya-u.ac.jp
2000-10-29 15:55:15 +00:00
des
74f9f6c46f Stricter error checking in the I/O functions. 2000-10-29 15:52:05 +00:00
nik
dd4d7fd497 Link kbdmap.5 to keymap.5
PR:		docs/19995 docs/20298
2000-10-29 15:49:03 +00:00
dwmalone
bd1208d8c5 Add the use of M_ZERO to some malloc calls.
Submitted by:	josh@zipperup.org
Submitted by:	Robert Drehmel <robd@gmx.net>
Approved by:	gibbs
2000-10-29 15:47:16 +00:00
des
35556e7484 Add CHECK_FLAGS, a macro for (safely) checking if a particular flag is set. 2000-10-29 15:45:31 +00:00
des
4dc296ff41 Insetad of using fileno(ftp) as stdin for tar, use a pipe and have the
parent pass the data received from the server to the child.
2000-10-29 15:39:51 +00:00
phk
10f128d440 Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing
the offending inline function (BUF_KERNPROC) on it being #included
already.

I'm not sure BUF_KERNPROC() is even the right thing to do or in the
right place or implemented the right way (inline vs normal function).

Remove consequently unneeded #includes of <sys/proc.h>
2000-10-29 14:54:55 +00:00
nik
ccef5c955a .Xr to mount_ext2fs, mount_hpfs, mount_linprocfs, mount_nwfs, and
mount_std.

PR:		docs/20369
Submitted by:	bmah
2000-10-29 14:45:36 +00:00
n_hibma
37aea887b9 Entry for umodem0 devices, 124. 2000-10-29 14:06:12 +00:00
phk
05fcfd3993 Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
n_hibma
0b0d1a4306 Be explicit about the fact that you can only specify one IP address/hostname 2000-10-29 13:49:18 +00:00
asmodai
5232ef44fe Break a line more appropriately. 2000-10-29 13:37:13 +00:00
asmodai
7ee6d7da6e Whitespace only commit. 2000-10-29 13:33:57 +00:00
asmodai
985de6af71 Update the twe manpage to correspond with the latest source changes.
Submitted by:	msmith
2000-10-29 13:31:24 +00:00
eivind
736563d71f Back out previous commit (MLINK malloc.conf.5 -> malloc.3).
This did not work correctly with whatis(1).

Issue brought up by:	mpp
2000-10-29 13:20:24 +00:00
sos
9002a5f803 Add the ATA RAID device 'ar'. 2000-10-29 13:04:04 +00:00
des
99fca0398c Document FTP_PASSIVE_MODE and FTP_PASSWORD.
PR:		docs/20626
Submitted by:	nik
2000-10-29 12:58:08 +00:00
jedgar
137dcbe72f Remove obsolete /dev/drum references
Reviewed by:	alex, asmodai, billf
2000-10-29 12:19:52 +00:00
dougb
28605ae967 The previous commit had the fascinating side effect of bringing the
openssl version 0.9.5a version of this file into RELENG_5. This is
a good thing, but should be documented.
2000-10-29 10:19:55 +00:00
darrenr
e29079e225 fix warning compile error about unused variable 2000-10-29 10:07:43 +00:00
dougb
98b45016b2 Add a CVS Id tag 2000-10-29 10:00:58 +00:00
eivind
0c267d61b2 Add link malloc.conf.5 -> malloc.3 2000-10-29 09:59:35 +00:00
phk
271b521d5e Fix params passed to pci_porten() and pci_memen(). 2000-10-29 09:59:28 +00:00
eivind
5523c894ed Teach sysinstall how to restart itself on Ctrl-C (as an addition to its old
tricks of rebooting and continuing where it was.)

Reviewed by:	jkh, jhb
2000-10-29 09:57:50 +00:00