christos
41b6684af0
appease gcc.
2009-12-31 19:31:31 +00:00
christos
30da2a8fa7
nuidhash_max is needed by sys_nfssvc
2009-12-31 19:30:45 +00:00
uebayasi
950df2c49d
Use pmap_is_current() where appropriate. No functional changes.
2009-12-31 18:34:56 +00:00
christos
4168f34493
expose the encode and decode string functions for the benefit of history
...
and readline.
2009-12-31 18:32:37 +00:00
christos
8cfe483422
Fix compilation issue with time_t
2009-12-31 16:04:32 +00:00
uebayasi
fd4a9e70d7
pmap_page_remove(): remove an unused local variable; no functional changes.
2009-12-31 16:00:53 +00:00
christos
dc8498bec8
- Document and enable wide character support.
...
- Fix read function compatibility.
2009-12-31 15:58:26 +00:00
tsutsui
58544b9012
Don't use DEV_BSIZE for LABELSECTOR.
...
We have never supported 256byte/sector media, and
current definition won't work on >512byte/sector media.
2009-12-31 15:42:46 +00:00
freza
8d5aeaedb5
Remove unused variable, makes VIRTEX_* kernels compile again.
2009-12-31 13:10:46 +00:00
jruoho
44a36c99e4
As the _PSW control method was deprecated in ACPI 3.0, augment the wake
...
event call with the newer _DSW control method.
ok pgoyette@, jmcneill@
2009-12-31 10:12:51 +00:00
jruoho
0cd8dc4d78
Remove unused locking variables.
...
ok pgoyette@, jmcneill@
2009-12-31 10:07:13 +00:00
jruoho
7baf4db1ca
Add Intel HW Random Number Generator to the list of ignored HIDs.
...
ok pgoyette@, jmcneill@
2009-12-31 10:02:51 +00:00
macallan
608f7f5569
add WSDISPLAY_TYPE_XVR1000
2009-12-31 05:08:05 +00:00
uebayasi
979a25a17e
Correct assertions for PMAP_CACHE_VIPT code; if page coloring is disabled
...
(arm_cache_prefer_mask == 0), pvh_attrs has never PVF_COLORED, so don't assert
it. No functional changes.
2009-12-31 02:36:14 +00:00
elad
a0c694197e
Tiny cosmetics...
2009-12-31 02:20:36 +00:00
jym
df07ada91c
Use banner() instead of amd64's custom use of printf's for copyright
...
notice and total/available memory.
2009-12-31 01:11:28 +00:00
christos
0b9ae3fdf0
Fix wide build, test it, but don't turn it on yet.
2009-12-30 23:54:52 +00:00
rmind
ac4dea4ab5
- nextlwp: do not set l_cpu, it should be returned correct (add assert).
...
- resched_cpu: avoid double set of ci.
2009-12-30 23:54:30 +00:00
rmind
65265dedb7
sched_catchlwp: fix the case when other CPU might see curlwp->l_cpu != curcpu()
...
while LWP is finishing context switch. Should fix PR/42539, tested by martin@.
2009-12-30 23:49:59 +00:00
jakllsch
ded5c676f3
The Dell DRAC5 gives us a zero-length report immediately following
...
a normal report. Thus, ignore zero-length reports. Move some related
report size insanity checking into the UHIDEV_DEBUG case.
Should fix PR/39911.
2009-12-30 23:42:22 +00:00
rmind
ffb9a7ee3c
sigactsunshare(): set reference count in a case of new sigacts allocation.
...
Bug (e.g. memory leak) can happen when using clone(2) call.
2009-12-30 23:31:56 +00:00
elad
2faaca9342
Collapse identical switch cases.
2009-12-30 23:23:58 +00:00
christos
34e53048e6
Wide character support (UTF-8) from Johny Mattsson; currently disabled.
2009-12-30 22:37:40 +00:00
elad
097059fb23
Don't bother caching egid. It'll be removed soon.
2009-12-30 22:12:12 +00:00
jdc
8d1bdbfc44
Check for "ssp-console" and "ssp-control" properties.
...
If we find them, set the baud rate to 115200.
This allows the RSC to be the console on an E250:
sab1 at ebus0 addr 200000-20007f ipl 35: rev 3.2
sabtty2 at sab1 port 0: console i/o
sabtty3 at sab1 port 1
XXX; We should really check the baud rate properties and use those to set
our rates.
2009-12-30 21:03:48 +00:00
abs
6861006e58
Add note on SHLIB_{MAJOR,MINOR,TEENY}
2009-12-30 20:45:46 +00:00
jakllsch
d1721822b6
Apply patch from Matthias Pfaller in PR/42546.
...
The USB HUT v1.11 document states that:
"Typical system software will search for application
collections tagged with either a Mouse or a Pointer usage."
This patch adjusts ums(4) to match not only on
the Mouse usage, but also on the Pointer usage.
2009-12-30 20:38:47 +00:00
nakayama
06bf4e5faa
It seems that accessing to a PCI configration space where devices
...
are unavailable causes data_access_error trap. We need to check a
validity of OF node embeded in pcitag to avoid the trap.
Fixes PR port-sparc64/42545.
2009-12-30 20:20:56 +00:00
elad
579013ded4
Replace uidinfo.h with kauth.h, should fix problems observed by tron@.
2009-12-30 19:47:15 +00:00
elad
d4b368687f
Turn PA_INITIALIZED to a reference count for the pool allocator, and once
...
it drops to zero destroy the mutex we initialize. This fixes the problem
mentioned in
http://mail-index.netbsd.org/tech-kern/2009/12/28/msg006727.html
Also remove pa_flags now that it's no longer needed.
Idea from matt@, okay matt@.
2009-12-30 18:57:16 +00:00
he
09583f6edb
Change prototype of lookup_bootinfo() so that it matches the
...
implementation again.
2009-12-30 18:39:03 +00:00
elad
149888f85d
Always use resource limits from the process, as proposed in
...
http://mail-index.netbsd.org/tech-kern/2009/12/30/msg006756.html
okay christos@.
2009-12-30 18:33:53 +00:00
nakayama
1f8a3254d1
Fix function name in debug messages, remove trailing space and tabify.
2009-12-30 17:16:49 +00:00
elad
67a179c338
Use the right member to store gid in the non-NetBSD case.
...
Pointed out by uebayasi@ and cegger@, thanks!
2009-12-30 16:49:02 +00:00
wiz
4a0fd88b26
Add missing dot.
2009-12-30 14:53:02 +00:00
abs
fb1a714458
Add brief line on SHLIB_MAJOR, SHLIB_MINOR and SHLIB_TEENY in comments
...
section - addresses PR bin/39693
2009-12-30 12:34:13 +00:00
elad
cd2e2d5571
Get uid/gid from the socket's credentials.
2009-12-30 07:00:01 +00:00
elad
1d8d325447
Get the uid from the socket's credentials.
2009-12-30 06:59:32 +00:00
elad
7bbc644a97
Use credentials from the socket.
2009-12-30 06:58:50 +00:00
jnemeth
7f88d89f59
mdoclint
2009-12-30 01:37:17 +00:00
jakllsch
d1abbc9f95
Ensure that the memory or i/o space we need is accessible at attach
...
and resume.
Rework register mapping code path, using 'goto', so duplicate code
is reduced.
I've tested this on nvidia and sis auich(4)-compatible controllers.
In addition this change is reported to fix PR/39652.
2009-12-30 00:24:38 +00:00
haad
7d611c439e
Mention problems which disk api have with concurrent usage remove splbio
...
line from man page because it is not true anymore, mention disk_isbusy and
add dm driver to references.
2009-12-30 00:08:01 +00:00
haad
36fe06980c
Add private lock to dm_dev_t used for mutual exclusion for diks(9) api
...
routines. This change fixes PR kern/42532.
2009-12-29 23:37:47 +00:00
mrg
35ea637d2b
avoid some subdirs that need -lcrypto, for MKCRYPTO=no.
2009-12-29 23:01:09 +00:00
he
1058cef38c
To unbreak the build, temporarily remove the build of libelf here,
...
since no other part of the build depends on this yet.
Suggested as a temporary workaround by thorpej@
2009-12-29 22:13:00 +00:00
elad
251a5f50bc
Don't abuse INSECURE for allowing exec() to load files not owned by uid 0.
...
Adjust references where this has been used.
2009-12-29 20:21:45 +00:00
christos
f550d323b5
don't repeat the word login twice (syslog prepends the program name login:)
2009-12-29 20:15:15 +00:00
christos
c56d2f766e
kill the space in address formatting to match what other daemons do.
2009-12-29 19:27:43 +00:00
christos
d74e5fa896
PR/42540: Ed Ravin: /usr/bin/login does not log normal logins, and does not
...
log ip addresses.
- Factor out the common code in login.c and login_pam.c into common.c
- Always log a login event
- Check passed in sockaddr against the one from getpeername(2).
2009-12-29 19:26:13 +00:00
joerg
abada83399
Do not use .Xo/.Xc to work around ancient roff limits.
...
Remove .TE without matching .TS.
2009-12-29 18:07:28 +00:00