| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
thread switches should be on par with that under scheduler
activations.
o Timing is achieved through the use of a fixed interval
timer (ITIMER_PROF) to count scheduling ticks instead
of retrieving the time-of-day upon every thread switch
and calculating elapsed real time.
o Polling for I/O readiness is performed once for each
scheduling tick instead of every thread switch.
o The non-signal saving/restoring versions of setjmp/longjmp
are used to save and restore thread contexts. This may
allow the removal of _THREAD_SAFE macros from setjmp()
and longjmp() - needs more investigation.
Change signal handling so that signals are handled in the
context of the thread that is receiving the signal. When
signals are dispatched to a thread, a special signal handling
frame is created on top of the target threads stack. The
frame contains the threads saved state information and a new
context in which the thread can run. The applications signal
handler is invoked through a wrapper routine that knows how
to restore the threads saved state and unwind to previous
frames.
Fix interruption of threads due to signals. Some states
were being improperly interrupted while other states were
not being interrupted. This should fix several PRs.
Signal handlers, which are invoked as a result of a process
signal (not by pthread_kill()), are now called with the
code (or siginfo_t if SA_SIGINFO was set in sa_flags) and
sigcontext_t as received from the process signal handler.
Modify the search for a thread to which a signal is delivered.
The search algorithm is now:
o First thread found in sigwait() with signal in wait mask.
o First thread found sigsuspend()'d on the signal.
o Current thread if signal is unmasked.
o First thread found with signal unmasked.
Collapse machine dependent support into macros defined in
pthread_private.h. These should probably eventually be moved
into separate MD files.
Change the range of settable priorities to be compliant with
POSIX (0-31). The threads library uses higher priorities
internally for real-time threads (not yet implemented) and
threads executing signal handlers. Real-time threads and
threads running signal handlers add 64 and 32, respectively,
to a threads base priority.
Some other small changes and cleanups.
PR: 17757 18559 21943
Reviewed by: jasone
|
|
|
|
|
|
| |
Reviewed by: green
Obtained from: TrustedBSD Project
Security audited by: imp, green
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
u_int64_t flag field, bounding the number of capabilities at 64,
but substantially cleaning up capability logic (there are currently
43 defined capabilities).
o Heads up to anyone actually using capabilities: the constant
assignments for various capabilities have been redone, so any
persistent binary capability stores (i.e., '$posix1e.cap' EA
backing files) must be recreated. If you have one of these,
you'll know about it, so if you have no idea what this means,
don't worry.
o Update libposix1e to reflect this new definition, fixing the
exposed functions that directly manipulate the flags fields.
Obtained from: TrustedBSD Project
|
| |
|
| |
|
| |
|
|
|
|
| |
As a side effect, remove a lot of duplicate and now redundant code.
|
| |
|
| |
|
|
|
|
|
|
|
| |
status of capabilities (library is complete, kernel work is maintained
outside the tree).
Obtained from: TrustedBSD Project
|
|
|
|
| |
colon-separated.
|
| |
|
|
|
|
| |
library builds.
|
|
|
|
| |
something else.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
compatible with the old version but includes new functionality and bug fixes.
Since it is not part of the NO_SENDMAIL make.conf option, libsmdb and
libsmutil should always be built for vacation's sake.
PR: 15227
|
|
|
|
| |
Submitted by: Benno Rice <benno@jeamland.net>
|
| |
|
|
|
|
|
|
|
| |
needed by the loader.
Submitted by: Benno Rice <benno@jeamland.net>
Obtained from: NetBSD (Wolfgang Solfrank <ws@@tools.de>)
|
|
|
|
|
|
|
|
|
| |
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.
Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
|
|
|
|
| |
developed and maintained.
|
|
|
|
|
| |
PR: 21697
Submitted by: Barak Enat <barak_enat@yahoo.com>
|
| |
|
| |
|
|
|
|
| |
Suggested by: Don Lewis <Don.Lewis@tsc.tdk.com>
|
| |
|
|
|
|
|
|
| |
set-user-ID and set-group-ID programs.
Suggested by: Danny Braniss <danny@cs.huji.ac.il>
|
|
|
|
| |
pages by Chris Costello.
|
|
|
|
|
| |
PR: misc/21596
Submitted by: TOGAWA Satoshi <toga@puyo.org>
|
|
|
|
| |
From: Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>
|
|
|
|
| |
HTTP-Version on the Status-Line (see RFC2616 sections 3.1 and 6.1).
|
|
|
|
|
|
|
| |
o Removal of unneeded enum
o Removal of commented out debugging printf()'s.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
| |
directly. Now also .Xr fseek reference.
Prodded by: sheldonh
|
|
|
|
|
| |
PR: 21428
Reviewed by: ben
|
|
|
|
|
|
| |
and clearing watchpoints.
Reviewed by: jwd@FreeBSD.org, -hackers@
|
|
|
|
|
|
|
| |
The field is in network byte order and contains the
size of the header.
Reviewed by: brian
|
|
|
|
| |
order, so we must convert them to host order.
|
|
|
|
| |
Pointed out by: phk
|
|
|
|
|
|
| |
The recent problems with sshd were due to sshd reassigning
`environ' when setenv() thinks it owns it. setenv() subsequently
realloc()s the new version of environ and *boom*
|
|
|
|
| |
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
- Include <stdlib.h> and <string.h> as needed for prototypes
- Remove unneeded "error" variables
o Make cap_init() use cap_clear() instead of bzero()
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
| |
o Implementations will remain in the seperately distributed capability
patch until the cap_t type changes are synchronized.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
acl_from_text.3
o Minor whitespace cleanups relative to the TrustedBSD tree to reduce
content-free differences.
Obtained from: TrustedBSD Project
|
|
|
|
| |
Reviewed by: jlemon
|
|
|
|
| |
undefined symbols.
|
|
|
|
| |
the RTLD_GLOBAL and RTLD_LOCAL flags which can be passed to dlopen().
|