Commit Graph

147993 Commits

Author SHA1 Message Date
ghen 3da129c2c7 Make mail(1) invoke "sendmail" instead of "send-mail", this is more standard.
Ok with christos.
2006-06-15 13:03:29 +00:00
skrll f1713aebe3 Remove a hack that's no longer needed with gcc 3.3.6. 2006-06-15 10:55:02 +00:00
he 255c2c88af We don't have the <ieeefp.h> header if we're compiling for vax, so
add an ifdef around HAVE_IEEEFP_H.
2006-06-14 20:30:56 +00:00
uwe 414eb19c42 Nothing in this file needs <sys/time.h> 2006-06-14 19:56:49 +00:00
uwe 7132388a3f Get strcpy prototype from libkern.h, not string.h 2006-06-14 19:46:46 +00:00
uwe 2931d193fd G/c struct ofbus_softc. Last use (in sys/arch/powerpc/powerpc/ofw_machdep.c)
has perished long ago along with vestiges of dk_establish.
2006-06-14 19:42:34 +00:00
ginsbach 84b3179a34 Adapt date(1), the netsettime function, to new return value from socket(2)
when the address family is unsupported.
2006-06-14 16:35:16 +00:00
ginsbach d59a581d86 Adapt rpcbind(8) to new return value from socket(2) for unsupported
address families.
2006-06-14 16:25:17 +00:00
christos b7414305ba Update the manual section 2006-06-14 16:23:46 +00:00
christos 3e2e64af97 Regen 2006-06-14 16:22:54 +00:00
christos 826ade140d Use /dev/tty if possible and only fall back to stdin/stderr if that is not
available like getpass(3) does.
2006-06-14 16:17:01 +00:00
liamjfoy 4511d3297e Fix PR: 26363: script core dumps on incorrect input files.
This patch virtually re-writes the playback code and contains
improvements (mainly the dependency upon BUFSIZ being the same
size as it was wrote at).

OK: christos, joerg
2006-06-14 16:05:38 +00:00
ginsbach a697e6653a Adapt to new return value from socket(2) for an unsupported
protocol/address family.
2006-06-14 15:36:00 +00:00
he ab1ad64ac0 Make this file compile again by using the appropriate types, casts
and functions.
2006-06-14 14:18:44 +00:00
tsutsui c41536fb3f Call pcn_reset() in pcn_shutdown() so that my 7248 (prep) firmware
can netboot even after reboot without powercycle.
2006-06-14 13:30:35 +00:00
tron 2ab5da17ce Adapt ifconfig(8) to new return value from socket(2). This stops
ifconfig(8) from printing errors like "ifconfig: socket: Address
family not supported by protocol family" when examining the status
of a network interface.
2006-06-14 11:05:42 +00:00
grant b1dcde428f regen. 2006-06-14 02:33:28 +00:00
grant a2c28a5a0a QLogic is the correct writing, not "Q Logic". 2006-06-14 02:33:01 +00:00
grant ae05dda255 add QLogic QLA200 fibre channel card. 2006-06-14 02:32:38 +00:00
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