Commit Graph

159973 Commits

Author SHA1 Message Date
tsutsui dd8d8eb3f6 Use C99 initializers. 2007-06-26 12:03:31 +00:00
pooka 4a403dd973 Fix return value comparison inversion. Makes psshfs work for the
nocache case again, as the server error value for EOF is properly
handled again.
2007-06-26 11:04:29 +00:00
xtraeme c18664aad7 Protect inet6_ident_core() with #ifdef INET6, fixes building without
options INET6.
2007-06-26 09:19:36 +00:00
christos b7ebeed97d fix the assert (from anon ymous) 2007-06-25 23:58:42 +00:00
christos 438db9abdd mention tcpdrop 2007-06-25 23:40:22 +00:00
christos 2ddadd346c add tcpdrop 2007-06-25 23:38:57 +00:00
christos 5c67bb8390 man bits from anon ymous 2007-06-25 23:36:18 +00:00
christos 0a36551606 tcpdrop kernel bits (from anon ymous) 2007-06-25 23:35:12 +00:00
christos bfb6cb13d5 Add tcpdrop from {Free,Open}BSD. 2007-06-25 23:34:52 +00:00
bouyer deb08fe320 We're not ready to handle ATAPI yet so just claim there's no drive to the
upper layer. This should work around a NULL pointer dereference when
an ATAPI device is detected on a AHCI device.
2007-06-25 20:58:07 +00:00
bouyer 1206dd032d Various cleanups in interrupt code, and fix a potential crash in doreti:
if we enter doreti_checkast with only soft interrupt pendings, we would
jump to one of the soft* vector with %esi uninitialized, and the vector
would do a jump *%esi at the end ...
I don't know why nobody ever went into this; I guess in the common case
there's no soft irq pending without a hard irq in this code path ...
2007-06-25 20:09:34 +00:00
bouyer bf539c16bd Add back a __asm("lock") that got lost in the yamt-idlelwp merge. 2007-06-25 20:02:45 +00:00
bouyer 142ad1ab3e Call p_emul->e_syscall_intern() before sendsig_reset() to match what
i386 does.
2007-06-25 20:01:23 +00:00
bouyer a7d4fae602 Fix race condition in cpu_idle() on ci_want_resched. From YAMAMOTO Takashi. 2007-06-25 19:57:32 +00:00
jschauma 129a9f6a6e add FTHOI (for the {heck,hell} of it) 2007-06-25 17:25:17 +00:00
rumble 4f748f12bb Note that if vp is NULL in cache_enter, a negative entry is created. 2007-06-25 16:33:50 +00:00
tsutsui 12f2307a5f Add options COMPAT_40. 2007-06-25 13:22:45 +00:00
aymeric fe3cd5e510 in the FIRMWORKSBUGS case, and if PSL_DR/PSL_IR are set, don't do the
job of saving and restoring registers twice: let ofwreal cope with everything.

