summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - Move $FreeBSD$ to the top of the file.jhb2002-09-031-2/+21
| | | | | | | - Fix a few grammar bogons. - Add a small style guide. Reviewed by: bde (a while ago)
* Add some KASSERT()'s to ensure that we don't perform spin mutex ops onjhb2002-09-032-8/+32
| | | | | | 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.
* Adhere to guidelines when testing for null strings.eric2002-09-031-1/+1
| | | | Submitted by: rwatson
* Remove aic7xxx from the module build framework until all bootstrappinggibbs2002-09-031-1/+0
| | | | issues are resolved.
* nfsd doesn't die on SIGTERM but on SIGUSR1, correct script to kill nfsd withgordon2002-09-031-0/+1
| | | | the right signal.
* Don't need to install the signal trampoline here anymore.jake2002-09-031-1/+0
|
* Install the userland signal trampoline when sigaction is first called,jake2002-09-032-1/+50
| | | | | | | 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)
* In the kernel code, we have the tsleep() call with the PCATCH argument.davidxu2002-09-034-13/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Remove a debug printf.phk2002-09-031-2/+2
| | | | Correctly identify the ARGOSY SP320 dual port serial PCMCIA card.
* Drop another cookie to wet Warners appetite:phk2002-09-031-0/+6
| | | | | We need to call the drivers interrupt function even though the card is not multifunction.
* Fix interrupt registration:phk2002-09-031-10/+3
| | | | | | 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.
* Style: fix a function whitespace stuff-up. Remove a debugging printf.phk2002-09-031-2/+3
|
* Style: move a global variable up to the top of the file.phk2002-09-031-3/+2
|
* Don't probe the interrupt on puc(4) attached devices.phk2002-09-031-1/+1
|
* Suggest -p instead of -o /dev/stdout.fanf2002-09-031-1/+1
| | | | PR: 42356
* Remove spurious whitespacefanf2002-09-031-8/+6
|
* - Improve AC97 presence check and move it from fm801_attach() to fm801_probe();sobomax2002-09-031-14/+93
| | | | | | | | - 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
* When installing package from a local file assume that all subsequentsobomax2002-09-031-2/+6
| | | | | | | | autoinstalled dependencies will have the same extension, not just ".tbz". Pointy hat to: obrien X-MFC after: -1 day
* gcc 3.2imp2002-09-031-0/+9
| | | | rm -rf /usr/include/g++ needed to upgrade from 4.6
* Prevent ps(1) from doing idiotic munging of things in a -ofmt= string.jmallett2002-09-031-1/+8
| | | | God I hate the backwards compatability crap here.
* Fix a nasty bug exposed by mktime() when time_t is significantly biggerpeter2002-09-031-0/+6
| | | | | | | 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.
* Turn off usage of SMP style locking until we sort out CAM.mjacob2002-09-032-21/+72
|
* Make this compilepeter2002-09-031-1/+3
|
* Don't do transition locking (i.e., CAM->MPT->CAM)- Peter claimed that ia64mjacob2002-09-031-0/+10
| | | | | | chokes the chicken with this. Submitted by: wemm@freebsd.org
* Set errno to EILSEQ when invalid multibyte sequences are detectedtjr2002-09-033-3/+14
| | | | (XSI extension to 1003.1-2001).
* Modified release notes: Remote note about enabling rnNG (it's now onbmah2002-09-032-24/+8
| | | | | | by default), cvs 1.11.2. MFCs noted: Binutils 2.12.1 20020622 snapshot.
* New release notes: ng_l2tp(4) (+MFC), ifconfig(8) promisc (+MFC),bmah2002-09-032-6/+30
| | | | | | inetd(8) service limitations (+MFC). MFCs noted: uaudio, daemon(8), tcpd(8).
* Now that _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ are the same on allmike2002-09-037-325/+2
| | | | | architectures, move the definition directly into <time.h> and finish the removal of <machine/ansi.h>.
* Remove an unneeded PROC_LOCK, which caused lock recursion panics.jake2002-09-021-1/+1
| | | | | | Print a warning about old applications with no signal trampoline. Reported by: marius@alchemy.franken.de
* Use the new kern_*() functions to avoid using the stack gap iniedowse2002-09-022-90/+49
| | | | linux_fcntl*() and linux_getcwd().
* Align _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ with most othermike2002-09-021-2/+2
| | | | | | | platforms. This introduces some binary incompatibilities for dynamically linked programs which make use of clock(3) and times(3). Approved by: jake
* Split up __getcwd so that kernel callers of the internal versioniedowse2002-09-022-18/+32
| | | | can specify whether the buffer is in user or system space.
* Align _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ with most othermike2002-09-021-2/+2
| | | | | platforms. This introduces some binary incompatibilities for dynamically linked programs which make use of clock(3) and times(3).
* Split fcntl() into a wrapper and a kernel-callable kern_fcntl()iedowse2002-09-022-65/+84
| | | | | implementation. The wrapper is responsible for copying additional structure arguments (struct flock) to and from userland.
* We don't use single_mountd_enable anymore. It's just mountd_enable. I mustgordon2002-09-021-1/+1
| | | | have missed this in my earlier sweep.
* Only install the scripts that actually used on FreeBSD.gordon2002-09-021-15/+12
|
* Commit a revised sendmail script that works the same way as rc.sendmail.gordon2002-09-021-30/+43
| | | | This should also quell warnings when sendmail_enable="NONE"
* Hook up libkern/strlcpy.c and libkern/strlcat.c after repocopy.brooks2002-09-022-0/+4
| | | | | Obtained from: OpenBSD Discussed on: -arch
* Make SCSI_DELAY setable at boot time and runtime via thebrooks2002-09-026-25/+89
| | | | | | kern.cam.scsi_delay tunable/sysctl. Reviewed by: mdodd, njl
* Don't initialise policy, v4bind and v6bind where the variables aredwmalone2002-09-021-3/+10
| | | | | | | | | | | 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>
* tpc -> tcp in an error message.dwmalone2002-09-021-2/+2
| | | | | PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* Clear up a few warnings (unused variable, rpc versions are usigned so use %u,dwmalone2002-09-021-8/+7
| | | | | | rename a parameter to avoid shadowing a global). MFC after: 1 month
* Switch over to the new EA manipulation utilities.phk2002-09-027-467/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Grammer cleanupdillon2002-09-021-2/+2
|
* Turn rc_ng on by default now, it's time has come. While we are at it, I'dgordon2002-09-021-1/+1
| | | | | like to thank Mike Makonnen for all his work on rcNG. Without him, none of this would have been possible.
* Unbreak -DNOINET6brian2002-09-021-0/+2
| | | | | Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> MFC after: 1 day
* cvs-1.11.2 seems to bug out if HAVE_MMAP is not defined. It hoses itspeter2002-09-022-2/+2
| | | | | | 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 a cvs server bug introduced in 1.11.2, in the words of the author:peter2002-09-021-2/+3
| | | | | | | | | | | | --- 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
* fix bogus CTR3 message.davidxu2002-09-021-1/+1
| | | | Reviewed by: julian@freebsd.org (mentor)
* Repo copy these files to the bmake area, these are not part of thepeter2002-09-022-112/+0
| | | | | cvs vendor release and should not have been 'cvs add'ed there in the first place.
OpenPOWER on IntegriCloud