Commit Graph

125739 Commits

Author SHA1 Message Date
martin abe6f9dc47 Remove duplicate include, fixes PR bin/25018 from Jeff Ito. 2004-04-02 09:08:55 +00:00
lukem e7b4b99d58 Convert to using UUDECODE_FILES instead of using -kb in the repository. 2004-04-02 08:54:04 +00:00
matt efc47093e2 In ip_reass_ttl_descr, make i signed since it's compared to >= 0 2004-04-01 22:47:55 +00:00
christos 54c7540419 Set our uid and gid to the effective user and group id's of the current
process so that access(2) DTRT's (from Peter Postma).
2004-04-01 22:14:48 +00:00
martin 8afe56f1c5 A few more ioctl vs. copyin changes, spotted by Bill Studenmund. 2004-04-01 21:54:41 +00:00
christos 22cea37a8e unobsolete which. 2004-04-01 21:43:32 +00:00
christos 70b5dfe845 Resurrect which(1), blessed by core. 2004-04-01 21:41:37 +00:00
christos 60a197ff0e Fix const problem. 2004-04-01 21:41:14 +00:00
christos 745a6d0f0e - add which(1) functionality.
- fix bug where if a program appeared in more than one place it would
  erroneously exit(2)
- fix error messages to use err and errx as appropriate.
- made sure we don't pick up directories or non executable files.
2004-04-01 20:50:32 +00:00
wiz cab05c8825 From jmc@openbsd:
add missing copyright, with permission from the author (John E. Stone);
problem found by wiz@netbsd
2004-04-01 17:15:00 +00:00
matt ef47d758dd Remove softintr__init call. 2004-04-01 16:58:06 +00:00
matt 7a72576c33 Move to softintr__init to cpu_startup. 2004-04-01 16:57:45 +00:00
matt 44708bbf1a If a signal is the result of trap, only invoke a supplied handler if it's
not blocked.  Otherwise (it if it blocked or the hanlder is set to SIG_IGN)
reset the signal back to its default settings so that a coredump can be
generated.
2004-04-01 16:56:44 +00:00
mrg bca4d5d7da xref sparc/boot & sparc64/boot to each other 2004-04-01 16:23:55 +00:00
wiz 9356a1c5e6 Bump date for previous. 2004-04-01 16:17:56 +00:00
mrg d390d285ab shamelessly steal & slightly modify sections of sparc64 boot(8).
this should clear up PR#21403.
2004-04-01 16:15:57 +00:00
tsarna 5f8a756d98 Fix longstanding gap in stty functionality: while many operations had
inverses, "sane" didn't. Now there is symmetry.
2004-04-01 16:10:03 +00:00
wiz 60adf0655d Add entry for which(1) removal. 2004-04-01 15:12:50 +00:00
mrg 0ade019d3f redo GNU tar --exclude emulation to actually work the same. unfortunately,
because alternation (|) isn't available in "pax -s" RE's, we have to pass
four (yes 4!) different patterns:
	.*\/<pattern>$
	.*\/<pattern>\/.*
	^<pattern>$
	^<pattern>\/.*
instead of the more elegant
	(^|.*\/)<pattern>($|\/.*)

