Commit Graph

139559 Commits

Author SHA1 Message Date
jmmv
0562a5484c Make all creation operations (mkdir, create, mknod and symlink) consistent
by changing the symlink one to set vap's vatype to VLNK.  All the other three
already set vatype to the correct type.  Note that, however, in the mkdir
case (and now symlink too) this is not strictly necessary.
2005-08-30 09:37:41 +00:00
xtraeme
47216f8470 Remove __P() 2005-08-29 23:57:35 +00:00
xtraeme
529eaccb6b The maximum file size on MS-DOS filesystems is 4 GB - 1 byte, so
don't bother trying to write files bigger than this.  Just return
EFBIG to caller, rather than panic()ing later.

From OpenBSD.

This closes my PR kern/30864: "panic when copying files of >4GB on msdosfs"
2005-08-29 23:22:05 +00:00
bouyer
3f34a9f7b6 In __wdccommand_start(), don't cann wdcwait() with ata_c->flags, as this gives
information about the context in which wdc_exec_command() was called, but
we may be in interrupt context here. Call wdcwait() with flags derived from
xfer->c_flags instead, as do other wdcwait() callers.
Should fix kern/31083 by Jukka Salmi.
2005-08-29 19:30:07 +00:00
drochner
a45a6c9839 in mapply(), call config_match() instead duplicating its code 2005-08-29 19:13:48 +00:00
drochner
f8a97e785b remove the interface attribute (defining the "channel" locator) from
all the XXXide mutants -- this is handled by the "ata" attribute already
2005-08-29 19:11:33 +00:00
bouyer
02f20190a2 wd->atabus->ata_bio() should handle the multi-sector PIO transfers just fine,
and in a better way than what is done in wddump() (which also does it
for DMA transfers, limiting the dump speed significantly). So remove
code splitting transfers in wd->sc_multi chunks from wddump(), and call
wd->atabus->ata_bio() with the whole transfers.

Problem reported by Frank Kardel, and patch tested by him.
2005-08-29 19:05:54 +00:00
kleink
57c7261a23 tzcode2005m out; tzdata2005m out and imported. 2005-08-29 19:00:21 +00:00
kleink
d8302b8f79 Update for tzdata2005m. 2005-08-29 18:59:12 +00:00
kleink
efa0c35187 Merge tzdata2005m. 2005-08-29 18:57:16 +00:00
kleink
2c698fdc25 Import tzdata2005m. 2005-08-29 18:55:15 +00:00
drochner
c968476ae0 don't rely on undocumented behaviour: we don't know which thread
the signal is delivered to
(without that pthread_sigmask(), the test fails also on Linux)
2005-08-29 18:52:16 +00:00
drochner
4b58be0197 rely a bit less on undocumented behaviour: we don't know which thread
the signal is delivered to, and we can't be sure it is delivered
synchonously
(without that sleep(), the test fails also on Linux)
2005-08-29 18:49:14 +00:00
kiyohara
79d0fb55e5 Remove '#if defined(cobalt)'. 2005-08-29 17:20:31 +00:00
gson
c1b877ce29 Update description of struct usb_device_info to match the current
definition in usb.h revision 1.72.
2005-08-29 11:49:36 +00:00
kochi
69ee2c372f The latest ACPI-CA version is 20050624. 2005-08-29 05:54:28 +00:00
taca
7fb995c950 Add ioctl_copyin(9) and ioctl_copyout(9) for catman pages. 2005-08-29 05:40:17 +00:00
reinoud
b28d0c5529 Document executed SCSI commands with the IOCTL's to prevent confusion. 2005-08-28 22:51:01 +00:00
rpaulo
c5a8fe81ae Use net.inet6.{ip6,udp6,pim6,raw6}.stats for live systems.
Reviewed by Elad Efrat.
2005-08-28 21:06:57 +00:00
rpaulo
3bb81503bf Implement net.inet6.raw6.stats sysctl.
Reviewed by Elad Efrat.
2005-08-28 21:04:09 +00:00
rpaulo
5872b8775c Implement net.inet6.pim6.stats sysctl.
Reviewed by Elad Efrat.
2005-08-28 21:03:18 +00:00
rpaulo
3995141ceb Implement net.inet6.ip6.stats sysctl.
Reviewed by Elad Efrat.
2005-08-28 21:01:53 +00:00
rpaulo
151760f5d2 Implement net.inet6.udp6.stats.
Reviewed by Elad Efrat.
2005-08-28 21:01:02 +00:00
reinoud
f4a3f04cb2 Create functions ioctl_copyin() and ioctl_copyout(). They are meant to be
used in ioctl routines to do the right thing when the FKIOCTL flag is
passed to the IOCTL routine indicating its a in-kernel VOP_IOCTL call and
indirect addresses provided in the arguments are to be seen as kernel
adresses rather than userland adresses.

