dyoung
5174aa84b6
The UID_MAX limit is not enforced by syscalls such as setreuid(2),
...
so I remove the assertion uid >= 0 && uid <= UID_MAX. This squashes
a bug where Quagga would panic my machine by passing a UID outside
the range [0, UID_MAX].
AFAICT, this restores the historical (pre-kauth) behavior.
It is likely that GIDs do not satisfy the assertion gid >= 0 &&
gid <= GID_MAX, so remove that, too.
Patch from elad.
2006-06-13 22:56:46 +00:00
christos
2e91d940da
PR/33724: Scott Ellis: Building a release with MKINET6=no stops in libisc due
...
to compiler warnings. Fixed misplaced and miscommented #endif
2006-06-13 22:36:36 +00:00
he
fe98fdf977
Regenerate after fixing the getpriority syscall definition.
2006-06-13 22:24:34 +00:00
he
e100449f69
We need the argument structure for the getpriority syscall defined, so
...
change NOARGS to STD.
2006-06-13 22:23:03 +00:00
christos
f503e58dd8
PR/33723: Arthur Townsend: file command doesn't show 'executable' for
...
statically linked sun3 exec
2006-06-13 22:20:20 +00:00
christos
d8cec01f6f
PR/33722: Scott Presnell: pppd 2.4.3 active-filter functions botched
2006-06-13 22:12:37 +00:00
ginsbach
d05e0bc3e8
Add EAFNOSUPPORT as a possible error if the address family is not
...
supported. This adds further differentiation between which argument to
socket(2) caused the error. No longer are invalid domain (address family)
errors classified as ENOPROTOSUPPORT errors. This should make socket(2)
conform to current POSIX and X/Open standards. Fixes PR/33676.
2006-06-13 21:19:56 +00:00
kardel
d5b727f28d
correct pointer advances broken by previous fix
2006-06-13 21:03:53 +00:00
rpaulo
f07f5178b6
Initialize the mixer delta value to 8 for the 1370 version. No
...
objections in tech-kern.
2006-06-13 21:03:04 +00:00
ginsbach
315fde38db
Sort ERRORS. Bump date.
2006-06-13 20:37:24 +00:00
freza
dc25af75d0
Merge multiple definitions of cntlzw() ("count leading zeros")
...
instruction-wrapper to <powerpc/cpu.h>.
OK by briggs@
2006-06-13 18:24:37 +00:00
dogcow
ef6f10f99b
...and since amd64 doesn't actually have enhanced speedstep (yet!), only
...
include the opt file on i386.
2006-06-13 17:37:06 +00:00
dogcow
9bdd85d12c
we need opt_enhanced_speedstep.h to get whether ENHANCED_SPEEDSTEP is defined.
2006-06-13 17:30:05 +00:00
christos
afe552b7f1
detect overflow and exit with an error.
2006-06-13 17:18:56 +00:00
perry
6b3d64621c
edit a couple of new items so that they fit on a line and do the tab
...
to space dance so that they can be cleanly commented out.
2006-06-13 17:17:15 +00:00
christos
9d7289ea69
change 20 to NZERO; pointed out by mrg.
2006-06-13 16:54:56 +00:00
skd
99e52fdeb8
include kauth.h
...
workaround a gcc4 warning.
2006-06-13 16:23:57 +00:00
riz
a06a21e5d3
Prototype for tvtohz() is no longer needed here.
2006-06-13 15:57:15 +00:00
riz
58d052216c
Remove implementation of tvtohz() - since the timecounters branch
...
was merged, this is now in sys/kern/kern_clock.c .
2006-06-13 15:43:04 +00:00
kent
39140597bf
* generic_mixer_default()
...
set the default pin direction depending on the pin's device, not color
2006-06-13 14:38:01 +00:00
kent
32d7370ad8
ALC882:
...
- add usingdac and usingadc
- remove alc882_init_widget() because it has no effect any more
2006-06-13 14:29:21 +00:00
kent
8b818d700b
- always prints the codec index in dmesg
...
- add missing \n
2006-06-13 14:20:09 +00:00
yamt
f7c7538921
use KAUTH_PROCESS_CANSEE rather than CURTAIN where appropriate.
2006-06-13 13:57:33 +00:00
yamt
f755e9e9b8
remove unnecessary arguments from kauth_authorize_process.
...
ie. make it similar to the one found in apple TN.
2006-06-13 13:56:50 +00:00
simonb
7d5684f475
Use .previous at the end of the NetBSD ident note so that we switch
...
back to the previous section. Fixes build problems on MIPS with gcc4
and -g.
2006-06-13 13:55:58 +00:00
yamt
4602c1be73
sysctl_unpcblist: don't abuse kauth_authorize_process for non-process object.
2006-06-13 13:52:39 +00:00
yamt
c1e6396657
sysctl_kern_file, sysctl_kern_file2: don't abuse kauth_authorize_process
...
for non-process objects.
2006-06-13 13:52:06 +00:00
tsutsui
04595a48c6
Before calling the handler of timer at isa for hardclock(9),
...
clear MIPS_SR_INT_IE in struct clockframe status to prevent
unintentional spllowersoftclock(9) in hardclock(9).
This may be required because current CLKF_BASEPRI() implementation
of NetBSD/arc doesn't check ICU_MASK and all ISA devices share
the same MIPS CPU INT2 interrupt.
BTW, has anyone tried IPL_ICU_MASK on any mips ports?
2006-06-13 13:51:31 +00:00
yamt
0f9ed224d3
uvm_swapin: process -> lwp
2006-06-13 13:23:59 +00:00
yamt
52e88e8188
sysctl_kern_file2: fix an indent.
2006-06-13 13:23:03 +00:00
yamt
9606b0accf
uvm_swapin: process -> lwp in a comment.
2006-06-13 13:22:06 +00:00
tron
c93d58d1b7
Remove obsolete directory "/usr/include/libmilter".
2006-06-13 11:51:43 +00:00
tron
9b1c22fc34
The manual pages for "mail.local" are not obsolete because "mail.local"
...
is (and should be) still included in the base distribution.
2006-06-13 11:27:29 +00:00
tron
9d3dfcdb0d
Remove obsolete directory "/usr/libexec/sm.bin".
2006-06-13 11:26:17 +00:00
simonb
5e13eca2c0
tvtohz() compat function isn't needed now we have timecounters.
2006-06-13 03:58:12 +00:00
christos
7afd9e136a
PR/33709: Kevin Massey: Avoid stack smashing in args copy
2006-06-13 03:22:00 +00:00
christos
c037525f2c
Don't allocate > 1K on the stack
2006-06-13 02:39:11 +00:00
christos
430ad9c2a9
don't allocate > 1K on the stack.
2006-06-13 02:31:28 +00:00
christos
5ed3dd2fe3
don't allocate > 1K on the stack.
2006-06-13 02:08:20 +00:00
christos
199372b21f
prevent uninitialized variable.
2006-06-13 01:59:59 +00:00
gdamore
42f9e3293d
Note import of HAL 0.9.17.2. Thanks to NetBSD CVS Digest for reminding me to
...
do this. :-)
2006-06-13 01:50:42 +00:00
oster
8c090abdfc
Do the "don't allocate > 1K on the stack" thing for raidioctl().
2006-06-12 22:49:35 +00:00
mrg
e487cf62f5
add a .globl to MD_SECTION_PROLOGUE so that the symbol is exported.
...
this fixes build problems with GCC4 (which will use smaller/faster call
methods for local/static functions) and is the right thing anyway.
2006-06-12 22:05:49 +00:00
christos
92d441e0ee
don't allocate > 1K on the stack.
2006-06-12 22:02:45 +00:00
christos
1ae0349e57
don't allocate chans on the stack.
2006-06-12 21:55:03 +00:00
christos
3291899659
Don't allocate wi_req on the stack.
2006-06-12 21:51:48 +00:00
christos
a3ce58a6e6
Don't use roundup(IEEE80211_CHAN_MAX, NBBY) which is wrong anyway
...
[correct would have been howmany(...), use IEEE80211_CHAN_BYTES,
which is used in the other ioctl method. While here s/u_char/u_int8_t/
for chanlist to match the rest of the uses.
2006-06-12 21:17:59 +00:00
christos
28bd7a84c0
Don't allocate > 1K on the stack.
2006-06-12 21:05:47 +00:00
christos
86c0f863d1
Don't allocate >1K on the stack.
2006-06-12 21:01:58 +00:00
peter
4c6681fae8
Don't pass the size of struct device to CFATTACH_DECL because it's obviously
...
too small! Use the softc instead. And while here, remove sc_ih from the
softc, it's not used at all.
2006-06-12 19:42:22 +00:00