Commit Graph

13583 Commits

Author SHA1 Message Date
christos 0b9ae3fdf0 Fix wide build, test it, but don't turn it on yet. 2009-12-30 23:54:52 +00:00
christos 34e53048e6 Wide character support (UTF-8) from Johny Mattsson; currently disabled. 2009-12-30 22:37:40 +00:00
mrg 35ea637d2b avoid some subdirs that need -lcrypto, for MKCRYPTO=no. 2009-12-29 23:01:09 +00:00
christos 8106943a02 reduce diff with tcsh 2009-12-28 22:15:36 +00:00
christos b90e7198e7 improve on the listing display by printing only one character after the
filename not two, and no trailing blanks. I will revisit this when I write
the ls-F code.
2009-12-28 21:55:38 +00:00
christos c8b67cd8d5 Reduce diff with tcsh's editor. No functional change intended. 2009-12-28 21:54:21 +00:00
christos 969676ec74 Fix bug where tab completion on the second or > line that caused listing
ended up corrupting the display by an extra space in the beginning. Reported
by Mac Chan.
2009-12-28 21:52:43 +00:00
pooka 3454464e10 Technically we're supposed to use flags from the RUMP_NAMEI namespace
instead of NAMEI directly.  Probably doesn't matter in practise,
since the chances of this running on non-NetBSD are low.  But make
it correct anyway.
2009-12-23 01:15:11 +00:00
pooka 81eb543b62 Use NAMEI_INRENAME to improve the situation with detecting on when
to save componentname instead of looking at SAVESTART.  Not perfect,
but better.  Also, try to be more forgiving of kernel bugs.
2009-12-23 01:11:39 +00:00
wiz 16aa486655 Sort ERRORS. 2009-12-20 02:16:40 +00:00
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