Commit Graph

181458 Commits

Author SHA1 Message Date
rmind 57aadb4062 sysctl_inpcblist: fix a lock leak in error path (hi <matt>). 2009-06-07 16:20:29 +00:00
phx b6a174c94b MSGBUFADDR creates a msgbuf at a fixed address, usually defined by the port's
config file.
The use of MSGBUGADDR was already prepared in powerpc/oea/pmap.c years ago,
but was never used and missing powerpc/oea/oea_machdep.c. The option will
be used by port amigappc.
2009-06-07 13:37:29 +00:00
zafer 755dd9bd66 fix typo in MLX. It's Malatya. 2009-06-07 12:32:51 +00:00
tonnerre ca936eac8b BSL is the "Basel/Mulhouse/Freiburg Euroairport", not Europort.
Patch contributed in private mail by Marc Balmer.
2009-06-07 11:16:37 +00:00
tron cef801c39d Chuck Berry was born in St. Louis, Missouri, and not in St. Jose,
California. Patch submitted by Marc Balmer in private e-mail.
2009-06-07 10:25:39 +00:00
jnemeth 1bdbe18dce Read in a <module>.prop file if it exists and internalize then pass it
to the <module> being loaded.

XXX A <module>.prop file will override anything on the "command line".
This will be fixed in the next commit.
2009-06-07 09:47:31 +00:00
yamt 6f174f1311 shut up the following assertion failure and add a comment.
panic: kernel diagnostic assertion "!fd_isused(fdp, fd)" failed: file "/siro/nbsd/src/sys/kern/kern_descrip.c", line 175
2009-06-07 09:39:02 +00:00
taca 53a127e0ac Make ip_carp.c compile, fixing usage of CARP_LOG(). 2009-06-07 06:11:18 +00:00
yamt 303f5b9ebd fix comment typos. 2009-06-07 03:12:40 +00:00
agc e4c9a22cd7 Add a test for the null list-packets file. 2009-06-07 01:55:02 +00:00
agc 871e03b1c5 Fix an core dump reported by Oliver Gould - if there is no file from which
to read packets to list, fail with a decent error message.
2009-06-07 01:52:48 +00:00
hubertf 5cf334a3c2 add mlinks for iic manpages 2009-06-06 18:48:09 +00:00
haad 63b509d1c8 Add support for devices which do not support DIOCGDISKINFO ioctl yet. This
change  will restore fsck/newfs on vnd device.
2009-06-06 18:31:29 +00:00
haad 42c8b251b8 Remove debug printfs. 2009-06-06 17:47:50 +00:00
cegger a4c2d5ee50 typo in comment: autconfiguration -> autoconfiguration 2009-06-06 12:56:43 +00:00
haad e936991891 Remove debuging CFLAGS. 2009-06-06 11:09:16 +00:00
mlelstv 61ace358f2 block numbers are measured in f_frsize units. Make -P option
use this instead of f_bsize. Also account for reserved blocks
like normal non-P output.
Fixes PR bin/41541.
2009-06-06 09:30:45 +00:00
mlelstv 3479599edd make space for a trailing \0 in model,revision and serial buffers. 2009-06-06 09:18:55 +00:00
haad 102c1fe812 Add proplib to list of libraries, ifx fsdb build after my getdiskinfo change. 2009-06-06 08:22:24 +00:00
haad ea2ba1c77b Fix my previous commit. 2009-06-06 08:10:06 +00:00
dholland 5fac9138c2 +OOM 2009-06-06 06:46:42 +00:00
ahoka 6903faa67e Update s3 driver to 0.6.1.
Also add a missing object file to build a properly working module.

Closes PR xsrc/41206
2009-06-05 23:37:55 +00:00
ahoka b498a6e0b7 Allow driver version to be set from the makefile instead of
relying on parsing configure scripts.
2009-06-05 23:34:36 +00:00
haad f5b48500f1 Add support for DIOCGDISKINFO to disk like device drivers. Change
partutil.c::getdiskinfo to use it to get disk geometry info.
Use DIOCGWEDGEINFO ioctl to get information about partition size, if disk
driver doesn't support it use old DIOCGDINFO. This patch adds support for
wedge like devices(lvm logical volumes, ZFS zvol partitions) to newfs and
other tools.

No objections on tech-userlevel@.
2009-06-05 21:52:31 +00:00
haad b05bf051db Bump libdevmapper minor number, because of ioctl protocol change. 2009-06-05 20:11:21 +00:00
haad 3deb22c2eb Parse dm param string in libdevmapper and not in a dm target init function.
Create proplib param dictionary entry in libdevmapper and pass it to dm in
dm_ioctl dict.
Param target is then passed to target init function, where is parse. I like
this aproach much better than passing char **argv and trusting to user input.

