jlam
140fe23a05
strlen(pkgname) only returns the number of characters preceding the NUL,
...
but the size of the data field in the pkgdb.byfile.db file is the length of
the string plus 1 for the NUL. Fix this check so that removing all of the
files belonging to pkgname from pkgdb.byfile.db works again.
2003-09-08 06:41:23 +00:00
mycroft
a7155b9951
Rework sd_scsibus_get_parms() a little. Try to get a block descriptor even
...
if our other MODE SENSEs fail. Use this code for the optical device case,
at least for now. (We could query the optical media type and do a table
lookup for the geometry, but why bother? Actually, why bother with geometry
at all, but I digress...)
2003-09-08 06:31:23 +00:00
itojun
4380703631
make it possible to process files.
2003-09-08 06:18:49 +00:00
jlam
5fc555d16b
Correct the documentation of the return values for pkgdb_open() and
...
pkgdb_remove_pkg().
2003-09-08 05:34:35 +00:00
wiz
4ae63e1052
Bump date for previous.
2003-09-08 05:21:58 +00:00
mycroft
98ba1f5667
On further investigation... don't panic if we try to do a 6-byte mode
...
sense/select on ATAPI. Some tape drives require it. And who knows? Some
fool might wire a RBC device to ATAPI.
2003-09-08 03:50:27 +00:00
petrov
33d0a022bc
OF_mapintr: swizzle interrupt for PCI bridges,
...
don't process OBP interrupts, return error if interrupt is not mapped.
2003-09-08 03:33:52 +00:00
mycroft
637a6554cf
Perform the exorcism on scsipi_mode_select() too.
2003-09-08 03:33:31 +00:00
mycroft
4588667f28
Exorcise something evil and wrong in scsipi_mode_sense().
2003-09-08 03:24:12 +00:00
mycroft
0239de4901
RBC devices do in fact requre using 6-byte MODE SENSE/SELECT. This is totally
...
the wrong way to deal with that, but... I'll get back to it later.
2003-09-08 03:09:09 +00:00
itojun
495bd5ff91
initialize ip_hl for ipsec policy lookup. PR kern/22715
2003-09-08 02:06:34 +00:00
mycroft
f2a492ff6b
Eliminate the separate ATAPI and SCSI attachments for "cd".
2003-09-08 01:56:33 +00:00
itojun
bc1d89af4f
splsoftnet in key_setspi
2003-09-08 01:55:09 +00:00
mycroft
5dd4bdd14c
Use the const shaker.
2003-09-08 01:27:08 +00:00
mycroft
9203f63f67
We only need a single attachment for uk at scsibus and atapibus.
2003-09-08 01:26:41 +00:00
mycroft
cd456a7097
Nuke some printf()s.
2003-09-08 01:13:04 +00:00
fvdl
e8c1bb7ea8
Remove file generated by older version of mknative-gcc.
2003-09-08 00:26:59 +00:00
fvdl
7e7bcf4bc9
Allow platforms to define __EH_FRAME_CONST. Currently "const" for x86_64,
...
empty for others. x86_64 (and s390, which we do not have) have .eh_frame
as a read-only section, so __EH_FRAME_BEGIN__ and the register/deregister
functions must take a const foo *.
This also fixes an ICE in gcc 3.3.1 (see gcc PR #9552 )
2003-09-07 22:27:54 +00:00
itojun
9effb481fb
"tagged" policy is not introduced to netbsd-current yet
2003-09-07 22:21:01 +00:00
itojun
967747c406
committed by mistake
2003-09-07 22:20:05 +00:00
itojun
643b0ddea3
warn that port-number does not work for gateway config. PR kern/22715
...
add reference. bump date.
2003-09-07 22:18:58 +00:00
mycroft
5bd33bcad6
Back out revision 1.100. There is something screwier going on.
2003-09-07 22:17:43 +00:00
fvdl
297da77bcf
Skip gcc and gdb for x86_64-*-netbsd*
2003-09-07 22:15:53 +00:00
kleink
a4909cd01e
g/c byte-reversing bus_space_set_region_1() entries.
2003-09-07 22:12:05 +00:00
mycroft
b6e043eed2
Set PQUIRK_ONLYBIG in the wdc-atapi frontend, obviating the need to ever test
...
the "bus type" for this.
Merge all the code in the SCSI and ATAPI backends for "cd" devices. All of
the mode page handling and whatnot is general to SCSI MMC devices, and should
never have been separated to begin with. This fixes a variety of problems,
and adds load/unload support for SCSI-attached devices.
2003-09-07 22:11:22 +00:00
itojun
ce112dfc4f
add -t option for gmt time offset (normally MS-DOS filesystem has timestamp
...
in localtime, not GMT). PR kern/22717
2003-09-07 22:09:11 +00:00
rafal
ece5b8e67d
Catch up to Christos' SIGINFO changes.
2003-09-07 21:37:19 +00:00
scw
20fb5a9f59
Cast from pointer type to db_addr_t via intptr_t.
2003-09-07 21:28:16 +00:00
fvdl
0135fe160a
x86_64 gcc3 and binutils glue. Not yet used.
2003-09-07 21:24:53 +00:00
seb
4fa89f262a
Remove link from pool_cache.9 to itself.
...
Implicit approval by kleink@.
2003-09-07 21:14:22 +00:00
seb
ad0a9298df
Fix extension on pool_cache* cat pages.
...
Approved by kleink@.
2003-09-07 21:06:06 +00:00
seb
67ea8250d5
Update the other reference to libc to version 103.
...
Approved by kleink@.
2003-09-07 21:05:18 +00:00
yamt
753a6151b9
comments on lfs_issequential_hole.
2003-09-07 21:00:36 +00:00
itojun
fdbe07d467
revisit spihash logic
2003-09-07 20:41:27 +00:00
uwe
9f598eb5ba
DOH, sparc was not doing p_userret processing in userret()!
...
Adding it helps SA a great deal. E.g. ogg123 actually works now.
2003-09-07 20:41:05 +00:00
tron
c975f55b04
Minor version of "libc" was bumped.
2003-09-07 19:21:19 +00:00
wiz
c4f582bcc6
Fix typos in comments; from Brian Poole via jmc@openbsd.
2003-09-07 19:06:50 +00:00
wiz
47190e80b8
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
...
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
itojun
800fe5d178
- prepare for RFC2401bis 64bit sequence number (no behavior change yet)
...
- use hash for SPI-based SAD entry lookup (should be faster, i hope)
- cleanup keydb.c and key.c. key.c is responsible for refcounting secasvar,
keydb.c is responsible for alloc/free.
2003-09-07 15:59:36 +00:00
wiz
a3390acd07
Punctuation improvement from jmc@openbsd.
2003-09-07 15:58:58 +00:00
wiz
306ad0947f
Grammar improvements from Jason Lingohr in PR 22712.
2003-09-07 15:57:30 +00:00
itojun
bfa3dccfd7
prototype should have no variable name
2003-09-07 15:50:43 +00:00
tron
b0594a9271
Compile in the i845/i865 fallback attachment code only if generic AGP Intel
...
support is enabled.
2003-09-07 15:40:57 +00:00
tron
3c33a1ee2d
If we fail to find the Integrated Graphics Device of an Intel i840 or
...
i865 chipset try the generic Intel AGP code because it is probably
a motherboard without onboard graphics.
2003-09-07 15:25:28 +00:00
cl
89d0cfd21f
Remove possible race condition in upcall recycling.
2003-09-07 14:47:44 +00:00
fvdl
bd84ee9c7a
Revert arc4random usage. makefs is only used for install images,
...
filehandle randomization is not an issue there, and using arc4random
broke building makefs as a host tool.
2003-09-07 14:24:08 +00:00
uwe
ca90f34170
Widen FLAGS column for ps/l so that all defined l_flag flags fit.
2003-09-07 14:14:36 +00:00
wiz
fed69d20fb
Fix a Xr (missing section), and sort SEE ALSO.
2003-09-07 14:10:34 +00:00
ragge
bfd142bfad
Remove next_instr_address(), it's a macro.
2003-09-07 13:33:38 +00:00
tron
fadd4495f2
Adding "${.CURDIR}/../coda" to the path causes build failures if object
...
files exist in that directory. Simply creating a symbolic link to the file
"${.CURDIR}/../coda/lkminit_vfs.c" via "LNFILES" fixes that problem.
2003-09-07 12:25:54 +00:00