Commit Graph

12702 Commits

Author SHA1 Message Date
skrll
0b99767bfe Remove unnecessary include. 2008-08-11 21:45:24 +00:00
pooka
71043aa4cb clear cached puffs_cc's in puffs_exit() 2008-08-11 16:23:37 +00:00
pooka
7602ecfa8f * make sure we come out of mainloop in the main context. otherwise in
certain cases the server would jump to hyperspace when unmounted
* sprinkle some debug prints
2008-08-11 15:59:01 +00:00
pooka
44053cbe13 Avoid pid 0
XXX: pid allocation should not be done here.
2008-08-08 14:16:24 +00:00
matt
c331e46238 Add support for missing _SC_* constants for sysconf().
From andy dot shevchenko at gmail dot com
2008-08-06 17:17:03 +00:00
matt
f0a4a8908c Add a missing dependency 2008-08-06 16:22:48 +00:00
plunky
e6fde5136f For convenience, pad the structures for NAP, GN and PANU profiles
to be the same size.
2008-08-06 14:21:33 +00:00
lukem
c15f2bdde0 Revert previous addition of '-e sedcmd'. Still retain the usage improvements. 2008-08-05 02:08:13 +00:00
lukem
0cc7d83887 Redo previous in a much simpler way.
Inspired by and fixes PR 39285.
2008-08-05 02:06:53 +00:00
lukem
d3eb13d073 Add '-e sedcmd' to makelintstub, to translate filename to syscall name.
Improve usage, etc.

Invoke makelintstub with -e 's/^tmp_//' when building LintSysNormal.c

Fixes build problem that matt@ highlighted to me.
2008-08-05 01:54:47 +00:00
matt
cac8e44915 Add C99 functions imaxabs and imaxdiv. 2008-08-04 21:29:27 +00:00
matt
01b36ae8ad Use WEAK_ALIAS 2008-08-04 20:26:38 +00:00
matt
e796a34c9c Use WEAK_ALIAS.
Add imaxabs weak alias.
2008-08-04 20:21:26 +00:00
lukem
29e7a5c114 Prefix filenames of tomporarily generated .S files with "tmp_", so that the
".if exists(foo.S)" check doesn't get confused by ${.OBJDIR}/foo.S.
Fixes PR/39217
2008-08-04 00:53:51 +00:00
veego
cca63e16c3 Restore .hx support for avoiding unneeded regeneration of header files
Fix PR lib/39185

Partly restore the changes which were removed during the Heimdal 1.1 update:
src/lib/libasn1/Makefile 1.28 -> 1.29
src/lib/libhdb/Makefile 1.21 -> 1.22
src/crypto/dist/heimdal/lib/asn1/gen.c 1.8 -> 1.9

Add .hx support in 'new' heimdal libraries:
src/lib/libgssapi/Makefile
src/lib/libhx509/Makefile

Add a new entry in doc/HACKS for this changes.
2008-08-03 07:16:58 +00:00
matt
2b0c4dcffd Change pthread_mutex_t to use the amount of space as and be congruent to
the version used in the SA version of pthreads.  This preserves binary
compatibility between both versions of the library.
2008-08-02 19:46:30 +00:00
matt
c0038aadef Change some type to eliminate some lint warnings. 2008-08-02 16:02:26 +00:00
pooka
541195ef5d Introduce ukfs_vfstypes() which returns the available file system
types loaded into rump.  Now it is possible to iterate over all
file system types supported by a rump program in an attempt to
access an unknown file system image instead of having to know
beforehand which type of file system is on the image.
2008-08-01 19:52:10 +00:00
dillo
2a16dc1a4e Add API version 2.6 variant of fuse_setup.
Reviewed by agc.
2008-08-01 15:54:09 +00:00
pooka
b6113580a4 __{BEGIN,END}_DECLS 2008-08-01 14:50:28 +00:00
pooka
c19f1a2afd Support ukfs_modload(), which dlopens and vfs_attaches rump file
system modules for use.  Sneakily this solves the problem with the
dynamic linker not wanting to handle the modules link set for
binaries where more than one file system library is included during
the link phase and therefore only one of the file systems getting
vfs_attach()ed in rump "boot".  But more importantly, this is really
TRTTD, since now applications can be built, linked and shipped
completely independently of the file systems they support.

