| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
- Fix a few grammar bogons.
- Add a small style guide.
Reviewed by: bde (a while ago)
|
|
|
|
|
|
| |
sleep mutexes and vice versa. WITNESS normally should catch this but
not everyone uses WITNESS so this is a fallback to catch nasty but easy
to do bugs.
|
|
|
|
| |
Submitted by: rwatson
|
|
|
|
| |
issues are resolved.
|
|
|
|
| |
the right signal.
|
| |
|
|
|
|
|
|
|
| |
instead of on startup. This fixes binary compatibility of dynamically
linked binaries from before the signal code move.
Suggested by: wollman (a long time ago)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PCATCH means 'if we get a signal, interrupt me!" and tsleep returns
either EINTR or ERESTART depending on the circumstances. ERESTART is
"special" because it causes the system call to fail, but right as it
returns back to userland it tells the trap handler to move %eip back a
bit so that userland will immediately re-run the syscall.
This is a syscall restart. It only works for things like read() etc where
nothing has changed yet. Note that *userland* is tricked into restarting
the syscall by the kernel. The kernel doesn't actually do the restart. It
is deadly for things like select, poll, nanosleep etc where it might cause
the elapsed time to be reset and start again from scratch. So those
syscalls do this to prevent userland rerunning the syscall:
if (error == ERESTART) error = EINTR;
Fake "signals" like SIGTSTP from ^Z etc do not normally invoke userland
signal handlers. But, in -current, the PCATCH *is* being triggered and
tsleep is returning ERESTART, and the syscall is aborted even though no
userland signal handler was run.
That is the fault here. We're triggering the PCATCH in cases that we
shouldn't. ie: it is being triggered on *any* signal processing, rather
than the case where the signal is posted to userland.
--- Peter
The work of psignal() is a patchwork of special case required by the process
debugging and job-control facilities...
--- Kirk McKusick
"The design and impelementation of the 4.4BSD Operating system"
Page 105
in STABLE source, when psignal is posting a STOP signal to sleeping
process and the signal action of the process is SIG_DFL, system will
directly change the process state from SSLEEP to SSTOP, and when
SIGCONT is posted to the stopped process, if it finds that the process
is still on sleep queue, the process state will be restored to SSLEEP,
and won't wakeup the process.
this commit mimics the behaviour in STABLE source tree.
Reviewed by: Jon Mini, Tim Robbins, Peter Wemm
Approved by: julian@freebsd.org (mentor)
|
|
|
|
| |
Correctly identify the ARGOSY SP320 dual port serial PCMCIA card.
|
|
|
|
|
| |
We need to call the drivers interrupt function even though the card is not
multifunction.
|
|
|
|
|
|
| |
PUC devices live on pccard or pci so INTR_FAST is never really an option.
Don't try to register the interrupt as fast and don't allow the children
to do so either.
|
| |
|
| |
|
| |
|
|
|
|
| |
PR: 42356
|
| |
|
|
|
|
|
|
|
|
| |
- add bus capabilities into the driver, so that it is possible for a radio
driver to attach to it to use shared resources of fm801 chip. The radio
driver itself will be committed later.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
autoinstalled dependencies will have the same extension, not just
".tbz".
Pointy hat to: obrien
X-MFC after: -1 day
|
|
|
|
| |
rm -rf /usr/include/g++ needed to upgrade from 4.6
|
|
|
|
| |
God I hate the backwards compatability crap here.
|
|
|
|
|
|
|
| |
than 32 bits. It was trying to figure out things like the day of week
of when time_t is roughly 2^62 etc. Make a better guess for the starting
point for the binary search that works on both 32 and 64 bit types. I have
been using this for a while now.
|
| |
|
| |
|
|
|
|
|
|
| |
chokes the chicken with this.
Submitted by: wemm@freebsd.org
|
|
|
|
| |
(XSI extension to 1003.1-2001).
|
|
|
|
|
|
| |
by default), cvs 1.11.2.
MFCs noted: Binutils 2.12.1 20020622 snapshot.
|
|
|
|
|
|
| |
inetd(8) service limitations (+MFC).
MFCs noted: uaudio, daemon(8), tcpd(8).
|
|
|
|
|
| |
architectures, move the definition directly into <time.h> and finish
the removal of <machine/ansi.h>.
|
|
|
|
|
|
| |
Print a warning about old applications with no signal trampoline.
Reported by: marius@alchemy.franken.de
|
|
|
|
| |
linux_fcntl*() and linux_getcwd().
|
|
|
|
|
|
|
| |
platforms. This introduces some binary incompatibilities for
dynamically linked programs which make use of clock(3) and times(3).
Approved by: jake
|
|
|
|
| |
can specify whether the buffer is in user or system space.
|
|
|
|
|
| |
platforms. This introduces some binary incompatibilities for
dynamically linked programs which make use of clock(3) and times(3).
|
|
|
|
|
| |
implementation. The wrapper is responsible for copying additional
structure arguments (struct flock) to and from userland.
|
|
|
|
| |
have missed this in my earlier sweep.
|
| |
|
|
|
|
| |
This should also quell warnings when sendmail_enable="NONE"
|
|
|
|
|
| |
Obtained from: OpenBSD
Discussed on: -arch
|
|
|
|
|
|
| |
kern.cam.scsi_delay tunable/sysctl.
Reviewed by: mdodd, njl
|
|
|
|
|
|
|
|
|
|
|
| |
declared - it was bad style and caused a bug. v[46]bind need to be
reset whenever we go to the "more:" label.
Jean-Luc and I came up with this patch independently, so it had
better be right!
PR: 40771
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
|
|
|
|
|
| |
PR: 40771
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
|
|
|
|
|
|
| |
rename a parameter to avoid shadowing a global).
MFC after: 1 month
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
| |
|
|
|
|
|
| |
like to thank Mike Makonnen for all his work on rcNG. Without him, none
of this would have been possible.
|
|
|
|
|
| |
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
MFC after: 1 day
|
|
|
|
|
|
| |
internal buffer management somehow (an off by one perhaps). HAVE_MMAP
wasn't detected because configure has a bogus declaration of malloc
which conflicted with stdlib.h. Sigh.
|
|
|
|
|
|
|
|
|
|
|
|
| |
---
Fix communication hanging in communication shutdown phase, caused by at
least older CVS clients (version < 1.11.2) and a semantically incorrect
usage of getc() by the server.
---
getc() was being used on a blocking socket/pipe.
Submitted by: rse
|
|
|
|
| |
Reviewed by: julian@freebsd.org (mentor)
|
|
|
|
|
| |
cvs vendor release and should not have been 'cvs add'ed there in
the first place.
|