| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
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
|
|
|
|
|
| |
Obtained from: NetBSD
PR: 62047
|
| |
|
|
|
|
|
| |
compatibility link from libc_r to libpthread (previously a link
from libc_r to libkse).
|
|
|
|
|
|
|
|
| |
caller without closing the disk device and freeing allocated
memory. Not closing the disk device prevents GEOM from retasting
after spoiling.
Pointy hat: marcel
|
|
|
|
|
|
|
|
|
|
|
| |
thread library for i386, amd64, and ia64. For alpha
and sparc64 the library is not changed and remains libkse,
and links are installed so that libpthread -> libc_r.
The gcc -pthread option will be changed in a separate
commit so that it links to -lpthread instead of -lc_r.
Approved by: re@
|
|
|
|
|
|
|
|
|
|
| |
what do I get for my troubles? libc breaks offcourse!
Reimplement a hack (in libthr) that allows libc to use
rwlocks without initializing them first. The hack was reimplemented
so that only a private libc version of the rwlock locking functions
initializes an uninitialized rwlock. The application version will
correctly fail.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the system call got interrupted and the absolute timeout is
converted to a relative timeout, it may happen that we get a
negative number. In such a case, simply set the timeout to
zero so that if the event that the thread wants to wait for has
happened it can still return successfully, but if it hasn't
happened then the thread doesn't suspend indefinitely. This should
fix certain applications (including mozilla) that seem to hang
indefinitely sometimes.
Noticed and debugged by: Morten Johansen <root@morten-johansen.net>
|
| |
|
|
|
|
|
|
| |
return an error value that made Write_Disk() abort. While on the
subject, improve the initialization of the error variable in read_gpt()
and update_gpt() even though nothing was broken there.
|
|
|
|
|
| |
Requested by: phk
Reviewed by: imp (mentor), ru
|
| |
|
|
|
|
|
|
|
|
| |
items.
PR: misc/58971
Reviewed by: imp (mentor), mdodd
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
|
| |
and NgAllocRecvData(), that dynamically allocate buffer for a binary
message, an ascii message, and a data packet, respectively. The size
of the allocated buffer is equal to the socket's receive buffer size
to guarantee that a message or a data packet is not truncated.
- Get rid of the static size buffer in NgSendAsciiMsg().
OK'ed by: archie, julian
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: bin/61657
Submitted by: Joe R. Doupnik <jrd@cc.usu.edu>
|
| |
|
| |
|
|
|
|
|
|
| |
Connect sdpd(8) to the build
Reviewed by: ru, imp (mentor)
|
|
|
|
|
| |
man pages (though not from copyright notices). While I'm here, add email
addresses where appropriate.
|
| |
|
|
|
|
| |
with the environment variable MIBS that is used by net-snmp.
|
|
|
|
|
|
|
|
| |
MFNetBSD rev. 1.15 + rev 1.16
PR: bin/60901
Submitted by: Logan Gabriel <gersh@sonn.com>
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
and to reduce diffs between vfprintf.c and vfwprintf.c, declare xdigs*
to be char arrays rather than wchar_t arrays.
In collaboration with: tjr
|
|
|
|
|
|
|
|
| |
instead of creating them by hand and storing them in the CVS tree. Add
gensnmptree to the bootstrap tools (it is used to generated these files).
This simplifies the update procedure.
Submitted by: ru
|
| |
|
|
|
|
|
|
|
| |
context.
Submitted by: Marc Olzheim <marcolz@stack.nl>
Tested by: Marc Olzheim <marcolz@stack.nl>
|
|
|
|
| |
o Man pages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- bzipfs and gzipfs now properly return errno values directly from their
read routines rather than returning -1.
- missing errno values on error returns for the seek routines on almost
all filesystems were added.
- fstat() now returns -1 if an error occurs rather than ignoring it.
- nfs's readdir() routine now reports valid errno values if an error or
EOF occurs rather than EPERM (It was just returning 0 for success and
1 for failure).
- nullfs used the wrong semantics for every function besides close() and
seek(). Getting it right for close() appears to be an accident at that.
- read() for buffered files no longer returns 0 (EOF) if an error occurs,
but returns -1 instead.
|
| |
|
|
|
|
|
|
| |
shift-too-large compile error
reviewed by: das
|
|
|
|
|
|
|
|
| |
Extend libsdp(3) API to allow service registration and removal.
Fix uninitialized variable bug in sdpcontrol(8).
Reviewed by: imp (mentor)
No objection: ru
|
| |
|
|
|
|
|
|
|
|
| |
http://citeseer.nj.nec.com/fluhrer01weaknesses.html and
http://citeseer.nj.nec.com/531224.html .
PR: 61126
Submitted by: Jeff Ito <jeffi@rcn.com>
|
|
|
|
|
|
|
|
|
| |
This results in no functional change, aside from fixing a data
corruption bug on LP64 platforms. The code here could still use a
significant amount of cleanup.
PR: 56502
Submitted by: hrs (earlier version)
|