pooka
0a9d896555
Remove note about portability, since PF_UNSPEC will cause socketpair()
...
to EAFNOSUPPORT on NetBSD(!). Additionally, at least slowaris and
linux talk only about PF_LOCAL. Finally, since I'm reading a NetBSD
man page, I foremost care about the code working on NetBSD.
2009-12-19 23:00:10 +00:00
christos
b56987f3f3
PR/42466: Yasuoka Masahiko: vsnprintf_ss() causes infinite loop
2009-12-17 15:19:48 +00:00
mrg
1a9afd2643
don't warn about mcount on mips64* as well.
...
XXX: someone really should fix mips profile.h's MCOUNT!
2009-12-17 06:54:51 +00:00
pooka
13777d56f1
Don't VOP_PUTPAGES(PGO_FREE) in inactive for tmpfs, since we now
...
(after some changes to rump) actually free those pages, leaving
the tmpfs vnode feeling quite empty.
(the purpose of the flush is to avoid double caching between the
rump kernel and puffs vfs layer)
2009-12-16 17:20:19 +00:00
enami
08464abb1e
Put space after comma in the C code example.
2009-12-15 00:35:36 +00:00
matt
f3848e2eb2
Back errant change due to botched merge.
2009-12-14 20:45:02 +00:00
wiz
663935444d
Bump date for previous.
2009-12-14 07:31:49 +00:00
wiz
6277279df4
Whitespace nit.
2009-12-14 07:29:23 +00:00
matt
c7af27854b
Suppress a warning if time_t is __int64_t
2009-12-14 05:51:56 +00:00
dholland
34a411910a
whoops, bump date for previous.
2009-12-14 04:40:29 +00:00
dholland
cd1a57ae6d
Document %ll. Closes PR 42283.
2009-12-14 04:39:29 +00:00
matt
f45a8c29f5
Merge from matt-nb5-mips64
2009-12-14 03:04:33 +00:00
matt
42b55ff43a
Fix typo.
2009-12-14 02:53:52 +00:00
dholland
e2423fa273
getaddrinfo is defined to use the AF_* constants, even though perhaps its
...
interface ought to have been defined in terms of PF_*. Add a note about
how the distinction has been lost anyway. Fixes PR lib/42384.
2009-12-14 01:53:31 +00:00
matt
1819481222
Merge from matt-nb5-mips64
2009-12-14 01:11:02 +00:00
matt
2288207161
Merge from matt-nb5-mips64.
2009-12-14 01:07:41 +00:00
matt
dc05324fb7
Make sure the kernel doesn't pass back 0 for pagesize.
2009-12-14 01:04:46 +00:00
matt
1e301281a1
Merge from matt-nb5-mips64
2009-12-14 01:00:46 +00:00
pooka
9bbaf71ba2
Refcount ukfs_part. Otherwise it's not possible to call ukfs_mount()
...
several times with only one ukfs_part_probe().
2009-12-13 20:52:36 +00:00
mrg
6af15ae20b
if BSD_MK_COMPAT_FILE is defined, .include it.
2009-12-13 09:01:45 +00:00
mrg
6b59d31236
move the include for <bsd.own.mk> down a little.
2009-12-13 08:52:38 +00:00
mrg
f7f0bc40ae
rename LD32DIR to MLIBDIR.
2009-12-13 08:25:20 +00:00
mrg
cba14cb13e
look for ${CSU_MACHINE_ARCH}_elf directory first.
2009-12-13 08:03:44 +00:00
pooka
3048f9c8c7
fix error branch
2009-12-12 00:46:04 +00:00
pooka
35b591f8ec
uncommit accidental changes
2009-12-11 21:21:52 +00:00
pooka
262f83ce50
Use range locking (fnctl(F_SETLK)) instead of file locking (flock()).
...
This allows to mount multiple (non-overlapping) partitions from the
same disk image.
2009-12-11 21:20:52 +00:00
pooka
72e7011c7a
Init ukfs__part_{na,none} statically instead of at runtime to avoid
...
init-order lossage from p2k/rump_smbfs, as noted by Tron.
2009-12-11 16:47:33 +00:00
joerg
f65504295d
Fix markup.
2009-12-09 18:06:08 +00:00
roy
c9c21f1ecc
Test against SSIZE_MAX as pointed out by enami tsugutomo.
2009-12-07 21:31:43 +00:00
uebayasi
37469dacdd
Provide the phony "tags" target as previous. Make it depend on the real
...
target. In case someone assumes the target as an interface.
2009-12-06 12:56:59 +00:00
uebayasi
0b52043222
Fix typo in previous.
2009-12-06 11:16:26 +00:00
uebayasi
09afef2063
Rename ${SRCS.{alpha,arm,...}.gen} to ${LSRCS.{alpha,arm,...}.gen} because
...
they ended up in ${LSRCS}, not ${SRCS}. ${SRCS.*} namespace will be used
for more useful things. No functional changes intended.
2009-12-06 07:12:17 +00:00
uebayasi
619e0bd90e
Set ${SRCS.softfloat}.
2009-12-06 07:05:50 +00:00
uebayasi
c1fa6bf05b
Make the local "tags" target an absolute path, ${.OBJDIR}/tags, otherwise
...
it conflicts with the "tags" target defined in bsd.own.mk, which is .PHONY,
which causes you to re-build "tags" everytime you re-run make.
2009-12-06 06:30:52 +00:00
uebayasi
f0d2ed931c
Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat}
...
then append them to ${SRCS}. Those will be used to generate quad / softfloat
symbol lists.
2009-12-06 05:34:42 +00:00
pooka
7431f4f63d
Add an error handler which syslogs but does not abort() and make it
...
the default. Most servers just shovel bits from their backend to
the kernel without checking the contents and dumping core in case
the backend gives garbage is a bit harsh.
2009-12-05 20:54:10 +00:00
pooka
689551bfdb
Remove suspension support from here too.
2009-12-05 12:13:08 +00:00
pooka
a1c4673949
Adapt ukfs users to the new ukfs_part interface.
2009-12-03 14:27:16 +00:00
pooka
0c29df1074
Improve the ukfs magicpath interface a bit:
...
* rename PART to DISKLABEL
* allow to take an OFFSET range to make it possible to access an image
where there is no disklabel present
* make future extensions easier and less intrusive for the callers
2009-12-03 14:23:49 +00:00
pooka
5f6578a865
tyop de fix
2009-12-02 12:50:27 +00:00
pooka
304d27696e
Document that strtouq can return UQUAD_MAX.
2009-12-02 12:45:35 +00:00
roy
5eba354808
Pass lint.
2009-12-02 11:14:47 +00:00
enami
8f4cd2bee8
Retain old variables when failed to allocate memory.
2009-12-02 09:34:51 +00:00
roy
7cfa046806
Reinstate __getdelim which does no locking.
...
Callers are now required to FLOCKFILE so they can operate on fp as well.
2009-12-02 09:03:13 +00:00
uebayasi
5f297383d5
struct _locale_time_t _global_locale is a datum. Declare it as extern.
2009-12-02 08:53:03 +00:00
roy
142091db36
Protect getline.
2009-12-02 08:46:33 +00:00
wiz
9e3ffe49a3
Make HTML-ready, use standard section headers, fix Xr.
2009-12-01 08:15:50 +00:00
explorer
7ba2798f6e
Assign copyright to TNF
2009-12-01 01:33:25 +00:00
roy
3490b83a1f
Protect getdelim when used internally.
2009-12-01 00:52:13 +00:00
roy
755657be4b
Remove __getdelim and just use getdelim.
...
fgetstr now works with strings up to SSIZE_MAX as a result, but may
reallocate buffers needlessly just like it used to when the buffer size
exceeds INT_MAX.
fgetstr converts errno EOVERFLOW to EINVAL on getdelim error.
2009-12-01 00:03:53 +00:00