A simple substitution and prepending of the `flags' passed on to the ioctl
handler is enough to DTRT.
2005-08-28 20:58:14 +00:00
dsl
e8d475bd48 Increase width of menu to allow for longer spanish message for selecting units. 2005-08-28 19:57:25 +00:00
thorpej
9d646fdcfa Note UFS1 extended attribute changes. 2005-08-28 19:38:56 +00:00
thorpej
e1afed9c2d Experimental support for extended attributes on UFS1 file systems, using a
backing file per attribute type indexed by inode number to hold the extended
attributes.

This is working pretty well on my test systems, except for the "autostart"
feature.  I need someone with a better handle on the VFS locking protocol
to go over that.

This is a work-in-progress.  There are parts of this that could be re-factored
allowing this approach to be used on other types of file systems.

Adapted from FreeBSD.
2005-08-28 19:37:58 +00:00
thorpej
3876130b24 Remove unused and incorrect macro BGE_HOSTADDR(). 2005-08-28 19:24:57 +00:00
rpaulo
a49638942e net.inet?.*.stats are viewable with netstat(1). 2005-08-28 16:18:04 +00:00
rpaulo
51345e62d3 Use net.inet6.tcp6.pcblist, net.inet6.tcp6.stats (not implemented yet) and
net.inet6.icmp6.stats if we are gathering information from a live system.

Reviewed by Elad Efrat.
2005-08-28 16:12:35 +00:00
kiyohara
05f9545b7a Fix misstake regen. 2005-08-28 15:39:12 +00:00
kiyohara
89a1921f3a Fix locator specified by sbp(4). 2005-08-28 15:22:06 +00:00
kiyohara
4fc12adbbd regen. 2005-08-28 15:01:09 +00:00
kiyohara
3e7c870116 Add DAVICOM DM9102. 2005-08-28 14:59:34 +00:00
yamt
9020ca379a protect p_nrlwps by sched_lock. no objection on tech-kern@. PR/29652. 2005-08-28 14:57:18 +00:00
tsutsui
912e6b6757 options<space><tab> 2005-08-28 13:23:22 +00:00
dsl
023b2922f8 Comment out the vstab entries generated for alternate root filesystems.
Marking the 'noauto' isn't enough to stop the code that remounts root rw
trying to use them.
2005-08-28 13:10:20 +00:00
tsutsui
ee0931f86c TAB/space cosmetics. 2005-08-28 13:08:16 +00:00
augustss
407c604a0e Minor cosmetic change. 2005-08-28 12:10:37 +00:00
mrg
cde2923d5b avoid an infinite loop while decompressing invalid gzip files.
some minor CSE.  compare stat return value consistently.

thanks to tron for testing the first change.
2005-08-28 10:17:50 +00:00
christos
2f6bd96c17 coda inodes are still 32 bits. Don't use ino_t in coda_open_out. 2005-08-28 08:57:45 +00:00
christos
f9364a8936 Fix logic error in vndiocget. 2005-08-28 08:56:14 +00:00
christos
98785bd85a Get rid of pam debugging.
XXX: We should do this on the 3.0 branch too.
2005-08-28 07:41:41 +00:00
uwe
b2023157bb Add WSDISPLAY_CUSTOM_OUTPUT &co. 2005-08-28 00:28:41 +00:00
uwe
066571f357 Oops, brain fart. PRIu32 should be "u", not "d". 2005-08-27 23:34:52 +00:00
uwe
b2822da5b4 Get rid of the #if !HAVE_NBTOOL_CONFIG_H kludge. None of host tools
uses this header now.
2005-08-27 22:55:54 +00:00
uwe
25503c6713 When building as host tool don't include "../../include/util.h".
opendisk() declared in that file is not used in this case anyway, and
<util.h> pulls in unwatned includes (e.g. <utmpx.h> doesn't exist on
FreeBSD 4.*).
2005-08-27 22:43:40 +00:00
uwe
d42d0f4fb3 Define PRIu32 in host environments that don't have it defined.
Define it to "d", as we are unlikely to support hosts where int is
smaller than 32 bits anyway :).
2005-08-27 22:38:02 +00:00
uwe
a71ee33abc When building as host tool don't include "../../include/util.h".
getlabel{offset,sector} and opendisk functions declared in that file
are not used in this case anyway, and <util.h> pulls in unwatned
includes (e.g. <utmpx.h> doesn't exist on FreeBSD 4.*).

XXX: We can probably undo the #if !HAVE_NBTOOL_CONFIG_H kludge in
<util.h> now.
2005-08-27 22:21:14 +00:00
uwe
b0e7a6ada3 UINT8_MAX and UINT16_MAX are needed for disklabel. 2005-08-27 22:08:58 +00:00