Commit Graph

184652 Commits

Author SHA1 Message Date
christos
5a6c88acad pass lint 2009-10-17 22:26:13 +00:00
njoly
6a42e0741e Make tmpfs write fail when process file size limit is reached. 2009-10-17 22:20:56 +00:00
pooka
eea7b3ade4 Add some comments on how to act when major is bumped the next time. 2009-10-17 21:36:02 +00:00
christos
10dc222174 change to strchr and strrchr 2009-10-17 20:46:03 +00:00
pooka
a6085c2236 fix off-by-one in sanity check and bump lazy bum magic value 2009-10-17 20:35:52 +00:00
nakayama
77df506ed7 Wrap unused code with #if 0 which is called from #if 0'ed code. 2009-10-17 20:03:06 +00:00
christos
ab107e386c add more features found in other unices 2009-10-17 19:05:54 +00:00
tsutsui
63b86ac36f Build miniroot binaries for sparc with -Os to shrink instfs.tgz
for the second boot floppy which use miniroot objects.

This is workaround for PR install/42146, and ok'ed by mrg@.
2009-10-17 12:45:20 +00:00
mlelstv
e33abf1ab0 Add a serial console mode for the bootblock. In this mode all console
output will be echoed to the serial port and input will be accepted
from either keyboard or serial port. The bootblock serial console is
limited to 9600bps 8N1 as it uses the AmigaOS kernel debug routines.

To enable this you have to uncomment the SERCONSOLE define in
boot/Makefile.

Also note that the handling of a serial console in the kernel is
independent of this, you need to a build a kernel with 'options
SERCONSOLE'.
2009-10-17 11:18:17 +00:00
hannken
58cd15b068 Remove unneeded vinvalbuf() on backing store as we don't use
VOP_BMAP()/VOP_STRATEGY() here.
2009-10-17 10:29:29 +00:00
nakayama
33ec454f0c Merge want_ast check in userret() into trap handler, and repeat
preempt() call while want_resched is true.  While there remove
unnecessary #if 1.

This should fix a performance degradation of disk I/O on heavy load.
2009-10-17 08:50:49 +00:00
roy
1a80e629b5 Remove mistakenly added file. 2009-10-16 23:57:39 +00:00
pooka
65aa3ef107 If send fails with EMSGSIZE for whatever reason, it's unlikely to
succeed no matter how hard we retry.  So just fail the request.
2009-10-16 23:36:05 +00:00
pooka
291f141ce9 for udp sockets crank snd/rcvbufsize to 64k 2009-10-16 23:17:46 +00:00
christos
99d395c60f Make this compile again. I should have tried to compile the patches myself,
but ran out of time this morning.
2009-10-16 22:45:18 +00:00
roy
df303ea24d Import dhcpcd-5.1.2 2009-10-16 21:59:40 +00:00
roy
f09bb2caf5 Sync 2009-10-16 21:57:54 +00:00
roy
3b87816311 Import dhcpcd-5.1.2 with these changes:
* ClientID is now reported when interface starts.
* -w, --wait forces dhcpcd to wait until an interface gets a lease or
  times out.
* Ensure DHCP socket is open when sending a DECLINE.
* Uses new hwaddr if existing interface is downed and then changed.
* No longer works on firewire interfaces by default.

