summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2001-08-22"This section" and variants ==> 'The manual pages in section x'Heikki Korpela
in intro manual pages to hopefully confuse users a little bit less aaron@ ok
2001-08-21Start syncing with FreeBSD:Federico G. Schwindt
o Implement _get_curthread() and _set_curthread(). Use it where possible. o Add missing _thread_[enter|leave]_cancellation_point(). o Add a couple of not yet used vars to pthread_private.h. o Remove return's from void functions. This is by no means complete, but instead of doing a big commit, i'll split it in small ones, minimizing diffs.
2001-08-20spellingPeter Valchev
2001-08-20Powered by @mantoya.Mike Pechkin
o) fix bogus .Xr usage; millert@ ok.
2001-08-20cope with sa_len < sizeof(struct sockaddr).Jun-ichiro itojun Hagino
From: Patrik Lindergren <patrik@datacom.nu>
2001-08-20cope with negative return value from snprintf.Jun-ichiro itojun Hagino
2001-08-20use snprintf, not sprintf. sync with kameJun-ichiro itojun Hagino
2001-08-19remove unused bits and pieces.Brad Smith
-- Ok'd by art@
2001-08-19make obj in hppa alwaysMichael Shalayeff
2001-08-19either way this is what i'm using nowMichael Shalayeff
2001-08-19enable pthread_main_np(3)Peter Valchev
2001-08-18deal with -1 from snprintf, if it ever happensTheo de Raadt
2001-08-18be more careful with snprintf; millert okTheo de Raadt
2001-08-18Describe the pthread_main_np() functionPeter Valchev
2001-08-18fix a typo and add devel/sdl to the ports applications using these pthreadsPeter Valchev
for testing
2001-08-18sync up libossaudio with NetBSD changes.Brad Smith
-- - Add __BEGIN_DECLS & __END_DECLS for C++ - Make protection against multiple inclusion non-invasive wrt. name space - Use EAGAIN instead of EWOULDBLOCK. The actual numeric value is same, but EAGAIN is the posixly correct name - Remove white space - Change the behaviour to report emulated encodings, too - Implement SOUND_MIXER_INFO - Implement OSS_GETVERSION - Accept mixer values above max (100) - Handle the info from AUDIO_MIXER_DEVINFO properly, parts of it is opaque - Use accurate rounding in conversion between OSS and OpenBSD volume values - Map OSS mixer device "line1" to native mixer device "aux" -- Some testing by pvalchev@, no response from other testers in over a month and a half.
2001-08-18Add a possibility to add a random offset to the stack on exec. This makesArtur Grabowski
it slightly harder to write generic buffer overflows. This doesn't really give any real security, but it raises the bar for script-kiddies and it's really cheap. The range of the random offsets is controlled by the sysctl kern.stackgap_random (must be a power of 2). This is disabled by default right now, but we'll set it to a reasonable value (1024?) soon, after some more testing.
2001-08-17pthread_main_np prototypePeter Valchev
2001-08-17Provide the equivalent to Solaris thr_main() function; from FreeBSDPeter Valchev
2001-08-17correctly return ssize_t.Federico G. Schwindt
2001-08-17correctly return ssize_t.Federico G. Schwindt
2001-08-162nd arg to pw_mkdb()Todd C. Miller
2001-08-16consistently use #include "util.h" not <util.h> since util.h lives in this dir.Todd C. Miller
2001-08-16Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -sTodd C. Miller
flag and crank the library major due to the interface change.
2001-08-16Use calloc() to allocate response data. Be more careful when freeingHakan Olsson
memory. jakob@ ok.
2001-08-16o) -mdoc syntax improvements;Mike Pechkin
o) typos; o) "start new line" issues; o) improve enclosure/quoting macros; millert@ help and ok
2001-08-16Xr raise(3)Theo de Raadt
2001-08-15ops, _thread_kern_set_timeout() to const.Federico G. Schwindt
2001-08-15* kevent(2) support; from FreeBSD.Federico G. Schwindt
* change _thread_kern_set_timeout() parm to const.
2001-08-15Typo fixes; andrew.hoerter@NeuStar.comAaron Campbell
2001-08-15Use INFTIM.Federico G. Schwindt
2001-08-15For unsupported sched policies, return ENOTSUP, not EINVAL; from FreeBSD.Federico G. Schwindt
2001-08-15TEST has moved to regress/lib/libc_r.Federico G. Schwindt
2001-08-13Fix a bug with the %e flag introduced in a -Wall pass. The originalTodd C. Miller
code was in error but due to C precedence rules it didn't cause a problem.
2001-08-13Explicitly NUL terminate dst in strvis() and strvisx() in caseTodd C. Miller
we are passes an empty string. vis() and strnvis() were already OK. Based on patch by wilfried@openbsd.org
2001-08-12Get rid of extraneous #includes by using stub struct declarations.Todd C. Miller
2001-08-12public domainDavid Leonard
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-08-12fake out malloc(0)Theo de Raadt
2001-08-11manpage for pthread_[get|set]schedparam; from FreeBSD.Federico G. Schwindt
2001-08-11add missing _thread_enter_cancellation_point() before going further.Federico G. Schwindt
2001-08-11Avoid an infinite loop if the last iov_len is 0; from FreeBSD.Federico G. Schwindt
2001-08-11Define INFTIM to -1, as appears everywhere. Talk about it in theFederico G. Schwindt
manpage; millert@ ok.
2001-08-10pthread_* do not set errno but returns a errno value.Federico G. Schwindt
2001-08-09Only return EINVAL if attr is invalid. If policy is invalid returnFederico G. Schwindt
EOPNOTSUPP; from FreeBSD.
2001-08-09Do not return EINVAL if param is NULL or the desired scheduling policyFederico G. Schwindt
is unsupported but EOPNOTSUPP; from FreeBSD.
2001-08-09Implement pthread_mutexattr_gettype() as defined in Single Unix Spec, v2;Federico G. Schwindt
from FreeBSD.
2001-08-08add CAVEATS section that talks about trust and the AD-bitJakob Schlyter
2001-08-07Do the memset only if tcgetattr() fails just in case the failedTodd C. Miller
tcgetattr() mucked with the passed in struct termios in some way.
2001-08-07Keep a verbatim copy of the old struct termios instead of usingTodd C. Miller
flags to keep track of what we changed. Print a newline if echo is off, even if we didn't turn it off ourselves. Fixes art's problem with a newline not being printed when piping to less.