joerg
403de81b16
Remove unused fields
2012-06-15 10:51:25 +00:00
martin
18118f60c8
Do not try to find the wedge we booted from if opendisk(booted_device)
...
failed.
2012-06-14 20:18:16 +00:00
joerg
0adfd5e0b3
Make sure temp_path is always initialised, even if mklocal fails.
...
Make sure to restore localvars, even if possibly leaking memory.
Discussed with christos@
2012-06-14 18:56:54 +00:00
bouyer
c3ff6f17e5
Disable the mmap_block test again, it doesn't panic when mmaping /dev/wd0d
...
only by accident. PR kern/46592.
2012-06-14 17:47:58 +00:00
sborrill
25290a5966
Set commented out maxproc-cur and openfiles-cur default values to the actual
...
defaults from sys/sys/syslimits.h. Bump maxproc-max too to a typical value.
2012-06-14 09:28:02 +00:00
manu
574c09729f
Fix memory leak when we discard a voided setattr operation
2012-06-14 05:58:22 +00:00
blymn
78c0e4f5d2
Add the CDC protocol identifier "no class specific protocol required"
...
and allow the umodem match routine to match on this protocol. This
allows some recent arduino boards serial interfaces to attach.
2012-06-14 05:14:41 +00:00
riz
94f4463123
Add urtw(4) to i386/amd64 GENERIC.
2012-06-14 04:23:48 +00:00
riz
49449523c7
Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
...
adapt the urtwn(4) driver to use the new files. The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.
While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.
urtwn(4) can now operate without needing external files installed. Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
agc
4775edcbb6
calculate inode capacities using the correct values
2012-06-14 01:08:22 +00:00
macallan
ebbeb0ed68
more preparation for alpha support:
...
- use R3G3B2 colour map
- consistently use ri_devcmap[]
- reshuffle cmap setup, screen cleaning, msg buffer replay etc. to deal
with the above
2012-06-14 00:56:37 +00:00
christos
e5d78d1189
don't print the NULL, but the error
2012-06-14 00:39:33 +00:00
macallan
651641ee60
do some minimal setup if we're not the console
2012-06-14 00:21:55 +00:00
macallan
a0d170a779
cosmetics:
...
- fix/remove outdated comments
- printf() -> aprint_*()
- #if 1 removal
2012-06-14 00:15:07 +00:00
riz
7f5267ea9d
Sort SUBDIR alphabetically. Tested with build.sh -j8 on amd64.
2012-06-13 23:41:09 +00:00
joerg
110cea35a1
Kill conditionals that are always true. Drop a dead assignment.
2012-06-13 23:00:05 +00:00
joerg
15a60c04b8
Ensure that error is initialized in all code paths.
2012-06-13 22:56:50 +00:00
riz
76d99a8a77
Add a closing '$' to the RCSID tag.
2012-06-13 21:17:29 +00:00
martin
c2e51849fc
Per discussion on tech-userlevel, finally fix PR 10127:
...
move all ttyE* entries that use "vt100" emulation to wsvt25 term type.
The terminfo vt220 entry lacked (correctly) a delete key entry, which
was a regression against the netbsd-5 termcap entry. On the other hand,
only a very small number of foreign systems lacks support for wsvt25
nowadays.
2012-06-13 20:49:11 +00:00
mlelstv
6e129cea4e
Make detection of root on wedges (dk(4)) machine independent. Remove
...
MD code for zaurus.
2012-06-13 20:04:30 +00:00
martin
1ed0d3ad05
On second thought, do not store a binary file in the repository, instead
...
use the uuencoded version.
2012-06-13 19:44:14 +00:00
martin
853d84df1f
The NetBSD logo, when rendered with a binary transparency mask like we
...
used to do it for the xdm greeter, looks extremely ugly.
Unfortunately xdm has no means to load and mix alpha channel images,
so provide a png file and precomputed xpms with proper background colour
for the greeter.
If users change their greeter resources and change the background, they will
have to regenerate that xpm file, provide proper instructions for this.
While there, use less clunky fonts (hi Jared!).
XXX the fonts are not exactly perfect, if anyone feels like fine tuning
this further, please be my guest.
2012-06-13 18:51:35 +00:00
perseant
35e5ee1088
Sanity check the values coming back from the int13 extensions of the bios,
...
so we can catch impossible return values. Allows the bootloader to work
again on the Soekris net4501.
Fixes PR kern/46027.
2012-06-13 18:34:20 +00:00
njoly
69cf62c5e6
Add some descriptions to machdep.unaligned_* sysctls.
2012-06-13 17:13:41 +00:00
njoly
e1828ac1bb
Skip sigbus_adraln testcase on alpha unless global
...
machdep.unaligned_sigbus sysctl is enabled.
2012-06-13 11:45:17 +00:00
dholland
61f93db25f
Rectify race condition in rm -P processing by checking that the file
...
we opened is the one we expected to get. Also use O_NOFOLLOW to help
avoid even opening devices, which sometimes produce side effects.
Reported by Radoslaw A. Zarzynski.
2012-06-13 07:35:37 +00:00
manu
08f6c5569f
Fix memory leak on setattr
2012-06-13 01:45:56 +00:00
christos
c38c69a23f
check thread limit
2012-06-12 23:56:19 +00:00
bouyer
22cc6b2833
If the user process provided a bogus signal handler address, kill it
...
now instead of trying to jump to the bogus address.
2012-06-12 22:16:05 +00:00
jdf
3a6070abd3
Use correct macro (.Nm is only used within the NAME section, for section 3
...
manpages).
Patch provided by Bug Hunting.
2012-06-12 21:16:17 +00:00
jdf
fbff87ca03
* decapitalize NAME section's line
...
* improve wording
* make RETURN VALUES section consistent with other man pages' (e.g. exit(3) and
abort(3)
Patch provided by Bug Hunting.
2012-06-12 21:06:43 +00:00
jdf
3b4194fe31
Capitalize sentences.
...
Patch provided by Bug Hunting.
2012-06-12 21:01:10 +00:00
joerg
19434947ab
Fix a case where an uninitialized USB pipe could be freed in the error
...
path.
2012-06-12 20:25:58 +00:00
joerg
b1e1b1d4c2
Replace __dead, __unused and the various printf format attributes
...
with versions prefixed by MAKE_ATTR_* to avoid modifying the
implementation namespace. Make sure they are available in all places
using nonints.h to fix bootstrap on Linux.
2012-06-12 19:21:50 +00:00
christos
a7879b44e9
make sure that signal handlers are always initialized.
2012-06-12 19:03:26 +00:00
joerg
1849ce1af3
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
...
full path. Reported by Dave Huang.
2012-06-12 18:17:04 +00:00
yamt
98c82cc1ae
intr_find_mpmapping: comments and cosmetic. no functional changes.
2012-06-12 17:26:29 +00:00
yamt
721722497b
cpu_load_pmap: disable interrupts. add a comment to explain why. PR/44995
2012-06-12 17:14:19 +00:00
rjs
be206df192
Add radeon_xvmc.c, new in 6.14.4.
2012-06-12 12:26:42 +00:00
isaki
f28248caf4
Allows you to disable it if makemandb=NO in rc.conf.
...
Thanks tsutsui@ and Yasushi Oshima.
2012-06-12 02:25:29 +00:00
christos
65fcd43bd2
cross reference getfsspecname(3)
2012-06-11 23:28:19 +00:00
wiz
ec2472a392
sqlite3-3.7.13 out.
2012-06-11 21:39:49 +00:00
agc
6b981736db
cosmetic change: fix two casts to be of the appropriate type
2012-06-11 21:11:40 +00:00
njoly
8d31656afc
New testcase to check limits flags for ulimit builtin.
2012-06-11 18:32:59 +00:00
njoly
089201c2fd
Allow thread limit queries by adding the new -r flag to ulimit. Add
...
the corresponding documentation in the man page.
2012-06-11 18:28:10 +00:00
tsutsui
0a449abb14
Make i915drm work on Atom N4xx/D410/D510 + GMA3150 integrated graphic devices.
...
Patch is taken from FreeBSD:
http://www.freebsd.org/cgi/query-pr.cgi?pr=143427
and tested on MSI U135DX running NetBSD/i386 6.0_BETA2 with this patch.
Should be pulled up to netbsd-6.
2012-06-11 16:51:04 +00:00
tsutsui
f6b04c4370
- explicitly include <machine/pcb.h> for struct pcb
...
- consistently use
#if NKSYMS || defined(MODULAR) || defined(DDB) || defined(KGDB)
to check kernel symbols otherwise build fails if none of them are defined
Reported by Yasushi Oshima.
2012-06-11 16:41:26 +00:00
tsutsui
4f16d5a2d9
Explicitly include <machine/pcb.h> for struct pcb.
2012-06-11 16:27:58 +00:00
tsutsui
d64da08176
Explicitly include <machine/pcb.h> for struct pcb.
...
Fixes build error on GENERIC + no options DDB, reported by Yasushi Oshima.
Should be pulled up to netbsd-6.
2012-06-11 16:27:08 +00:00
hannken
58d3be794f
File system snapshots are no longer experimental.
...
Forgot to chang this man page in Nov 2011.
2012-06-11 15:25:14 +00:00