summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow decreasing access count even if there is no disk anymore.pjd2004-02-061-3/+11
| | | | | | This will allow closing disks that were removed while opened. Approved by: phk, scottl (mentor)
* Fix memory leak.le2004-02-061-1/+1
| | | | | | PR: kern/58634 Submitted by: le Approved by: phk
* First round of cleanups to sys/boot/ makefiles:ru2004-02-0613-249/+187
| | | | | | | | | | | | - do not use PROG for what's not a real C program, - use sys.mk transformation rules where possible, - only create the "machine" symlink on AMD64, - removed MAINTAINER lines in individual makefiles, - added the LIBSTAND defitinion to <bsd.libnames.mk>, - somewhat better contents in .depend files. Tested on: i386, amd64 Prodded by: bde
* New release note: SA-04:02.bmah2004-02-062-0/+22
|
* Correct order of arguments given to checkparity and rebuildparity.le2004-02-061-4/+7
| | | | Approved by: joerg (mentor)
* Correct typo.le2004-02-061-1/+1
|
* Reduce the inline limit from 20000 to 8000 after the previous changespeter2004-02-061-1/+1
| | | | to simplify the curthread expansion some months ago.
* Remove the badsw* INVARIANTS checks. The events that this attemptspeter2004-02-061-96/+10
| | | | | | | | | to catch are already nicely caught by trapping the null pointer derefs. Remove no-longer-used noswitch/nothrow strings. They were referenced by the stub cpu_switch() etc functions before they were implemented. Try something a little different for the lock prefixes. Prompted by: bde (the first two items anyway)
* Regen.jhb2004-02-067-52/+52
|
* Sync up MP safe flags with global syscalls.master. This includes write(),jhb2004-02-061-16/+16
| | | | | | close(), getpid(), ibcs2_setuid(), getuid(), ptrace(), ibcs2_pause(), ibcs2_nice(), ibcs2_kill(), ibcs2_pgrpsys(), dup(), pipe(), ibcs2_setgid(), getgid(), umask(), and sigreturn().
* Sync up MP safe flags with global syscalls.master. This includes read(),jhb2004-02-061-29/+29
| | | | | | | | | write(), close(), getpid(), setuid(), getuid(), svr4_sys_pause(), svr4_sys_nice(), svr4_sys_kill(), svr4_sys_pgrpsys(), dup(), pipe(), setgid(), getgid(), svr4_sys_signal(), umask(), getgroups(), setgroups(), svr4_sys_sigprocmask(), svr4_sys_sigsuspend(), svr4_sys_sigaltstack(), svr4_sys_sigaction(), svr4_sys_sigpending(), mprotect(), munmap(), setegid(), seteuid(), setreuid(), setregid().
* Make all ACPI debug layers unique again. This makes debugging a morephilip2004-02-061-6/+6
| | | | | | | pleasant experience (for certain definition of 'pleasant'). Submitted by: Mark Santcroos <marks@ripe.net> Approved by: njl (mentor)
* - Convert the plimit lock to a pool mutex lock.jhb2004-02-062-15/+9
| | | | | | - Hide struct plimit from userland. Submitted by: bde (2)
* - Correct the translation of old rlimit values to properly handle the oldjhb2004-02-061-21/+28
| | | | | | | | | | | | | RLIM_INFINITY case for ogetrlimit(). - Use %jd and intmax_t to output negative time in usec in calcru(). - Rework getrusage() to make a copy of the rusage struct into a local variable while holding Giant and then do the copyout from the local variable to avoid having to have the original process rusage struct locked while doing the copyout (which would not be safe). This also includes a few style fixes from Bruce to getrusage(). Submitted by: bde (1, parts of 3) Suggested by: bde (2)
* A few more style fixes from Bruce including a few I missed last time.jhb2004-02-062-20/+13
| | | | Submitted by: bde
* Add cancellation point to sem_wait() and sem_timedwait() for pshareddeischen2004-02-062-20/+36
| | | | | | | | semaphores. Also add cancellation cleanup handlers to keep semaphores in a consistent state. Submitted in part by: davidxu Reviewed by: davidxu
* Prevent memory leak on sem_destroy() by destroying the semaphore'sdeischen2004-02-061-1/+4
| | | | internal mutex and CV.
* MFNetBSD:sanpei2004-02-061-2/+9
| | | | | | | netbsd.org -> NetBSD.org(rev.1.109) fix typo in comment(rev.1.90) add list of ``already merged''
* Only allow the semaphore to be taken when the value is positive.deischen2004-02-061-2/+1
| | | | | | Don't decrement it twice when it is taken. Reported by: kris
* Inherit BINDIR from a parent Makefile.inc.ru2004-02-068-7/+2
|
* Only include ../Makefile.inc once in loader/Makefile.ru2004-02-062-5/+2
|
* Commit simple workarounf for the "LiteOn" hang on boot problem.sos2004-02-061-0/+1
| | | | | | This allows the system to boot so I can get the world out of my mailbox and get some work done to figure out what this mess is all about.
* From what I can tell, install.sh supported all of the install(1)ru2004-02-061-4/+3
| | | | | | | | options since revision 1.2, so removed the XXX comment now. Fixed bogus test(1) expression that would be evaluated as a null string test if script is run without arguments, compacted option lists.
* Removed all the complexities when installing the strip(1) binary.ru2004-02-061-13/+1
| | | | Submitted by: bde
* Turn of ath since it causes a link failure without the hal till sam'speter2004-02-061-1/+1
| | | | set up with a cross compiler and has the time to port the hal.
* Make LINT compile on amd64peter2004-02-061-2/+2
|
* Make this compile on amd64.peter2004-02-061-6/+6
| | | | "I'll cope" by: sam
* Correct check for invalid semaphore on sem_destroy() (s/==/!=/).deischen2004-02-051-1/+1
| | | | Reported by: kris
* must convert protocol to sa type when preparing a DELETE messagesam2004-02-051-1/+7
| | | | | Submitted by: Roselyn Lee <rosel@verniernetworks.com> MFC after: 1 week
* This commit was generated by cvs2svn to compensate for changes in r125505,ru2004-02-052-3/+3
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fixes from 31-Jul-2003; make it 8-bit clean.ru2004-02-052-3/+3
| | | | | | | | Forgotten by: ru (for far too long)
* | Attempt to clean up the emu10k1-alsa.h stuff so that config doesn'tpeter2004-02-053-11/+27
| | | | | | | | | | | | delete it each time its run and have it regenerated each time by make. I used a quick hackish script rather than putting it in the files file and used the before-depend rule to avoid the depend/no-depend hacks.
* | Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-0547-95/+94
| |
* | Correct the weak reference for sem_unlink.deischen2004-02-051-1/+1
| |
* | Commit fix sent by Tor Egge <Tor.Egge@cvsup.no.freebsd.org>cracauer2004-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | Only use return value from system call if system call succeeded. Tested with `make world` and some of my own scripts. This should be MFCed soon. While /bin/sh is hard to test the fix is obviously correct and can be assumed not to break something else (famous last words...).
* | Added missing DPADD.ru2004-02-057-3/+7
| |
* | Fixed ``make checkdpadd''. Removed redundant dependency.ru2004-02-051-2/+3
| |
* | Require initrandom rather than random, since random requiresdes2004-02-052-2/+2
| | | | | | | | | | | | mountcritlocal, which requires disks, which gbde_swap provides. Noticed by: brooks
* | Don't print the oldest line in the message buffer if the buffer isiedowse2004-02-051-51/+54
| | | | | | | | | | | | | | | | | | | | full, since that line is almost always incomplete. Make the parsing of <%d> lines more strict. Also simplify the logic a little: - Start off by making the buffer linear so that we don't have to deal with it wrapping around (suggested by bde). - Process line by line rather than byte at a time.
* | Always set a process' state to normal when it is fully constructed injhb2004-02-052-6/+9
| | | | | | | | | | fork1() rather than only doing it for the RFSTOPPED case and then having to fix it up in other places later on.
* | - A lot of style and whitespace fixes.jhb2004-02-052-70/+63
| | | | | | | | | | | | - Update a few comments regarding locking notes. Submitted by: bde (1, mostly)
* | Temporarily put STRIP back; bsd.port.mk still needs it.ru2004-02-051-0/+4
| |
* | Don't define STRIP in bsd.own.mk.ru2004-02-052-15/+3
| |
* | strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk.ru2004-02-051-8/+6
| |
* | style.Makefile(5).ru2004-02-0530-920/+759
| | | | | | | | OK'ed by: nectar
* | Try harder to pick up the correct print_version.c. The old versionru2004-02-051-4/+3
| | | | | | | | | | | | | | | | works before bsd.dep.mk,v 1.44, whether .depend file exists or not, but the contents of .depend file is wrong. With bsd.dep.mk,v 1.44, the contents of .depend file is always broken, and build without a .depend file is broken too. With this change it works reliably in all cases. Ugh.
* | Correct a reference counting bug in shmat(2). If vm_map_find(9)nectar2004-02-051-0/+1
| | | | | | | | | | | | | | | | failed, the reference count for the virtual memory object referenced by the specified shared memory segment would have been erroneously incremented. Reported by: Joost Pol <joost@pine.nl>
* | Rename cn_unavailable to cnunavailable for little more consistency.kan2004-02-054-19/+7
| | | | | | | | | | | | Garbage collect unused cndebug() function. Suggested by: bde
* | Fixed operation of -f to match its documentation and fsck_ffs. Itbde2004-02-053-7/+6
| | | | | | | | | | | | | | | | | | has now has no effect except in combination with -p, and plain fsck checks all file systems instead of skipping clean ones for msdosfs only. Renamed the force flag to skipclean and inverted its logic as in fsck_ffs.
* | Fixed some bugs in checkdirty(). The check for the clean bit wasbde2004-02-051-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | combined with the the signature check in a wrong way (basically (dirty:= signature_recognised() && !clean) instead of (mightbedirty:= !signature_recognized || !clean), so file systems with unrecognized signatures were considered clean. Many of the don't-care and reserved bits were not ignored, so some file systems with valid signatures were unrecognized. One of my FAT32 file systems has a signature of f8,ff,ff,ff,ff,ff,ff,f7 when dirty, but only f8,ff,ff,0f,ff,ff,ff,07 was recognised as dirty for FAT32, so the fail-unsafeness made my file system always considered clean. Check the i/o non-error bit in checkdirty(). Its absence would give an unrecognized signature in code that is unaware of it, but we now mask it out of the signature so we have to check it explicitly. This combines naturally with the check of the clean bit. Reviewed by: rnordier (except for final details)
OpenPOWER on IntegriCloud