Commit Graph

114977 Commits

Author SHA1 Message Date
itojun 59b2dcde2e asprintf() is easier than malloc + sprintf 2003-07-12 16:52:22 +00:00
yamt 2ba5ae7ea6 more MP locks. 2003-07-12 16:19:00 +00:00
yamt 12ad26b293 - wrap long lines.
- remove a mysterious blank line.
2003-07-12 16:17:52 +00:00
yamt 3852db2096 - protect global resource counts with lfs_subsys_lock.
- clean up scattered externs a little.
2003-07-12 16:17:06 +00:00
yamt 884f970fae in ckinode(), use idesc->id_number instead of dino.di_u.inumber
since the latter is invalid for pass2 and vget can return invalid vnode
for inode number 0.
2003-07-12 16:13:38 +00:00
tshiozak 5428a0306b add OOB_MODE (out of bounds mode) and change DST_INVALID to DST_ILSEQ. 2003-07-12 16:11:01 +00:00
simonb ec137f4f6b Bump ifree/iused field width. 2003-07-12 15:58:54 +00:00
tshiozak c1e771ab90 separate "nonidentical conversion" and "ilseq" under csmapper.
"nonidentical" means "the input character index is valid, but not
corresponding to the output codeset."
"ilseq" means "the input character index is invalid for the input codeset."
2003-07-12 15:39:19 +00:00
itojun 8e90cd9ce4 KNF 2003-07-12 15:16:50 +00:00
itojun 3eaa5b9c93 no longer needed (#define _KERNEL) 2003-07-12 15:12:45 +00:00
itojun d99433c2b5 use bounded string ops 2003-07-12 14:48:10 +00:00
itojun 09401b303a use asprintf, which is easier 2003-07-12 14:46:41 +00:00
itojun efb986d740 sprintf can return negative 2003-07-12 14:36:07 +00:00
itojun ca9297afc4 use strlcat/strlcpy 2003-07-12 14:33:55 +00:00
itojun ae4b4e6dbb strlcat 2003-07-12 14:30:53 +00:00
itojun 7173f16649 use bounded copy ops 2003-07-12 14:29:35 +00:00
itojun 5389fc55da bound string operations 2003-07-12 14:08:37 +00:00
itojun 28f506f3a2 strlcpy 2003-07-12 13:57:49 +00:00
itojun c0970755a6 pedantic check around unsafe strncpy.
XXX this code needs a serious rewrite
2003-07-12 13:53:08 +00:00
itojun ef4b3d620c copyright missing in files, copy them from README 2003-07-12 13:47:42 +00:00
itojun 417386ecc9 strlcpy 2003-07-12 13:38:10 +00:00
itojun 07b330cc97 strlcpy, some KNF 2003-07-12 13:37:15 +00:00
itojun 032ed69f9a strlcpy 2003-07-12 13:23:55 +00:00
yamt a7f5ddbf64 in lfs_raw_vget(),
- don't leave references into free'ed memory region. (fix SIGBUSes)
- plug a memory leak.
2003-07-12 12:28:23 +00:00
yamt e01ace1f2e - don't assume that malloc'ed memory is zero-filled.
- LIST_INIT {dirty,clean} block lists.
2003-07-12 11:57:59 +00:00
yamt 1d5f020689 fix a null dereference on stale inode. 2003-07-12 11:49:04 +00:00
yamt c992c60208 only read superblock (ie. struct dlfs) from disk and
initialize rest of struct lfs by hand.
(this shouldn't cause a real problem since if superblock is valid,
LFS_SBPAD-sizeof(struct dlfs) bytes after it is always zero-filled, though)

PR/22123 (Izumi Tsutsui)
2003-07-12 11:47:05 +00:00
itojun c6cfaca843 gettext: why we can't upgrade to 1.11 2003-07-12 11:45:12 +00:00
yamt 96782bb1fd don't use uninitialized variables.
PR/22123 (Izumi Tsutsui)
2003-07-12 11:41:15 +00:00
wiz 1c27a6f696 Uppercase DES and fix a typo. 2003-07-12 10:31:10 +00:00
itojun 4dc666215e racoon upgraded 2003-07-12 10:29:17 +00:00
itojun 4504b95a61 describe why upgrade to openssl 0.9.7 seems difficult 2003-07-12 10:28:30 +00:00
manu e9383d7e5d Use the same code to display hexdump of GIO and MMSG (Mach Messages).
While we are there, display offsets in the hexdump, it can be useful.
Remove size display in Mach Messages as user processes don't always
fill it correctly.
2003-07-12 10:07:08 +00:00
itojun afdee9affa __RCSID. add missing copyright in *.y and *.l (sync w/kame) 2003-07-12 09:37:09 +00:00
itojun 03eefe2ecf sync w/ latest racoon 2003-07-12 09:02:24 +00:00
itojun dc30725eaf kame racoon 2003/7/12. lots of lots of stability fixes. 2003-07-12 08:45:39 +00:00
hubertf 0a65bfefd2 Regen for Toshiba SD and SM cards 2003-07-12 06:00:37 +00:00
hubertf d3f2a0d382 Recognize Toshiba Smart Media and Secure Digital cards 2003-07-12 05:59:50 +00:00
aymeric f0696ba4ba strategy() should really have an ANSI prototype. Otherwise its daddr_t
argument gets passed wrongly.
This should fix a bug reported by Martin J. Laubach on port-macppc, and
was fixed two weeks ago in NetBSD/ofppc.
2003-07-11 23:38:08 +00:00
christos 28c6644783 the author needs to stay way from the crack pipe: two bugs cancelled each other! 2003-07-11 20:33:03 +00:00
christos b2163312f5 fix unused variable warning 2003-07-11 18:55:14 +00:00
dsl 31722f62d8 KNF and whitespace (and indent a contuation line) 2003-07-11 15:33:13 +00:00
dsl e64fcd4452 Use a menu when asking for the install disk (fixes PR install/20121).
Make disk_desc[], disk and numdisks local to get_disks (instead of globals).
Fix a little fallout from the above.
A bit of mbr.c was missing #ifdef BOOTSEL...
2003-07-11 15:28:58 +00:00
dsl 8e56a9f2a2 Delete code that did nothing!
The disk parameters it fetched were overwritten by those obtained (from
the default label) in get_disks.
2003-07-11 14:48:42 +00:00
wiz b712736290 Add -x to usage output. 2003-07-11 13:06:11 +00:00
wiz 79093334ef Bump date for -x addition. 2003-07-11 13:05:26 +00:00
yamt 12d2d59f94 there's no VNODEPAGER option anymore. 2003-07-11 12:59:54 +00:00
pk edb01b1198 Pass explicit device to eject(1), since it doesn't know about the floppy
driver's "partition" scheme..
2003-07-11 12:16:56 +00:00
pk c7a9b61e64 Deal with disk change notification. 2003-07-11 12:09:12 +00:00
he e0e6a115ce Adapt to the new layout of files under /usr/mdec, so that this
builds again.  However, the install program most probably needs
adaptation for this to work as intended.
2003-07-11 11:54:10 +00:00