dhcpcd-5.1.2 has a new behaviour change - when starting up and at least 1
interface has a carrier then it tries to get a lease or times out.
It still daemonises regardless. This, along with the -b and -w flags
allows total control over the desired behaviour of dhcpcd.
2009-10-16 21:50:41 +00:00
joerg
336cbcc88d Don't spam the console with debug messages. 2009-10-16 21:23:08 +00:00
joerg
c954cd0eee Only match raw devices. Only match against the char major as extracted
from the kernel. Prevents aliasing nwt0 and rwd0e. OK haad@
2009-10-16 21:00:41 +00:00
joerg
29e22ac027 Allow setting an empty base directory. FTP server like tnftpd do not
allow ftp://foo//bar and similar URLs.
2009-10-16 19:01:03 +00:00
christos
de1256ff71 constification from Paul Ripke to make it compile on OS/X 2009-10-16 12:41:37 +00:00
cegger
f94b517224 Family 10h Errata #319: Attach on Family10h cpu series which have it fixed. 2009-10-16 12:05:19 +00:00
phx
89bf9948e9 Fixed typos in zssc_dump() (DEBUG). 2009-10-16 10:07:16 +00:00
phx
be3b6697b5 Fixed typo in DEBUG: atysc -> atzsc 2009-10-16 09:36:35 +00:00
wiz
a193d72dee Reflow to < 80 chars. 2009-10-16 08:09:12 +00:00
snj
e935072840 Fix typo: obslete -> obsolete. 2009-10-16 06:05:47 +00:00
snj
cdbb9fa706 Obsolete is obsolete. Remove an unnecessary ",xorg" from libint10_g.a. 2009-10-16 06:01:16 +00:00
pooka
afa1f603b7 In case of timeout, remember to remove ourselves from the sleep staleq. 2009-10-16 02:13:54 +00:00
enami
c210965a47 Since the aprint_normal_dev() several lines above prints a space
after the device name, no need to prepend the space here.
2009-10-16 00:45:26 +00:00
jnemeth
30d0592bd3 allow passing a NULL proplib dictionary to modctl(MODCTL_LOAD, ...) 2009-10-16 00:27:07 +00:00
pooka
d0c17feb81 We have real pollsuck() now, so remove this, ahem, less-than-perfect one.
(XXX: only thing in the kernel using pollsuck is netsmb)
2009-10-16 00:16:32 +00:00
pooka
254ffabc38 Include sys_select.c for proper select()/poll() support. 2009-10-16 00:14:53 +00:00
pooka
cc056ae92c include rumpcpu_generic 2009-10-15 23:42:40 +00:00
pooka
2f6e67dfd6 When allocating the temporary lwp we must have an lwp context. So
take turns using lwp0 for this purpose, nothing else uses it.
2009-10-15 23:15:55 +00:00
hubertf
f7456856c8 Make the format for -k clearer 2009-10-15 23:12:53 +00:00
hubertf
2058a998c8 Fix -p:
* rm_eo is the first character *after* the match, so no need for a +1
 * Blowfish hashes are only 53 chars long, not 54
2009-10-15 23:03:02 +00:00
jym
6ddc6bb7bf Remove pool_cache_invalidate_local(9) from the sets, and mark the
entries as obsolete.

Noted by haad@. Thanks!
2009-10-15 22:59:12 +00:00
macallan
fef6357143 set -DHAVE_ISA on shark, with this accelerated Xorg works again on rev. 4
sharks.
2009-10-15 22:54:45 +00:00
thorpej
1f59a448f4 - pool_cache_invalidate(): broadcast a cross-call to drain the per-CPU
caches before draining the global cache.
- pool_cache_invalidate_local(): remove.
2009-10-15 20:50:12 +00:00
thorpej
b93b3929c3 Regenerate for:
Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:19 +00:00
plunky
8ac5e94172 reinstate a sentence partly removed in v1.43 regarding the default
facility/priority for local kernel messages
2009-10-15 20:35:07 +00:00
thorpej
1e0ab6fbf0 Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:01 +00:00
joerg
ef66228296 Do not use .Xo/.Xc to work around ancient groff limits. 2009-10-15 17:26:57 +00:00
pooka
9b92a8f383 comment adjustment. hardly any functional change involved. 2009-10-15 16:50:00 +00:00
pooka
05c281e378 fix test for new-world rump lwp usage 2009-10-15 16:47:23 +00:00
pooka
cfc0373f49 rump_get_curlwp() is dead 2009-10-15 16:46:37 +00:00
pooka
2ce66cd910 use newstyle rump lwp interfaces 2009-10-15 16:41:08 +00:00
pooka
c663ed2f3f regen: lwp interface changes 2009-10-15 16:40:15 +00:00
pooka
8559951571 Give lwp usage some much-needed love: stop treating lwp0 as the
all-sink and make sure each separate thread in rump has its own
lwp.  Happy-go-lucky callers will get scheduled a temporary lwp
on entry, while true lwp connoisseurs may request a stable lwp
for their purposes.  Some more love may be required later down the
road, but for now different threads will stepping on each others
toes.
2009-10-15 16:39:22 +00:00