summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* o __P has been reovedimp2002-02-0211-348/+207
| | | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. o gc some #ifdef sun ... #endif code Approved by: arch@, new style(9)
* o __P has been reovedimp2002-02-0211-156/+106
| | | | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9)
* Modernization effort for bin/c*:imp2002-02-026-129/+67
| | | | | | | | | | | | o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9)
* Drag cat(1) kicking and screaming into the late 1980's:imp2002-02-021-21/+11
| | | | | | | | | | | | o __P has been reoved o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are. Approved by: arch@, new style(9)
* o Add the prototype of cr_cansignal() from an earlier change torwatson2002-02-021-0/+1
| | | | | | | | | kern_prot.c. This has apparently been sitting in my local tree for ages, and has been generating a warning during the building of kern_prot.o. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Merged cy_pcireg.h into the one file that uses it (cy_pci.c).bde2002-02-023-47/+32
|
* Fixed breakage of interrupt setup in previous commit. It used anbde2002-02-022-0/+4
| | | | uninitialized variable in the !CY_PCI_FASTINTR case (*blush*).
* In the routines vrele() and vput(), we must lock the vnode andmckusick2002-02-021-15/+15
| | | | | | | | | | | call VOP_INACTIVE before placing the vnode back on the free list. Otherwise there is a race condition on SMP machines between getnewvnode() locking the vnode to reclaim it and vrele() locking the vnode to inactivate it. This window of vulnerability becomes exaggerated in the presence of filesystems that have been suspended as the inactive routine may need to temporarily release the lock on the vnode to avoid deadlock with the syncer process.
* MFen (1.271 --> 1.272).kuriyama2002-02-021-3/+4
|
* When taking a snapshot, we must check for active files that havemckusick2002-02-026-272/+336
| | | | | | been unlinked (e.g., with a zero link count). We have to expunge all trace of these files from the snapshot so that they are neither reclaimed prematurely by fsck nor saved unnecessarily by dump.
* Fixed world breakage in previous commit. The generated headers are inbde2002-02-021-1/+1
| | | | the current directory which is rarely ${.CURDIR}.
* Fixed tab lossage in vendor id and nearby style bugs in previous commit.bde2002-02-011-1/+4
|
* Fixed syntax error in previous commit. It was non-fatal because it wasbde2002-02-011-3/+5
| | | | | | | in conditional code that happens not to be compiled, and because gcc doesn't complain garbage after #endif by default. Fixed some style bugs in previous commit, 1.8 and 1.1.
* Modified release note: bzip 1.0.2.bmah2002-02-012-4/+4
|
* Post-repocopy cleanup.des2002-02-012-7/+1
| | | | Sponsored by: DARPA, NAI Labs
* Merge rev 1.2 (a.out support) into GCC 3.1-snap.obrien2002-02-011-2060/+2991
|
* Use the stock 3.1-snap file now.obrien2002-02-011-101/+196
| | | | | | Until we can figure out how to reimpliment our custom format warnings since the FSF developers totally revamped them, and took away the hooks we were using to accomplish our desires.
* Remove bogus assertion in dup2 that can lead to panics when kernelalfred2002-02-011-2/+0
| | | | | | | | | | | | | | | | | threads race for a file slot. dup2(2) incorrectly assumes that if it needs to grow the ofiles array that it will get what it wants. This assertion was valid before we allowed shared filedescriptor tables but is now incorrect. The assertion can trigger superfolous panics if the thread doing a dup2 looses a race with another thread while possibly blocked in the MALLOC call in fdalloc. Another thread may grab the slot we are requesting which makes fdalloc return something other than what we asked for, this will triggering the bogus assertion. MFC after: 2 weeks Reviewed by: phk
* Avoid lock order reversal filedesc/Giant when calling FREE() in fdallocalfred2002-02-011-0/+2
| | | | | | by unlocking the filedesc before calling FREE(). Submitted by: bde
* Merge rev 1.2 (add_bb) into GCC 3.1-snap.obrien2002-02-011-1193/+1055
| | | | | | Note that the "NO_PROFILE_DATA"/"NO_PROFILE_COUNTERS" bits were added to the stock FSF GCC 2.97 (and thus 3.1) source as i386 Linux needed them also. (amazing what can get committed to the FSF GCC when needed by Linux...)
* We use the stock [3.1-snap] version of this,obrien2002-02-011-874/+1343
| | | | other than having to add $FreeBSD$...
* Use the stock 3.1-snap file now.obrien2002-02-011-648/+810
| | | | I do not think our rev 1.2 changes are needed any longer.
* The stock (3.1-snap) version of this file is used now.obrien2002-02-011-4849/+4361
| | | | The FreeBSD hacks now apply to `config.gcc'.
* Go back to stock [3.1-snap] file -- our previous mods are OBE.obrien2002-02-011-362/+183
|
* We use the stock 3.1-snap file now.obrien2002-02-011-2162/+2955
| | | | All the -Wformat related code moved to c-format.c.
* Use the stock 3.1-snap file now.obrien2002-02-011-1641/+1879
| | | | I have folded all our local changes into the FSF CVS repo.
* If the dhcpd server doesn't provide a domain name or dns servers thenalfred2002-02-011-4/+7
| | | | | | | | | | don't clobber /etc/resolv.conf Add $FreeBSD. Submitted by: an j. peterson" <rbw@myplace.org> Verified fix in: dhcp-3.0.1rc6 PR: misc/34455
* Don't recurse on filedesc lock in chroot_refuse_vdir_fds().alfred2002-02-012-16/+18
| | | | Noticed by: Michael Nottebrock <michaelnottebrock@gmx.net>
* This commit was generated by cvs2svn to compensate for changes in r90075,obrien2002-02-01866-192099/+552787
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.obrien2002-02-01894-235833/+618839
| | | | | | | | These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
| * Remove files that have been removed from vendor branchpeter2002-01-2783-32178/+0
| |
* | Regenerate to make osigreturn standard.bde2002-02-015-12/+13
| |
* | Made osigreturn(2) standard so that SYS_osigreturn can be used in thebde2002-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | signal trampoline for old signals. The arches that support old signals currently abuse sigreturn(2) instead. This mainly complicates things and slightly breaks the the new sigreturn(2). COMPAT is too limited to support the correct configuration of osigreturn, and this commit doesn't attempt to fix it; it just moves the bogusness: osigreturn() must now be provided unconditionally even on arches that don't really need it; previously it had to be provided under the bogus condition defined(COMPAT_43).
* | Add upgrade instructions.sobomax2002-02-011-0/+32
| |
* | Complete bzip2-1.0.2 import.sobomax2002-02-017-18/+83
| | | | | | | | MFC in: 14 days
* | This commit was generated by cvs2svn to compensate for changes in r90067,sobomax2002-02-0126-424/+834
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Virgin import (trimmed) of Bzip2 version 1.0.2sobomax2002-02-0126-424/+834
| | |
* | | Compile osigreturn() unconditionally since it will always be needed onbde2002-02-019-33/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some arches and the syscall table is machine-independent. It was (bogusly) conditional on COMPAT_43, so this usually makes no difference. ia64: in addition: - replace the bogus cloned comment before osigreturn() by a correct one. osigreturn() is just a stub fo ia64's. - fix the formatting of cloned comment before sigreturn(). - fix the return code. use nosys() instead of returning ENOSYS to get the same semantics as if the syscall is not in the syscall table. Generating SIGSYS is actually correct here. - fix style bugs. powerpc: copy the cleaned up ia64 stub. This mainly fixes a bogus comment. sparc64: copy the cleaned up the ia64 stub, since there was no stub before.
* | | Expand COMBRD(x) macro.nyan2002-02-011-2/+2
| | |
* | | MFen (1.269 --> 1.271).kuriyama2002-02-011-3/+26
| | |
* | | Refer to the original mode of the file, not the mode of the originalsheldonh2002-02-011-3/+3
| | | | | | | | | | | | | | | | | | | | | file. PR: docs/34224 Submitted by: "Gary W. Swearingen" <swear@blarg.net>
* | | Connect the pam_lastlog(8) and pam_login_access(8) modules to the build.des2002-02-012-0/+4
| | | | | | | | | | | | Sponsored by: DARPA, NAI Labs
* | | Return ENONAME if getaddrinfo() is called with AI_NUMERICHOSTroam2002-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | and the hostname given is not numeric. PR: 34390 Submitted by: Serge van den Boom <svdb@stack.nl> Approved by: silence from -net MFC after: 1 month
* | | Fixed slipage in editor.obrien2002-02-011-0/+1
| | |
* | | Cut-n-paste in `list' mode considered harmful.obrien2002-02-012-5/+5
| | |
* | | Add -a option (SUSv3) to split(1).mike2002-02-012-11/+49
| | | | | | | | | | | | | | | Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> MFC after: 1 month
* | | Some netgraph parse types (such as for the 'value' field in ng_ksocket'sarchie2002-02-011-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | 'struct ng_ksocket_sockopt') like to peek into the ng_mesg header for information. Make sure when generating default values that we provide a valid header to peek into. MFC after: 1 week
* | | * Remove __P and convert to ANSI prototypes.obrien2002-02-012-19/+17
| | | | | | | | | | | | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's.
* | | * Remove __P and convert to ANSI prototypes.obrien2002-02-0117-265/+248
| | | | | | | | | | | | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's.
* | | Note new status of __P. Don't use it.imp2002-02-011-9/+2
| | | | | | | | | | | | Reviewed by: arch@, mckusick (in principle)
OpenPOWER on IntegriCloud