This was the last bit needed to get a stock NetBSD/ofppc kernel booting
on the Efika. This will have to be adapted to the ppcoea-renovation branch.
2007-06-25 11:22:13 +00:00
aymeric 7340de8e08 Recognize the Freescale G2 cores: initialize cache line size, and doze mode
While there, fix the way the major version of a PowerPC processor is computed
2007-06-25 11:16:47 +00:00
aymeric 6ebc93ac7f Recognize the Intrepid2 ATA controller. Needed at least for the last PB G4 2007-06-25 11:12:54 +00:00
aymeric beb9020c42 Recognize the Intrepid2 gem. Needed at least on the last PowerBook G4. 2007-06-25 11:11:00 +00:00
pooka 0f53ecfb54 fold in common code for node creation. no functional change. 2007-06-25 07:52:01 +00:00
christos d1cb3ec527 remove unused variable. 2007-06-25 01:42:31 +00:00
rumble 688ef4d823 Nuke extra comma in Xrefs. 2007-06-25 00:41:50 +00:00
yamt 7893935666 remove descriptions of some states. ('A', 'S', '>')
- they are wrong.  (madvise is not vadvise)
- they don't exist anymore.
2007-06-25 00:24:01 +00:00
christos c6b86acffc don't use __progname for the pam service name. Hard-code it to "sshd" 2007-06-24 23:48:30 +00:00
christos 5f1a365390 add parens. 2007-06-24 23:25:13 +00:00
christos a45a783fdb - use fwrite instead of printf.
- pass lint
- check for 0 len.
2007-06-24 23:23:10 +00:00
uwe 4ac53c4aaf options<SPACE><TAB> police
While here, add COMPAT_40.
2007-06-24 23:04:24 +00:00
pooka c3942902c4 Since we locate in-memory nodes based on the inode number, stat a
file always after creation to cache the inode number given by the
backend file system.  Otherwise we would not find a newly created
node from incore and create another one.  In practise this was
pretty well hidden by the kernel name cache.
2007-06-24 23:02:55 +00:00
christos 751a3d3a74 handle UVM_UNKNOWN_OFFSET. 2007-06-24 22:56:58 +00:00
rumble 436b31f333 Add va_birthtime. 2007-06-24 22:49:44 +00:00
pooka 8bfc66776f document KFLAG_NOCACHE{_PAGE,_NAME,} 2007-06-24 22:32:00 +00:00
pooka 53a4105885 Actually, keep PUFFS_KFLAG_NOCACHE and -o cache around as shorthand
to neither page- nor namecache.
2007-06-24 22:25:49 +00:00
pooka 5662e7f720 PUFFS_KFLAG_NOCACHE became two, so introduce the command line options
-o nonamecache and -o nopagecache and adapt file systems where necessary.
2007-06-24 22:18:38 +00:00
mlelstv f9a2fc4868 Avoid use of cached pointers that might be stale due to mbuf operations. 2007-06-24 22:16:35 +00:00
pooka df01a64b7a Split the NOCACHE option in twain: NOCACHE_NAME & NOCACHE_PAGE. 2007-06-24 22:16:03 +00:00
christos daebf0edfe don't leak a vnode in the wedge case. 2007-06-24 21:38:21 +00:00
christos a65158cbe3 Add options FILEASSOC; needed for veriexec. 2007-06-24 21:17:31 +00:00
christos 2ffe4b875f Use an elf note to handle pax arguments. This is a temporary solution to
avoid wasting OS flag bits. In the future we'll probably use fileassoc to
achieve this (once there is a way to make fileassoc persistent) or in the
shorter term libelf, so that we can add and remove the note on demand instead
of burning bits on each binary. Of course since this is a tool, this means
that we'll need to think about how to handle libelf...
2007-06-24 20:35:36 +00:00
christos e0e4b56127 autoconfigure dump partition for wedges. 2007-06-24 20:12:34 +00:00
christos 36619a204c Fix white space compression from Jukka Salmi 2007-06-24 19:51:43 +00:00
kardel db56afd343 compile fix for amd64 2007-06-24 19:39:06 +00:00
rumble b9ff3c810f TRUE -> true, FALSE -> false. 2007-06-24 19:26:58 +00:00
pooka 91629617de Call puffs_pn_remove() just in case the file server happens to be
quick with recycling qids.
2007-06-24 19:13:39 +00:00
christos 5568917ed8 PR/36538: Greg A. Woods: fix printfs to match driver name. 2007-06-24 19:07:00 +00:00
pooka 3aa77bc919 Just to demonstrate namemod a bit further, make this flip the case
of filenames / contents instead of rot13 if -f is given.
2007-06-24 18:59:27 +00:00
pooka 39542808a8 cast tolower() arg to unsigned char 2007-06-24 18:57:26 +00:00
christos 3c769789fa PR/36534: Greg A. Woods: test(1) doesn't do -r and -w quite right
Use stat(2) instead of access(2) per POSIX.
2007-06-24 18:54:58 +00:00
pooka 0d05db1c32 use puffs_null_setops() 2007-06-24 18:43:30 +00:00