gmcgarry
77023558e8
Changee __attribute(__weak__) to __weak_reference(). Produces same object code
...
and matches lib/csu/common_elf/common.h. Fixes linkage with PCC.
2008-08-17 10:51:19 +00:00
rtr
e5321bd81b
revert previous
2008-08-17 10:50:50 +00:00
dholland
377b231974
Fix grammar. Noted by Taylor R Campbell in PR 39369.
2008-08-17 09:40:59 +00:00
rtr
1becd174de
fix comment iff -> if
2008-08-17 09:26:45 +00:00
wiz
b9a5e63c26
Bump date for previous.
...
Sort ERRORS, and merge two entries for the same errno value.
2008-08-14 18:00:08 +00:00
matt
8165c33c80
Implement following constants and add support their to the UFS family of file
...
systems:
_PC_2_SYMLINKS
_PC_SYMLINK_MAX
From andy dot shevchenko at gmail dot com.
2008-08-14 16:19:25 +00:00
pooka
10b4d05961
Fix rump_vfs_sync() credarg also.
2008-08-14 15:24:18 +00:00
pooka
190154b4de
Fix arg to RUMP_VOP_READDIR, NULL no longer works there.
2008-08-14 15:22:41 +00:00
tnozaki
cd0f2012d3
SUSv3 says, if not printable wide-character exists, return -1.
2008-08-12 21:59:27 +00:00
tnozaki
73651b99df
add _CTYPE_R(printable) bit for ALL_80_TO_FF_SW1 area.
...
now wcwidth(wc) looks whether wc is printable or not.
2008-08-12 21:25:31 +00:00
tnozaki
b5174f925f
SUSv3 says, wcwidth(wc) returns:
...
1) wc is nul wide-character, return 0.
2) wc is printable wide-character, return column width.
3) else, return -1.
but our implementation, case 3) returns 0. it's wrong!
2008-08-12 20:51:25 +00:00
pooka
3fd391abc8
void * -> puffs_cookie_t
...
no functional change
2008-08-12 19:51:55 +00:00
pooka
ff42332733
Replace void * by puffs_cookie_t where appropriate. No functional change.
2008-08-12 19:44:39 +00:00
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
matt
48717a981d
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
2008-06-30 19:03:59 +00:00
ad
b4c1afd422
Shut lint up.
2008-06-28 16:50:43 +00:00
ad
27e50f7c64
Avoid spurious assertion failure.
2008-06-28 10:37:20 +00:00
ad
0e006eeb6f
Minor correction to previous.
2008-06-28 10:36:12 +00:00
ad
cbd43ffa55
Now that we have all the scheduling gunk, make these do something useful:
...
pthread_attr_get_np
pthread_attr_setschedparam
pthread_attr_getschedparam
pthread_attr_setschedpolicy
pthread_attr_getschedpolicy
2008-06-28 10:29:37 +00:00
ad
2a7116daf3
ttyname_r is another of the strange functions that returns its error code
...
instead of setting errno.
2008-06-25 11:47:29 +00:00
ad
3ae2f84118
Add _SC_TTY_NAME_MAX.
2008-06-25 11:46:11 +00:00
ad
5c6eb305b3
Fix MLINKS line
2008-06-25 11:19:28 +00:00
ad
c6f43a476e
Crank libc minor for getlogin_r
2008-06-25 11:12:01 +00:00
ad
5f64faa3a9
Add getlogin_r. Manual page changes mostly lifted from FreeBSD.
2008-06-25 11:10:24 +00:00
ad
d29b52efe8
Return -1 for the unsupported realtime extensions.
2008-06-25 11:09:20 +00:00
ad
403a399142
pthread_attr_setstacksize: EINVAL if the requested size is less than
...
sysconf(_SC_THREAD_STACK_MIN).
2008-06-25 11:07:07 +00:00
ad
39a9e71121
pthread_join: explicitly test for cancellation.
2008-06-25 11:06:34 +00:00
drochner
39ba286079
as in exp(), treat +/-Inf and NaN arguments specially, should fix
...
eg expf(-Inf) which was Nan previously
(We could avoid touching the i387 on amd64 in these cases, but we'd
need to bypass the ABI abstraction macros, so leave it the old way
for now.)
2008-06-24 17:27:56 +00:00
ad
e7bd22925c
A few more POSIX defs for threads.
2008-06-24 14:06:55 +00:00
ad
6d153667e5
pthread_kill, pthread_sigmask: return errno, not the return from the system
...
call. Found by VSTHlite.
2008-06-24 13:45:07 +00:00
christos
0ec2ee405f
No need for pthread anymore.
2008-06-23 14:52:11 +00:00
ad
10ba267505
Split cond_signal/cond_broadcast into inline and non-inline parts, like
...
the kernel.
2008-06-23 11:01:19 +00:00
ad
d9a30823e2
Move call to pthread__self() later.
2008-06-23 11:00:53 +00:00
ad
380c3da007
Split choose_arena() back out into inline and non-inline portions.
2008-06-23 10:46:25 +00:00
ad
3e1711d6de
pthread__threadreg_get: mark it const.
2008-06-23 10:39:38 +00:00
ad
edbc7575cc
pthread_curcpu_np: remove hack for pthread_dummy_lwpctl.
2008-06-23 10:38:39 +00:00
drochner
bc43bac5ca
-fix an obvious mistake in fpcw check
...
-replace ARG_DOUBLE_ONE_HALF by _MSW/_LSW because this reflects the
intention and also matches the terms used in C code,
also make the code where the fpcw overwrites the argument a bit
self-documenting
(this abstraction sucks because it forces to write inefficient code)
2008-06-23 10:24:13 +00:00
ad
7a21650601
Install manual pages for the atomic ops.
2008-06-23 10:22:40 +00:00
christos
1d1021c331
add macros for the upper half of the double arguments.
2008-06-23 00:14:46 +00:00
christos
8a9e7b0124
Share the amd64 and i386 exp versions. Fixes a problem with exp(-Inf) != 0.
2008-06-23 00:12:04 +00:00
christos
4f1a5d7e7c
bump libssh because of HPN and add pthreads dependency.
2008-06-22 15:43:40 +00:00
wiz
067a770e99
Note that strndup was recently (4.0) added. Bump date.
2008-06-22 11:02:07 +00:00
wiz
688c5830e1
Clarify a sentence.
2008-06-22 08:25:26 +00:00
wiz
e15ccc02f4
Make HTML-ready. Bump date for previous.
2008-06-22 08:24:40 +00:00
wiz
81ffe97c5e
Bump date for previous.
2008-06-22 08:24:26 +00:00
christos
7ce5e09d1b
- protect DEBUG again because we should be able to set it from the Makefile
...
- add a missing cast to pacify lint.
2008-06-21 23:37:53 +00:00
christos
494bafa060
forgot to commit these.
2008-06-21 23:32:19 +00:00
christos
aaad11e7ac
bump for bind-9-5-0
2008-06-21 20:42:40 +00:00
christos
3873655b27
updates from bind-9-5-0
2008-06-21 20:41:48 +00:00
ad
49b506e72f
PR lib/38948: libpthread, java: thread awakening itself
2008-06-21 11:27:41 +00:00
gmcgarry
38541e9dad
Remove old GCC bug work-around which relied on GCC extension.
2008-06-21 00:52:52 +00:00