abs
2a29d4b2b4
- Correct macro usage;
...
- sort section order.
From Bug Hunting.
2012-11-22 16:19:49 +00:00
christos
fe230c9d39
Don't call the destructor in pthread_key_delete() following the standard.
2012-11-22 08:32:36 +00:00
christos
55f47ec332
Replace the simple implementation of pthread_key_{create,destroy}
...
and pthread_{g,s}etspecific functions, to one that invalidates
values of keys in other threads when pthread_key_delete() is called.
This fixes chromium, which expects pthread_key_delete() to do
cleanup in all threads.
2012-11-21 19:19:24 +00:00
pooka
b65f40a8c1
export register_t to rump kernel users on solaris
2012-11-21 17:41:27 +00:00
matt
19392803b5
Add $NetBSD$ tag. Use ip to save r1 instead of the stack.
2012-11-20 22:02:46 +00:00
agc
453e1b8f76
descend into libnetpgpverify so that the compat entries are picked up
2012-11-20 16:33:06 +00:00
christos
f854d6154e
Add void between the parenthesis. Why only vax complains? From martin.
2012-11-19 13:45:00 +00:00
pooka
6530621714
Fixes for Solarisa.
2012-11-18 19:29:40 +00:00
pooka
e6d33ac952
s/EJUSTRETURN/RUMP_EJUSTRETURN/
2012-11-18 19:04:22 +00:00
pooka
005755d8e9
Finally remove the "temporary" __VTYPE_DEFINED stuff I added >5 years ago.
2012-11-18 18:39:23 +00:00
manu
a76c1cc17f
Add most system calls for POSIX extended API set, part 2, with test cases:
...
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).
Also implement O_SEARCH for openat(2)
Still missing:
- some flags for openat(2)
- fexecve(2) implementation
2012-11-18 17:41:51 +00:00
he
341f22eefb
Fix make syntax problem by putting the condition on the same line as .elif.
2012-11-16 12:38:09 +00:00
christos
678bca005b
fix lint
2012-11-16 02:16:38 +00:00
joerg
bda30f5579
Use the size of the object pointed to, not the size of the pointer.
2012-11-16 02:11:05 +00:00
joerg
a6fdb8b8e6
SAFE_FREE sets key_st to NULL, so use that explicitly.
2012-11-16 02:10:26 +00:00
joerg
54f191bfce
Move the build_install logic from lib/Makefile into share/mk and re-use
...
it for tools. The existing logic broke for the LLVM build with the
recent .ORDER changes in make.
2012-11-15 23:51:53 +00:00
christos
ccd87bacaf
Make libresolv handle the part that libc does not handle, update records
...
and signing.
2012-11-15 18:48:48 +00:00
christos
6237b29afd
fix the part of the code that does not get usually compiled in libc.
2012-11-15 16:43:30 +00:00
christos
42837a5b3c
Add 'x' to the mode bits to specify O_EXCL, like glibc.
2012-11-15 03:50:36 +00:00
christos
cb292d56ab
add argsused
2012-11-14 23:25:05 +00:00
pooka
2b783d7193
Check return value of ftruncate(). Some versions of gcc give
...
warnings if I don't.
2012-11-14 09:22:58 +00:00
msaitoh
71f1d3fc0f
For arm, add -fno-tree-vrp to COPTS when compiling softfloat.c.
...
Without -fno-tree-vrp, -INF + -INF returns 0 by adddf3.
Fixes PR#46953.
2012-11-14 03:47:30 +00:00
uwe
ed34834025
Mark up (unsupported) PTHREAD_PROCESS_SHARED with .Dv macro.
2012-11-12 23:34:50 +00:00
uwe
7fe27706ff
Refer to init_routine in the DESCRIPTION section with .Fa instead of .Fn
2012-11-12 23:28:11 +00:00
uwe
b5c99d4306
Use
...
.Vt type var No = Dv INITIALIZER;
to provide examples of static initialization in SYNOPSIS section.
.Va macro does the wrong thing (check groff PostScript output) and the
need for .Pp kludge (now dropped) should have been an indication too.
While here move static initialization example to be right after the
declaration of *_init().
2012-11-12 23:11:05 +00:00
alnsn
292a31115c
Add libbpfjit library.
2012-11-11 17:34:06 +00:00
uwe
b89e4203ae
Each get function "has" a set counterpart, it doesn't "contain" it.
2012-11-10 23:12:36 +00:00
njoly
8f831e5efb
Add No macro to ensure that "and" word is not taken as function
...
argument.
2012-11-10 15:59:58 +00:00
christos
6d9727ba24
fix outdated includes list.
2012-11-07 15:48:13 +00:00
wiz
443fa8fc45
NL -> . to improve output
2012-11-06 23:25:44 +00:00
dholland
449e13d08d
proofreading
2012-11-06 21:43:37 +00:00
uwe
3551775cc1
Mention sigevent(3) not only in DESCRIPTION but in SEE ALSO as well.
2012-11-06 21:16:21 +00:00
pooka
88593a2335
Actually define the klock/unlock pointers. Not having the storage
...
allocated for them created "interesting" effects with one compiler setup.
2012-11-06 18:33:00 +00:00
pooka
57b62be432
one more routine
2012-11-06 18:31:14 +00:00
uwe
ffccaf97fd
Fix another typo.
2012-11-06 15:26:37 +00:00
uwe
bce1bfa71d
Fix typo.
2012-11-06 15:23:24 +00:00
apb
9d94c0263d
Remove duplicate "const" modifier found by clang -Wduplicate-decl-specifier
2012-11-06 09:03:03 +00:00
alnsn
ffd8736098
Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386.
2012-11-05 00:57:39 +00:00
christos
c168a88323
put a wait barrier between trousers and tpm-tools
2012-11-04 19:48:08 +00:00
christos
043b6f2ca6
fix typo
2012-11-04 19:18:03 +00:00
christos
94c130b258
hook in TPM
2012-11-04 16:28:11 +00:00
christos
82ad575716
don't include things you don't need
2012-11-04 13:08:56 +00:00
wiz
c82468c671
Bump date for previous. Grammar fix.
2012-11-04 10:57:33 +00:00
rmind
d79b47c370
libpthread: replace the use of obsolete sys/tree.h interface with rbtree(9).
2012-11-03 23:42:27 +00:00
christos
ff84366ca6
add utimens and lutimens wrappers using utimensat.
2012-11-03 19:39:21 +00:00
manu
299c086640
When lookup returns a node with null inode number, it means the ENOENT,
...
with negative caching. We do not implement negative caching yet, but
we honour the ENOENT.
2012-11-03 15:43:20 +00:00
wiz
2268525138
Fix pasto.
2012-11-03 09:20:36 +00:00
christos
2a29ccd3da
add pthread_condattr_setclock(3)
2012-11-03 03:10:50 +00:00
christos
284dc1a8fd
cast return of sysconf
2012-11-03 03:10:35 +00:00
wiz
9491c7bdbf
Remove trailing whitespace.
2012-11-03 00:52:41 +00:00
christos
edeb5b3cd1
Add _SC_PHYS_PAGES
2012-11-02 21:43:07 +00:00
pooka
2c32a204a7
implement mutex_owner()
2012-11-02 16:55:02 +00:00
pooka
cc24ac78d4
need rumpuser_mutex_init_kmutex() these days
2012-11-02 13:31:26 +00:00
mbalmer
e98f41ae83
- Update to the version on github.com.
...
- Fix stmt_bind(): SQLite makes a copy of the string passed (which can be
garbage collected). Problem found by Kubo Takehiro.
2012-11-02 12:24:52 +00:00
pooka
8083a2e226
Start restoring the ability to run rump kernels on non-threading
...
hypervisors.
Step 1: make this compile again (it's not complete, but
at least it compiles).
2012-11-02 11:11:27 +00:00
christos
febe1abc11
add new files to fix static linking
2012-10-30 12:42:37 +00:00
christos
fb6139e643
add a cast to appease the compat build.
2012-10-28 19:02:29 +00:00
christos
2f573b07f7
welcome to tzcode2012h via patch.
2012-10-28 17:11:33 +00:00
rmind
3ed953299c
Fix for npfctl show case. Improve some description while here.
2012-10-28 16:27:20 +00:00
christos
7d8ba7bfb5
stronger lint foo
2012-10-26 23:23:23 +00:00
christos
4295620388
- whitespace
...
- s/consttmp/const tmp/
- sync comments
- don't save errno where it is not needed
- consistent lint comments
2012-10-26 18:31:14 +00:00
christos
4c9b20d676
consistent lint commments
2012-10-26 18:30:11 +00:00
christos
11571e6e08
remove unused constant
2012-10-26 18:29:49 +00:00
christos
a8bd22430c
remove register
2012-10-26 18:29:34 +00:00
martin
a5430d17c3
Revert previous - casting to long is a bad idea, as the value will overflow.
...
Pointed out by apb.
2012-10-25 15:04:05 +00:00
martin
f5962309a9
Add a few casts to avoid (IMHO bogus) gcc warnings breaking the vax build.
2012-10-25 13:14:32 +00:00
wiz
76b8df0e8c
Whitespace improvements.
2012-10-24 22:56:27 +00:00
christos
429bc5b7d7
explain a bit more what's wrong with alloca(3)
2012-10-24 22:25:49 +00:00
christos
97d3085eb3
Add a warning when we are using the libc version of alloca(3).
2012-10-24 22:10:52 +00:00
joerg
570a37472e
Remove alloca when we get a chance to avoid issues like PR lib/47120.
...
With an modern optimising compiler, backend integration is necessary as
soon as frame pointers are optional.
2012-10-24 20:14:55 +00:00
christos
0b25fef287
remove error(1) output.
2012-10-24 00:30:52 +00:00
christos
fb0d3fd558
apply 2012g via patch
2012-10-24 00:10:03 +00:00
apb
977d0ed33c
Use the correct field name when describing the equivalence between
...
ptsname(3) and ioctl TIOCPTSNAME. It should be pm.sn, not pm.ps.
2012-10-19 10:44:34 +00:00
drochner
e61202360d
fix trivial typo in warning msg
2012-10-17 16:09:03 +00:00
pooka
f78e8a8efa
* avoid problems if the platform calls readlink() from dlsym()
...
* alias __read_chk() to read() on Linux (technically, though,
it should call host __read_chk() instead of read())
2012-10-16 12:56:10 +00:00
msaitoh
2d0deef114
-Wstrict-overflow
2012-10-15 22:22:01 +00:00
dholland
8b39f69929
typo
2012-10-14 08:49:28 +00:00
njoly
b6d38f1490
Remove some more unneeded Pp macros.
2012-10-13 15:28:33 +00:00
christos
7417d4b468
Add trailing NULL's to the varargs functions as required. (John Spencer)
2012-10-12 23:35:02 +00:00
christos
a9bb3b0c76
take care of the signal safe syslog calls which are not exposed.
2012-10-11 17:09:55 +00:00
christos
156eeee6c3
add more locking (when we read and write fields)
2012-10-10 23:53:43 +00:00
christos
fea19ff7ed
Add compat functions for syslog.
2012-10-10 22:52:26 +00:00
christos
6a113fa20a
PR/47055: David Holland: Remove static hostname and store the hostname in
...
syslog_data. Initialize hostname before it is used. While here, add a version
to syslog_data.
2012-10-10 22:50:51 +00:00
pooka
edf42f21f8
Implement the writewatchfile routines for a Linux hypervisor. As a
...
result, the shmif network driver now works when hosted on Linux.
2012-10-10 11:15:57 +00:00
christos
09560d8fbc
add split files
2012-10-10 02:15:03 +00:00
njoly
17568cd1bf
Kill some extra spaces in function arguments.
2012-10-08 18:15:09 +00:00
njoly
aa8d6d6d73
Function argument Fa macro expects its name on the same line.
2012-10-08 18:08:40 +00:00
pooka
6bc4679626
call pthread_setname_np() on Linux too.
2012-10-08 18:02:04 +00:00
wiz
1834bf7f98
Improve wording.
...
From Bug Hunting.
2012-10-03 19:28:44 +00:00
christos
b856128072
add clock_nanosleep(2)
2012-10-02 01:46:40 +00:00
blymn
9c95b63f3b
Don't wrap added string
2012-09-28 06:07:05 +00:00
blymn
4278f32774
Add more debug to mvchgat.
2012-09-28 06:05:19 +00:00
blymn
5c41471666
Correct behaviour of mvderwin(). It should remap a given area of the parent
...
window not move a derived window as it was before.
2012-09-28 06:03:45 +00:00
blymn
1aa7cc3dc3
Truncate string to RHS of the window - SUSv2 says we should.
2012-09-28 06:00:39 +00:00
skrll
74f6af556a
Remove magic numbers.
2012-09-27 11:20:20 +00:00
skrll
67a0557406
Fixup the stack pointer in the ucontext returned by getcontext.
...
This fixes the following tests
lib/libc/sys/t_swapcontext.c
lib/libpthread/t_swapcontext.c
2012-09-27 09:53:53 +00:00
joerg
270aa46424
Don't refuse the open databases without entries or keys, just protect
...
the divisions. cdbr_find and cdbr_get already have the appropiate
checks.
2012-09-27 00:37:43 +00:00
christos
911623fbd4
add and document AF_LOCAL (and the rest that were not)
2012-09-26 23:13:00 +00:00
msaitoh
c1c5c6072d
Fix in comment.
2012-09-26 15:33:43 +00:00
pooka
bf01f875b4
For the rumpsp protocol, don't assume that the bit representation of
...
errnos match on the client and server platforms (the syscall subprotocol
errnos are handled by the server compat code).
2012-09-21 14:33:03 +00:00