Commit Graph

115042 Commits

Author SHA1 Message Date
itojun
8883e1fb40 use bounded string op 2003-07-13 08:05:58 +00:00
itojun
b5bc655b98 strlcat 2003-07-13 07:59:24 +00:00
itojun
a9282a99c0 die if asprintf fails to malloc 2003-07-13 07:58:19 +00:00
itojun
09c1e9bc45 use bounded copy (a few unbounded copy remains - need work) 2003-07-13 07:48:01 +00:00
itojun
354140d884 remove obsolete comment 2003-07-13 07:45:27 +00:00
itojun
8ff221767c asprintf is easier. plug memory leak 2003-07-13 07:44:33 +00:00
itojun
d90a2369ab use bounded string ops 2003-07-13 07:39:39 +00:00
itojun
658b0219c1 snprintf 2003-07-13 07:38:12 +00:00
itojun
0b04aee3ea use bouded string ops 2003-07-13 07:37:02 +00:00
igy
cdb56b83f6 mapping pci configuration space (not subregion) 2003-07-13 07:15:22 +00:00
igy
1087696257 using common bus_space_tag in ixpsip too 2003-07-13 02:48:41 +00:00
igy
365f7e1994 sharing bus_space_tag among ixpio, pci mem and i/o. 2003-07-13 02:11:58 +00:00
igy
2a9dfe7684 using devmap for static mapping 2003-07-13 01:01:50 +00:00
atatat
fc035bc8fd Allow _ in tags 2003-07-12 23:02:59 +00:00
manu
cbfacd83b6 Make hexdump output fix in 80 char-wide terminal 2003-07-12 19:22:07 +00:00
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