tested by Arnaud Ysmal
2008-08-01 14:47:28 +00:00
pooka
6fe369e772 Nuke __VFSOPS_EXPOSE, it hasn't been used in ages. 2008-07-30 18:10:38 +00:00
joerg
9acf218ba1 Before using the slightly more involved bitmap tables,
check that the charset for strspn/strcspn is non-trivial.
An empty charset is either a direct return or a strlen and
a single charset a simple loop.
2008-07-30 16:13:59 +00:00
pooka
e3c0c9ec57 No reason to forward def componentname anymore 2008-07-30 14:59:47 +00:00
pooka
d2b954cb75 Include <sys/types.h> for completeness, uid_t etc. in prototypes
noticed by Arnaud Ysmal
2008-07-30 14:57:40 +00:00
christos
365dab42f3 handle EINTR in the termios operations, reported by the GHC folks 2008-07-30 13:00:46 +00:00
pooka
db96f8c4cc fix pasto 2008-07-29 21:11:17 +00:00
lukem
a703e9a7ca Disable assembler warnings on mipseb and mipsel for mcount.c
Workaround for PR#39192
2008-07-29 14:20:12 +00:00
pooka
bdf6e0b034 Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly
2008-07-29 13:17:40 +00:00
dsl
9edd12efca Change the gross #defines HVIS and SVIS into local functions. 2008-07-25 22:29:23 +00:00
christos
674681d3c0 fix gcc warnings from Alexander Shishkin 2008-07-25 14:05:25 +00:00
tnozaki
97d29a42cd add workaround for PR/39175(Curses regression causes disoptimal and
confusing output), act as rev1.25 does when wcwidth == 1.
2008-07-23 13:32:41 +00:00
lukem
ae07e87382 Enable MAKEVERBOSE support. 2008-07-21 15:34:58 +00:00
lukem
8897ce05a0 Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 12:05:43 +00:00
veego
e6e078517c Add CLEANFILES for ${BUILT_SRCS} (vis.h) 2008-07-20 16:25:35 +00:00
veego
5eea48350f Add a CLEANFILES line to remove the generated file defs.h 2008-07-20 14:36:52 +00:00
pooka
6ebb8696c9 add pthread_cond_has_waiters_np() 2008-07-18 16:17:11 +00:00
drochner
1914237fbe include <stdlib.h> explicitely, for exit(), getprogname() etc.
(it happens to be pulled in by the yacc skeleton, but we shouldn't
rely on this)
2008-07-17 16:24:55 +00:00
dholland
d3dda4ea44 Clarify one of the process-group-ID cases by saying "process group ID"
instead of just "group ID". This was sitting in my tree and I forget
the exact genesis - I think it came up in chat a couple months ago.
2008-07-13 15:16:26 +00:00
christos
df0a282e52 Don't bother with SIGSTOP it cannot be caught or ignored. From Jess Thrysoee 2008-07-12 15:27:14 +00:00
gmcgarry
686556951e Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags. 2008-07-12 12:29:42 +00:00
gmcgarry
396359b261 Check MKCOMPLEX variable to build complex support into libm. 2008-07-12 12:23:13 +00:00
gmcgarry
495a069c8d Test MKATF variable to compile ATF libs. 2008-07-12 12:20:08 +00:00
gmcgarry
99f83f7619 Nuke __strong_alias() to avoid definition loop. 2008-07-08 00:23:28 +00:00
gmcgarry
5aa0bc7608 Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
accesses are permitted on them.  Therefore, change movl to movw.  No change to
machine code generated.
2008-07-07 13:01:16 +00:00
tnozaki
c71a9f1dad use mbrtowc() instead of mbtowc(). 2008-07-04 16:52:10 +00:00
tnozaki
b29240a183 use nl_langinfo(CODESET) instead of setlocale(LC_ALL, ""). 2008-07-04 16:24:45 +00:00
tnozaki
c1cfc49998 fix cursor position problem with the character wcwidth > 1.
discussed in tech-userlevel, ok'ed by jdc@ thanks!
2008-07-04 15:51:35 +00:00
rmind
7781a976a7 Avoid calling a syscall when argument to sbrk(2) is zero.
OK by <ad>.
2008-07-02 20:07:43 +00:00
rmind
2a94bd63c1 Move scheduling functions from librt to libc.
Fixes PR/38657.
2008-07-02 20:05:16 +00:00