| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
thr_setschedparam.c
|
|
|
|
|
|
|
|
|
|
| |
a PTHREAD_RWLOCK_INITIALIZER to do for rwlocks what
a similarly named symbol does for statically initialized mutexes.
This symbol was dropped in The Open Group Base Specifications Issue 6
and does not exist in IEEE Std 1003.1, 2003, but it should still be
supported for backwards compatibility.
Pointy hat: mtm
|
|
|
|
|
| |
o Move pthread_getschedparam() into the same file with it's
pthread_set* counterpart. Copyright on both files is identical.
|
|
|
|
|
|
| |
o Instead of checking both the passed in pointer and its value
for NULL, only check the latter. Any caller that passes in
a NULL pointer is obviously wrong.
|
|
|
|
|
|
|
| |
o Fix mutex priority protocols. Keep separate counts of priority
inheritance and protection mutexes to make things easier.
This will not have much affect since this is only the
userland side, and the rest involves kernel scheduling.
|
| |
|
|
|
|
| |
to the format of other similar files in libthr.
|
|
|
|
| |
and fix a typo in the !__GNUC__ case.
|
| |
|
| |
|
|
|
|
|
|
| |
as clearly documented in the acl manpage.
Thanks to bde for catching this blunder.
|
| |
|
|
|
|
|
| |
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
Unfortunately, the stock zlib.h is not:
line 885: 'err' parameter shadows global 'err' definition from <err.h>
Back the WARNS level down to 3 to accomodate borked zlib.h.
|
|
|
|
|
|
| |
Make global _usage_page unsigned.
Reviewed by: imp (mentor)
|
|
|
|
| |
we get a genuine 416 reply.
|
|
|
|
|
|
|
| |
reply with a 416 error code (requested range not satisfiable) because
we ask it to start at the end of the file. Handle this gracefully by
considering a 416 reply a success if the requested offset exactly
matches the length of the file and the requested length is zero.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the second of two commits; bring in the userland support to finish.
Teach libipsec and setkey about the tcp-md5 class of security associations,
thus allowing administrators to add per-host keys to the SADB for use by
the tcpsignature_compute() function.
Document that a single SPI must be used until such time as the code which
adds support to the SPD to specify flows for tcp-md5 treatment is suitable
for production.
Sponsored by: sentex.net
|
|
|
|
|
|
|
|
| |
These files had tags after teh copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
|
| |
These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
|
|
|
|
|
|
|
|
| |
These files had tags at the start of the file
(incorrect, removed), and after the copyright
notices (correct).
Approved by: rwatson (mentor)
|
| |
|
|
|
|
| |
get used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
What it is:
A library for reading and writing various streaming archive
formats, especially tar and cpio. Being a library, it should
be easy to incorporate into pkg_* tools, sysinstall, and any
other place that needs to read or write such archives.
Features:
* Full automatic detection of both compression and archive format.
* Extensible internal architecture to make it easy to add new formats.
* Support for "pax interchange format," a new POSIX-standard tar format
that eliminates essentially all of the restrictions of historic formats.
* BSD license
Thanks to: jkh for pushing me to start this work, gordon for
encouraging me to commit it, bde for answering endless style
questions, and many others for feedback and encouragement.
Status: Pretty good overall, though there are still a few rough edges and
the library could always use more testing. Feedback eagerly solicited.
|
|
|
|
| |
this from looking at code generated by gcc.
|
|
|
|
|
|
|
| |
checks that the code actually performs. Judging from the 4.2BSD
release notes, the docs have only been out of date for 20 years.
PR: 29844
|
| |
|
| |
|
|
|
|
|
|
|
| |
Do not choke on malformed network addresses.
Return n_name in static space, not on the function's stack.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
semaphores. Also add cancellation cleanup handlers to keep semaphores
in a consistent state.
Submitted in part by: davidxu
Reviewed by: davidxu
|
|
|
|
| |
internal mutex and CV.
|
|
|
|
|
|
| |
Don't decrement it twice when it is taken.
Reported by: kris
|
|
|
|
| |
Reported by: kris
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reported by: lorder(1) (modified to work with libraries)
|
|
|
|
| |
Reported by: lorder(1) (modified to work with libraries)
|
| |
|
| |
|
|
|
|
|
| |
friend library for libpthread, the library will be used by debugger to
read/write libpthread's internal data structures.
|
| |
|
| |
|
|
|
|
| |
points to sem_wait() and sem_timedwait(). Also make sem_post signal-safe.
|
|
|
|
|
|
|
|
|
|
|
|
| |
overridden by the threads library to provide a userland version
of non-pshared semaphores and cancellation points. Also add
a sem_timedwait().
The libc version of semaphores always uses kernel semaphores
regardless of whether pshared is set or not. When threads are
not present, it is difficult to get sem_wait() or sem_timedwait()
to do the right thing (since pthread_cond_timedwait() and
pthread_cond_wait() are stubs in libc and just return immediately).
|
| |
|
| |
|
|
|
|
|
|
|
| |
Note that this bug is unrelated to recent work in this area; it seems
to have been present since revision 1.1.
Obtained from: NetBSD
|