| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
juggling with levels 2 and 3, as this has lead to world breakage for
NOCRYPT users in the past.
Notes:
svn path=/head/; revision=114420
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114331
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114330
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114329
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114322
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114321
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114320
|
| |
|
|
|
|
|
|
| |
argument passing rather than stack based args. The kernel passes the
base of the argument/env vector in %rdi (arg1).
Notes:
svn path=/head/; revision=114319
|
| |
|
|
|
|
|
| |
mode, and we do not need the complications for now.
Notes:
svn path=/head/; revision=114315
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114314
|
| |
|
|
|
|
|
|
|
|
| |
- strip out the nasty PIC_PROLOGUE/EPILOGUE stuff, since we dont have
to lose a register in PIC mode anymore (we use %rip-relative addressing).
- update for C register argument passing conventions.
- convert 32 bit to 64 bit register sizes etc.
Notes:
svn path=/head/; revision=114313
|
| |
|
|
|
|
|
| |
update it to be iretq for completeness.
Notes:
svn path=/head/; revision=114312
|
| |
|
|
|
|
|
| |
across a "syscall"-style syscall
Notes:
svn path=/head/; revision=114311
|
| |
|
|
|
|
|
|
| |
Depend on %rsi being preserved across the "syscall"-style syscall and strip
out the PIC stuff (this cpu has full PC-relative addressing, at last!)
Notes:
svn path=/head/; revision=114310
|
| |
|
|
|
|
|
|
| |
instructions here, these may need to be updated for SSE.
(Repocopied from i386/gen)
Notes:
svn path=/head/; revision=114309
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114308
|
| |
|
|
|
|
|
|
| |
the bswap instruction (yay!). Update for register parameter passing
instead of i386 style stack based param passing.
Notes:
svn path=/head/; revision=114307
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Note that the syscall instruction clobbers %rcx, which is inconvenient
because it is the fourth syscall argument, so we use %r10 (another scratch
register) for the 4th syscall arg instead (I picked %r10 to be the same as
NetBSD). int 0x80 is still possible though, and it uses %rcx as usual.
Note that the syscall style syscall does *NOT* preserve all the registers,
unlike int 0x80. We do not preserve the scratch registers except for
%rdi and %rsi. int 0x80 does preserve everything but the return values.
Notes:
svn path=/head/; revision=114306
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114300
|
| |
|
|
|
|
|
|
|
|
| |
AMD64 does away with the x87 in 64-bit long mode, so we have to play the
SSE/SSE2 game now.
Obtained from: NetBSD/x86-64
Notes:
svn path=/head/; revision=114298
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114297
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114296
|
| |
|
|
|
|
|
| |
thread so that the context (SSE FPU state) is also aligned.
Notes:
svn path=/head/; revision=114295
|
| |
|
|
|
|
|
|
|
|
| |
on the previous behaviour. This also brings strptime(3) behaviour back in line
with the other BSDs.
Approved by: markm (mentor)
Notes:
svn path=/head/; revision=114285
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114279
|
| |
|
|
|
|
|
| |
doing unnecessary idle kse wakeup.
Notes:
svn path=/head/; revision=114267
|
| |
|
|
|
|
|
| |
to run.
Notes:
svn path=/head/; revision=114266
|
| |
|
|
|
|
|
|
| |
PR: bin/51508
Submitted by: Peter Grimshaw <peter@tesseract.demon.co.uk>
Notes:
svn path=/head/; revision=114265
|
| |
|
|
|
|
|
| |
PR: bin/51508
Notes:
svn path=/head/; revision=114264
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114262
|
| |
|
|
|
|
|
|
|
|
| |
technique) so that we don't wind up calling into an application's
version if the application defines them.
Inspired by: qpopper's interfering and buggy version of strlcpy
Notes:
svn path=/head/; revision=114256
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114255
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a thread lock).
Better protect access to thread state while searching for
threads to handle a signal.
Better protect access to process pending signals while processing
a thread in sigwait().
Submitted by: davidxu
Notes:
svn path=/head/; revision=114254
|
| |
|
|
|
|
|
| |
Submitted by: Bruce M Simpson
Notes:
svn path=/head/; revision=114203
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
KSEs when it's thread exits; allow the GC handler to do that.
o Make spinlock/spinlock critical regions.
The following were submitted by davidxu
o Alow thr_switch() to take a null mailbox argument.
o Better protect cancellation checks.
o Don't set KSE specific data when creating new KSEs; rely on the
first upcall of the KSE to set it.
o Add the ability to set the maximum concurrency level and do this
automatically. We should have a way to enable/disable this with
some sort of tunable because some applications may not want this
to be the default.
o Hold the scheduling lock across thread switch calls.
o If scheduling of a thread fails, make sure to remove it from the list
of active threads.
o Better protect accesses to a joining threads when the target thread is
exited and detached.
o Remove some macro definitions that are now provided by <sys/kse.h>.
o Don't leave the library in threaded mode if creation of the initial
KSE fails.
o Wakeup idle KSEs when there are threads ready to run.
o Maintain the number of threads active in the priority queue.
Notes:
svn path=/head/; revision=114187
|
| |
|
|
|
|
|
|
|
|
|
| |
While I'm here, use the TAILQ_FOREACH macro instead of a more
manual method which was inherited from libc_r (so we could
remove elements from the list which isn't needed for libpthread).
Submitted by: Kazuaki Oda <kaakun@highway.ne.jp>
Notes:
svn path=/head/; revision=114180
|
| |
|
|
|
|
|
|
| |
function prototype with `pid_t' to match the declaration in
<unistd.h>.
Notes:
svn path=/head/; revision=114132
|
| |
|
|
|
|
|
| |
manual page function prototypes.
Notes:
svn path=/head/; revision=114131
|
| |
|
|
|
|
|
|
| |
PR: 50796
Submitted by: Dmitry Sivachenko <mitya@cavia.pp.ru>
Notes:
svn path=/head/; revision=114065
|
| |
|
|
|
|
|
|
|
| |
'struct kinfo_proc' for calls to kvm_getargv() and kvm_getenvv().
PR: 51322
Notes:
svn path=/head/; revision=114064
|
| |
|
|
| |
Notes:
svn path=/head/; revision=114051
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
setgrent, and endgrent also. (The previous NSS implementation used to
simply twiddle the internal data of the various modules directly.)
A symptom (group list set incorrectly in sshd) was
Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=114021
|
| |
|
|
|
|
|
| |
malloc() to Malloc(), and free() to Free(), in zalloc_malloc.c.
Notes:
svn path=/head/; revision=114004
|
| |
|
|
|
|
|
|
|
|
| |
as libkse and will once again be renamed libpthread after more
testing.
Approved by: re
Notes:
svn path=/head/; revision=113997
|
| |
|
|
|
|
|
|
|
|
| |
Don't install man pages.
Temporarily (again) rename the library to libkse. It will be put back
to libpthread after more wide-spread testing.
Notes:
svn path=/head/; revision=113996
|
| |
|
|
|
|
|
|
|
|
|
| |
idea to re-initialize `struct passwd', because e.g. pw_class might
get set by one module, but not by another. Add another call to the
internal pwd_init function to accomplish this.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113992
|
| |
|
|
|
|
|
|
|
| |
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113984
|
| |
|
|
|
|
|
|
|
| |
annoying and not very useful.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113983
|
| |
|
|
|
|
|
|
|
| |
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113977
|
| |
|
|
|
|
|
|
|
| |
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113976
|