XXX. Add more sanity checks in kernel.
2009-06-05 19:57:25 +00:00
haad 62e994ce96 Parse dm param string in libdevmapper and not in a dm target init function.
Create proplib param dictionary entry in libdevmapper and pass it to dm in
dm_ioctl dict.
Param target is then passed to target init function, where is parse. I like
this aproach much better than passing char **argv and trusting to user input.

I have bumped minor lib/driver version.

XXX. Add more sanity checks in kernel.
2009-06-05 19:56:40 +00:00
joerg 57b5269dad Explicitly include fcntl.h for O_CREAT to not depend on namespace
pollution.
2009-06-05 19:55:43 +00:00
haad 7147ed320b Add work in support for compiling ccd and cgd drivers as a modules. I forgot
to committ when I have written device module autoloading stuff.
2009-06-05 19:21:02 +00:00
njoly b0b09eac89 Regen for fstatfs. 2009-06-05 16:46:52 +00:00
njoly ca080002aa Add fstatfs syscall. 2009-06-05 16:45:33 +00:00
hubertf 1aba70bb8a From the specs: address 0xff gives the die revision 2009-06-05 12:42:43 +00:00
jnemeth 5ce0121eaa Add a new [-d var] option which when combined with -p and -m will allow
you to delete vars from the existing <module>.prop file.
2009-06-05 11:37:30 +00:00
wiz 70a5053abd postfix-2.6.2 out. 2009-06-05 11:31:51 +00:00
wiz 0246bc0bc2 Sort options. 2009-06-05 09:31:07 +00:00
wiz b7a42d7cb2 Match wording in list to other entries. 2009-06-05 09:29:15 +00:00
wiz 3d125cd052 Drop trailing whitespace. Add a missing continuation line. Use more .An. 2009-06-05 09:27:47 +00:00
jnemeth f6768fff89 grammar fix 2009-06-05 08:40:51 +00:00
skrll 6ae2bb57af Re-arrange and comment out stuff that's not supported yet. 2009-06-05 07:35:29 +00:00
hubertf b290981f9c Add iic(4) manpage, partly taken from OpenBSD. 2009-06-05 07:21:14 +00:00
mrg 06dd613f03 extend 'show event' to take /i /t and /m modifiers, to select interrupt,
trap or misc event types.  you can mix them with /f as well, to show all
including zero events for traps and misc, "show event/ftm"
2009-06-05 04:31:47 +00:00
mrg 8d43cfc54d convert sparc "intrcnt" counters to evcnt(9) style. XXX some of the names
could be better, but i just copied them from the old intrnames in locore.

i benchmarked this with a simple test of ircii ./configure && make, to see
if the additional load/store & arith would cause any noticeable degradation
as the change also converts 32 bit counters to 64 bits.  amusingly, the
only trend i saw in this was that for both portions, i see a consistent
(across at least 8 runs) benefit of about 0.8% improvement.  ie, the newer
larger code size / counter size code actually runs faster for some reason..
maybe there's a cacheline effect in the size of the code?


XXX the current implementation depends on a couple of things:
XXX   - ev_count member of evcnt{} is first and has offset 0
XXX   - that sizeof(struct evcnt) equals 32
XXX if these are not true, locore.s has #error's to catch it
2009-06-05 01:36:07 +00:00
njoly 4c8893bb2f Regen for stat/lstat/fstat syscalls. 2009-06-04 18:01:02 +00:00
njoly 33fdfb68ef Add stat/lstat/fstat syscalls. 2009-06-04 17:59:30 +00:00
christos 432691963c Avoid -mcmodel=kernel so that we can build in PIC mode. 2009-06-04 12:19:35 +00:00
dholland a3c372524a Rectify non-compiling code that appears when DEBUG is defined. 2009-06-04 07:01:16 +00:00
dholland a1be1bdddd Set WARNS=4 here. This got missed on my previous WARNS sweep in games.
Everything appears to compile ok with WARNS=4 anyway though.
2009-06-04 06:51:11 +00:00
dholland 99d95061d4 Remove global scratch string buffer. Don't zoom off the end while reading
user input, either.
2009-06-04 06:47:36 +00:00
dholland 60843edfc7 Remove remaining references to sprintf. 2009-06-04 06:41:50 +00:00
dholland b8bb3787da Make a couple of the logging/printing functions printf-alikes. This removes
most of the calls to sprintf.
2009-06-04 06:27:47 +00:00