Commit Graph

16514 Commits

Author SHA1 Message Date
wiz
15848daca9 More markup. Merge two error entries for the same error. 2013-05-24 09:35:11 +00:00
enami
d47f3c1bfa Update ERRORS section:
- Remove some system calls from the list of functions which may set errno
  during the execution of realpath(3) since they are no longer used
  to implement it.
- Document some errno set by the realpath(3) itself.
2013-05-24 03:20:18 +00:00
mlelstv
bec369833b Correctly alias the ldexp* functions to the scalbn equivalents
that take an int argument.
2013-05-20 20:27:43 +00:00
joerg
65098ec1a4 Fix ldexp aliases. 2013-05-20 19:40:09 +00:00
mlelstv
d896c3b677 Use correct alias for scalbn(). Tested by martin@. 2013-05-20 15:13:36 +00:00
christos
eb9ea33272 don't cast malloc 2013-05-19 21:45:00 +00:00
martin
6883e0df33 Try to fix bogus underflow test (obvious copy & pasto) - someone please
review to make sure I got it right.
This fixes PR 47834.
2013-05-19 20:50:02 +00:00
christos
d3a4e77c47 from kre: Don't fail if we are seeking on a pipe, clear the append bit
since we always append.
2013-05-19 17:07:04 +00:00
joerg
e0ac190e1e Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
2013-05-17 12:55:56 +00:00
wiz
890db9708a More markup, less typos. 2013-05-15 22:09:32 +00:00
pooka
03395b4cf5 also, bsd.own.mk to pick up mk.conf 2013-05-15 20:47:20 +00:00
pooka
5666bf4b73 Make it possible for external parties to specify additional dplibs.
This is useful for example on platforms which require -ldl.
2013-05-15 20:27:00 +00:00
pooka
907ce8379e Improve documentation on the locking order of cv_wait mtx/cpu. 2013-05-15 17:53:09 +00:00
pooka
3306a659de Add a generalized rumpuser_syncfd() call which allows the caller
to request a sync or a barrier for fd.
2013-05-15 15:57:01 +00:00
pooka
601de6b09f Pass off_t over the hypercall interface as int64_t to avoid potential
problems in setups where off_t doesn't want to be 64bit.

I'm already excitedly waiting for 128bit off_t and _LARGE_LARGE_FILES
2013-05-15 14:58:24 +00:00
pooka
15dc8bf975 Pass enums over the hypercall interface as ints to avoid some
pathological scenarios from arising in setups where enums might be
of a different size in the rump kernel and hypervisor.
2013-05-15 14:52:49 +00:00
pooka
d0d5069c1a Add RUMPUSER_LWP_CLEAR instead of overloading RUMPUSER_LWP_SET.
This simplifies some alternative hypervisor implementations.
2013-05-15 14:07:26 +00:00
christos
748fc2c7c9 CVE 1020946: Fix res leak. 2013-05-13 17:54:55 +00:00
christos
961429e30c CVE 1020938: Fix memory leak 2013-05-13 13:59:39 +00:00
wiz
9da71ac3fd conforms -> conform, since it's the verb for three nouns and thus plural. 2013-05-12 10:44:23 +00:00
rodent
f53b79ea5c s/conform/conforms/1 2013-05-11 19:20:30 +00:00
christos
53c7ca1dc2 s/inherited/inherit/ 2013-05-10 21:06:14 +00:00
wiz
ce13c0c0df New sentence, new line. Fix minus. Avoid <>.
Remove trailing whitespace.
2013-05-08 18:18:32 +00:00
christos
814d1846cc Clarify which functions are only in libresolv. 2013-05-08 18:06:46 +00:00
christos
f50e99db7e welcome to 2013c! 2013-05-08 15:49:43 +00:00
christos
1eb9e03aa2 - add __clnt_sigfillset() that does not blindly block all signals but excludes
the tty generated ones (int, quit, tstp), plus term and hup. This makes
  command line clients behave on connect(2) where before they would need
  to be killed from a different tty. Much easier than making the file
  descriptor non-blocking for the duration of connect and then using
  pselect/pollts to detect when actual connection or timeout occured using
  a different sigmask.
- factor out some of the error paths.
2013-05-07 21:08:44 +00:00
pooka
af9586a1db need the rw_downgrade/tryupgrade methods too 2013-05-07 16:40:31 +00:00
pooka
c0e1ad2997 update to recent interface changes 2013-05-07 15:37:05 +00:00
pooka
059f8df6f9 include stdint.h before rumpuser.h (on some platforms it doesn't get
there automagically)
2013-05-07 15:18:35 +00:00
wiz
9ce1a24bd5 End sentence with a dot. 2013-05-06 13:29:12 +00:00
jdc
b29886d4e9 Extend does_ctrl_o() to compare exit attribute and ext ACS sequences. 2013-05-05 14:24:05 +00:00
jdc
cab30aac1c Also merge in background attributes. 2013-05-05 14:23:16 +00:00
jdc
80b874e08a Add extra debugging when copying window contents. 2013-05-05 14:22:07 +00:00
pooka
302678cea5 Initialize rw->downgrade when allocating a rwlock.
should/might/etc fix recent test hangs reported by martin & pgoyette
2013-05-05 12:27:38 +00:00
skrll
3defc39379 Whitespace 2013-05-05 10:26:57 +00:00
wiz
70daec796f Grammar. 2013-05-04 19:17:38 +00:00
christos
b5fd8f5747 _ss improvements 2013-05-04 18:35:53 +00:00
christos
e72cf68c19 move prototypes to stdio.h 2013-05-04 18:31:47 +00:00
wiz
3a2c836a74 New sentence, new line. 2013-05-03 21:13:34 +00:00
wiz
1747869c0f Fix some punctuation nits and bump date for previous. 2013-05-03 20:27:16 +00:00
wiz
c602ca6ae7 Use more markup, add a serial comma, fix a typo. 2013-05-03 20:24:26 +00:00
wiz
2753405618 Use more markup. 2013-05-03 20:21:24 +00:00
christos
dfecb5b774 document AI_SRV 2013-05-03 19:34:54 +00:00
christos
c641632a69 PR/32373, PR/25827: Add SRV lookup in getaddrinfo(3)
Per DNS-SD (RFC 2782), but only enabled if AI_SRV is set.
2013-05-03 19:31:13 +00:00
christos
0a312e0850 KNF, whitespace police -- no code changes 2013-05-03 19:24:52 +00:00
pooka
cfbb87e05b Support proper rw_downgrade() semantics. 2013-05-03 00:23:49 +00:00
pooka
92e27cb3c3 reorder for better locality. no functional change. 2013-05-02 22:07:57 +00:00
pooka
f448fededb update for previous change 2013-05-02 21:47:12 +00:00
pooka
5606f9bf46 Ok, maybe using int64 for nanoseconds in the (sec,nsec) tuple was
a bit too future-proof.  I think long is enough there (let's just
hope nobody redefines "nano").  Also, make seconds signed just in
case someone wants their clock to be in 1901.
2013-05-02 21:45:28 +00:00
pooka
f950fd3d52 Push rwlock upgrade and downgrade into the hypervisor where there's
at least a chance to implement them with minimal fuss.
2013-05-02 21:35:19 +00:00