fixes a problem reported by simonb.
2004-04-01 14:54:39 +00:00
martin 4da1a3d409 /usr/bin/which is gone. 2004-04-01 14:49:05 +00:00
martin 12920ed961 Remove which (the csh script installed in /usr/bin).
It was docuemented to work for *csh users only, and all *csh have a builtin
of that name, which works even better. All other shells have similar
builtins, and this led to confusion several times. Fixes PR 13462.
2004-04-01 14:41:53 +00:00
mrg 8ee13c5e05 no need to list gnu/usr.bin any more. 2004-04-01 14:41:09 +00:00
martin d1af91eb0c ioctl(2) "request" arguments should be ioctlcmd_t, not u_int. 2004-04-01 09:26:12 +00:00
martin 9d16150a8e Untangle ioctl copyin/copyout confusion. IP-Filter now actually works
on sparc64 (and probably everywhere else).
2004-04-01 09:24:58 +00:00
tron 6c6ce42725 Regen from "pcidevs". 2004-04-01 08:00:32 +00:00
tron f62c4c4623 Correct entry for PCI vendor id 0x11af. It is assigned to Avid Technology
Inc. and not to Pro-Log Corporation. Problem reported by Chris Tribo
in PR kern/25004 and verified at http://www.pcidatabase.com/.
2004-04-01 08:00:01 +00:00
atatat f06d00c1a8 Add the standard "is this tree writeable" check to sysctl_describe()
and a comment to sysctl_destroy() about why the check is slightly
different there.
2004-04-01 04:50:06 +00:00
simonb 6476bd9b79 Add POTS. 2004-04-01 04:35:45 +00:00
jschauma cf1150e53b add COTS 2004-04-01 04:03:30 +00:00
yamt f74afe6463 ras_fork: don't do PR_WAITOK holding a spinlock. 2004-04-01 02:37:42 +00:00
reed ef78b0e16e Some package names are extra long, like xscreensaver-gnome-4.13
and gdk-pixbuf-gnome-0.22.0nb1, so make sure that lines don't wrap.
Instead of having maxline based on MAXNAMESIZE, have it be based
on the length of the package name if longer than MAXNAMESIZE.
(This was discussed on tech-pkg list in November, 2003.)
2004-04-01 02:37:24 +00:00
enami 71f20d1fa2 Correctly fallback into the normal path when SETXID_SUPPORT is defined
but the binary was the normal one.  Fixes PR#23471.
2004-04-01 01:51:04 +00:00
yamt b27349c286 ras_install: don't do pool_get(PR_WAITOK) while we're holding a spinlock. 2004-04-01 01:49:04 +00:00
wiz 48c350d45e Lowercase letter in the middle of a sentence. 2004-03-31 23:21:18 +00:00
wiz bcd3ef3369 Make width larger for better postscript output; avoid xref to ourselves. 2004-03-31 23:19:36 +00:00
wiz ba14cadec6 & -> \*[Am] for html; remove superfluous Pp;
make width larger for better postscript output; avoid xref to ourselves.
2004-03-31 23:18:18 +00:00
wiz 73abf56636 Remove trailing comma in SEE ALSO. 2004-03-31 21:59:47 +00:00
wiz 0a8efb0bc6 Remove superfluous quotes; no trailing comma in SEE ALSO;
sort sections.
2004-03-31 21:59:34 +00:00
wiz 079ef63387 Remove xref to hostname.if, which we do not have. 2004-03-31 21:59:02 +00:00
jmcneill e927880cc0 Don't allow block sizes < 288 bytes on VT823x chips (patch from kent@).
Fixes kern/22788.
2004-03-31 21:10:04 +00:00
dyoung 957f9ce691 Only #define COPYIN copyin, et cetera, in the kernel. That is, only
when when _KERNEL is defined.
2004-03-31 20:58:15 +00:00
mellon 5bbdf02211 - If we find a lease in the lease file that matches a predefined lease,
and it's expiry time is earlier than the expiry on the predefined lease,
  don't nuke the predefined lease.
2004-03-31 19:05:18 +00:00
fredb f6e9f3cb15 Backout last change. I failed to note that the problem described in
PR bin/24653 had already been fixed with revision 1.9 of this file.
2004-03-31 18:01:07 +00:00
fredb ee6be08283 Take account of the fact that "ntpd" writes it's pidfile after chroot().
Closes PR bin/24653.
2004-03-31 17:52:06 +00:00
pooka 12004f8f23 Pipes aren't "full-duplex byte streams", so don't compare SOCK_STREAM
type sockets to them.
2004-03-31 16:42:19 +00:00
augustss 869a74e501 No channel locator for atapibus. From PR 24994. 2004-03-31 16:04:45 +00:00
mrg 8a618ce17c remove a chunk more code with -DSMALL and in the process fix -DSMALL
that was broken in the previous commit (by exposing "fflag".)
2004-03-31 15:46:25 +00:00
mrg 20f7152fc9 cat pages end in .0 not .n, noted by skrueger and europe dot com 2004-03-31 15:43:58 +00:00
tron 17ebf9b589 Handle files with link count larger than 1 if "-f" option is used. This
is consistent with the old "gzip" and required by "pkgsrc" to implement
"MANZ" properly.
2004-03-31 15:19:14 +00:00
briggs 1c0ca89048 Be more careful about issuing CU_RESUME in fxp_start()--only doing
it if we think it's probably necessary.  Then do it again in the
tx interrupt handler, if we again think it's necessary.  This
reduces the number of commands we issue the chip.  Prior to this
change, the i82550 (running without extended feature set, so like
a '559) would sometimes fail in fxp_scb_wait() prior to issuing
another CU_RESUME, resulting in
	fxp0: WARNING: SCB timed out!
messages on the console, often followed by device timeouts.
2004-03-31 14:48:31 +00:00