justin
59fd6f1da5
Return type of compat wait functions should be pid_t not int.
2015-03-26 11:17:08 +00:00
joerg
68179c3df2
Remove va_arg hack for Clang/PPC.
2015-01-29 20:44:38 +00:00
joerg
9074b7ff29
Use the lint path as workaround for Clang on 32bit PPC for now.
...
Document this hack.
2014-08-13 14:43:48 +00:00
joerg
76ef534724
If LINT code path uses memcpy, it should also include string.h.
2014-08-10 17:55:08 +00:00
christos
b2a02f6aa7
expose __lwp_park60
2014-01-31 20:45:48 +00:00
christos
fda5f877e5
prefix compat with __ in case __dso_hidden is not available
2013-10-04 21:07:37 +00:00
christos
ca2d95d15f
avoid linker warning for compat symbols that are used internally in libc,
...
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.
2013-10-04 20:49:16 +00:00
christos
dabcbd76a6
Compat glue for lwp park, but does not use the new syscall yet.
2013-03-29 02:09:58 +00:00
matt
5688dfcf9c
Switch to C89 definitions.
...
Remove use of __P
2012-03-20 17:05:59 +00:00
joerg
3e39914d72
Add missing includes.
2012-03-13 22:24:48 +00:00
christos
c5e820cae4
PR/45989: Martin Husemann: lint invocation does include -w only on i386
...
- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)
approved by core@
2012-03-13 21:13:30 +00:00
mrg
493d341048
various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
...
these work properly wtf pointer aliasing, but there are no casts at
least...
the lib/libpuffs/puffs_priv.h is definately a real bug fix.
from chuq.
2011-06-20 09:11:16 +00:00
christos
bcb5ce2065
Fix emulation issue of SETVAL, and make the code look the same between the
...
two different versions.
2011-01-31 22:51:39 +00:00
dholland
45e10be5f4
Add __warn_references to getdirentries(), per PR 37730. Okayed by Christos
...
a while back.
2009-02-22 06:33:38 +00:00
lukem
a99197aa1c
sign-compare fix
2009-02-03 04:58:38 +00:00
christos
461a86f9bd
merge christos-time_t
2009-01-11 02:45:45 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
dsl
9145137adc
Fix the return value so the MNT_GETARGS returns 0, not the buffer length.
2007-07-18 20:10:47 +00:00
dsl
4d09898946
Change libc system callstub from 'mount' to '__mount50', add compat call.
2007-07-14 15:53:04 +00:00
nakayama
b0cfe41e9b
PR lib/34210: Avoid bus error (unaligned 64-bit access) on sparc64.
2007-03-02 13:18:55 +00:00
yamt
0872061b2c
add missing const.
2006-08-04 17:06:56 +00:00
yamt
6e8d813f5e
remove the support of variable-sized filehandle from compat version of
...
syscalls. (strictly speaking, it breaks abi. i don't think it's a problem
because this feature is short-lived and there are no affected in-tree
filesystems.)
2006-08-04 16:30:22 +00:00
martin
b4cb63a646
Make filehandles opaque to userland
2006-07-31 16:34:42 +00:00
christos
3d7fe67b05
fts_data is defined to be something else now. Avoid syntax error.
2006-07-27 18:11:19 +00:00
martin
629693c760
Lint insists on this.
2006-07-13 19:09:06 +00:00
martin
688ce05cf5
Ooops, forgot to add this with the last commit
2006-07-13 13:07:31 +00:00
martin
a3b5baed42
Fix alignement problems for fhandle_t, exposed by gcc4.1.
...
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
mrg
e2eb31d3a3
version the socket(2) syscall. for compat30 socket, we use
...
EPROTONOSUPPORT instead of EAFNOSUPPORT.
from pavel@ with a little bit of clean up from myself.
XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
2006-06-26 21:23:56 +00:00
drochner
837ecb8ce8
support the new ntp_gettime() syscall and add compatibility for the old one
2006-05-29 10:02:56 +00:00
christos
99f76ec337
Adjust for the fhstat() compat kernel change.
2006-05-04 19:00:18 +00:00
christos
eb961d0e02
Add glue to build the compat library as a separate "libcold" turned off by
...
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.
2006-03-11 21:07:18 +00:00
christos
5b84b3983f
compat core reorg.
2005-09-13 01:44:08 +00:00