| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
any fake value.
|
| |
|
|
|
|
|
| |
this reduces chances of signal losting problem found by
Peter Holm <peter@holm.cc>
|
|
|
|
|
|
|
|
|
|
|
| |
put DEAD thread on GC list, this closes a race between pthread_join
and thr_cleanup.
2. Introduce a mutex to protect tcb initialization, tls allocation and
deallocation code in rtld seems no lock protection or it is broken,
under stress testing, memory is corrupted.
Reviewed by: deischen
patch partly provided by: deischen
|
|
|
|
|
|
|
| |
instead of using the V* permission flags from vnode.h. Remove include
of vnode.h.
Requested by: phk
|
|
|
|
| |
leak under some cases.
|
| |
|
| |
|
|
|
|
|
|
| |
"uniq: not found" during the installworld.
Spotted by: Roman Neuhauser
|
| |
|
| |
|
|
|
|
|
|
|
| |
which have no negative offsets, "negative" and
"invalid" are equivalent WRT the offset argument.
Suggested by: bde
|
|
|
|
|
|
|
|
|
| |
probably means it also requires a .so version
bump. Defer it until I finish some related
work on cleaning up error returns throughout
the library.
Thanks to: Conrad J. Sabatier
|
|
|
|
| |
Thanks to: Alfred Perlstein
|
| |
|
|
|
|
| |
output routines back to the compression layer.
|
|
|
|
|
| |
"compress" format decompression code. In particular,
distinguish between EOF and fatal data errors.
|
|
|
|
|
|
| |
to match the documentation.
MFC after: 30 days
|
| |
|
|
|
|
| |
when transfering rights (file descriptors.)
|
| |
|
| |
|
| |
|
|
|
|
| |
conversion specifiers (a, A, e, E, f, F, g and G).
|
|
|
|
|
|
|
| |
Now readers won't get an impression that pointing to beyond
the current end of file will result in EINVAL.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
| |
to sendfile(2) falls beyond the end of file.
Touch .Dd.
PR: bin/72649 (in the audit trail)
MFC after: 1 week
|
|
|
|
| |
Bug submitted by: Andrea Campi <andrea+freebsd_current@webcom.it>
|
|
|
|
|
|
| |
+ spell LIBC_SCCS consistently
+ enable builds with LIBC_SCCS defined to not syntax error
+ minor SCM reformatting to try to have some consistency
|
|
|
|
| |
Noticed by: Andrea Campi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
no userland locks are heald, the dead thread lock can no longer protect
access to it. Therefore, instead of using an if (!dead)...else clause
after walking the active threads list test the thread pointer before
deciding not to walk the dead threads list. If the thread pointer is null
it means it was not found in the active threads list and the dead threads
list should be checked.
2. Do not free the stack of a thread that is not marked dead. This is the
2nd and final part of eliminating the race to free a thread's stack.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
the contents of the returned buffer for unknown error codes.
PR: docs/72578
Submitted by: Jilles Tjoelker <jilles@stack.nl>
MFC after: 3 days
|
|
|
|
| |
Discussed with: kientzle
|
|
|
|
|
|
|
| |
Extract the struct cdev pointer and the tty device from inside rather than
incorrectly casting the 'struct cdev *' pointer to a 'dev_t' int. Not
that this was particularly important since it was only used for reading
vmcore files.
|
|
|
|
|
|
|
|
|
|
| |
- Make some minor rearrangements in the introduction.
- Mention the problem with argument reduction on i386.
- Add recently-implemented functions to the table.
- Un-document the error bounds that only apply to the old 4BSD math
library, and fill in the correct values where I know them. No
attempt has been made to document bounds lower than 1 ulp, although
smaller bounds are usually achievable in round-to-nearest mode.
|
| |
|
|
|
|
|
|
| |
Also be prepared for FP_ILOGBNAN != INT_MAX.
Reviewed by: md5
|
|
|
|
|
|
|
|
|
|
|
| |
Requested by: bde
o Remove unneeded sys/types.h and netinet/in.h from the synopsis and
the example.
o We do have struct in_addr in arpa/inet.h, so no need for netinet/in.h.
o Mention where AF_* constants defined are.
Educated by: bde
|
|
|
|
|
|
| |
properly terminate a .Bl with a matching .El
MFC after: 3 days
|
|
|
|
|
|
| |
before and after sleeping.
Reviewed by: deischen
|
|
|
|
|
|
|
|
|
|
| |
This fixes a case, when DoSed syslogd completely loses messages.
PR: bin/72366
Discussed with: dwmalone, millert@OpenBSD.org
Approved by: julian (mentor)
Obtained from: OpenBSD (rev. 1.17, 1.21 by millert)
MFC after: 3 months
|
|
|
|
| |
MFC in: 1 week
|
|
|
|
| |
actual name is thr_exit(). How this ever worked is beyond me.
|
| |
|
|
|
|
| |
of kse_thr_interrupt.
|
|
|
|
|
|
|
| |
- Add a comment noting that the ru_[us]times values being read aren't
actually valid and need to be computed from the raw values.
Submitted by: many (1)
|
|
|
|
|
|
|
|
|
| |
After some discussion the best option seems to be to signal the thread's
death from within the kernel. This requires that thr_exit() take an
argument.
Discussed with: davidxu, deischen, marcel
MFC after: 3 days
|
|
|
|
|
| |
allocated space, orignal code left red zone unallocated, but those space
can be allocated by user code, and result was providing no protection.
|
|
|
|
|
|
| |
recommending that the standard exit codes in sysexits(3) be used.
Reviewed by: ru
|
| |
|