aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC: rev 1.4: forward compatability with cvs-1.12 repositorystable/3Peter Wemm2008-01-071-0/+10
| | | | Notes: svn path=/stable/3/; revision=175126
* MFC: Don't set the COMPLETE flag in an inodedep structure before theTor Egge2005-08-261-1/+1
| | | | | | | related inode has been written. Notes: svn path=/stable/3/; revision=149520
* MFC (1.405: quick fix for most of the pessimization in rev.1.194).Bruce Evans2003-12-021-2/+7
| | | | Notes: svn path=/stable/3/; revision=123100
* Avoid depending on a gas bug, so that this file works when assembledBruce Evans2003-12-011-1/+2
| | | | | | | | | | | by current versions of gas that don't have the bug as well as by the RELENG_3 version. A 32-bit load of %esp in 16-bit mode was mangled. The current version of gas still produces a different object file due to related (but harmless) bugs involving bogus operand size prefixes for segment registers. Notes: svn path=/stable/3/; revision=123085
* MFC: sendmail address parsing bug fixGregory Neil Shapiro2003-09-172-1/+5
| | | | | | | Approved by: so (nectar) Notes: svn path=/stable/3/; revision=120179
* MFC 1.24: Validate the iBCS2 statfs(2) length parameter.Jacques Vidrine2003-08-101-0/+6
| | | | Notes: svn path=/stable/3/; revision=118755
* MFC: 1.94 and 1.125 (don't use hard newlines in string literals, and fixBruce Evans2003-08-051-19/+19
| | | | | | | | | some style bugs on the same lines). This completes making some RELENG_3 kernels work when compiled by gcc-3.3. Notes: svn path=/stable/3/; revision=118470
* realpath(3) bug fix: There was an off-by-one error in computing theJacques Vidrine2003-08-031-1/+4
| | | | | | | size of the resulting canonical path. Notes: svn path=/stable/3/; revision=118401
* MFC locore.s 1.172-1.174 (don't hide the name of tmpstk, and clear theBruce Evans2003-08-022-28/+25
| | | | | | | | | | | bss properly) with adjustments for RELENG_3. The adjustments are the same as for RELENG_4. This is part of some making RELENG_3 kernels work when compiled by gcc-3.3. Fixing bss clearing and ATOMIC_ASM constrains are the only nontrivial parts. Notes: svn path=/stable/3/; revision=118359
* MFC (1.24: pass in the constraints on the V parameter so that the charBruce Evans2003-07-301-19/+19
| | | | | | | | | | | | | | versions can be given different, non-bogus constraints). This is part of making some RELENG_3 kernels work when compiled by gcc-3.3. I started out only wanting them to compile, but had to test them for delicate changes like this. This change makes no difference for LINT compiled by the RELENG_3 compiler, except for vfs_cluster.o where it gives some differences related to register selection near an atomic_add_char(). Notes: svn path=/stable/3/; revision=118222
* MFC (1.15: missing FREE()). This was supposed to be MFC'ed in 1.3.2.5,Bruce Evans2003-07-291-1/+1
| | | | | | | | | but FREE was misspelled so this file has just not compiled since 1.3.2.5. This finishes making LINT compile in RELENG_3. Notes: svn path=/stable/3/; revision=118183
* Commented out olpt devices so that LINT is almost compilable in RELENG_3.Bruce Evans2003-07-291-2/+5
| | | | | | | | | | olpt devices never worked in RELENG_3, if anywhere, since a driver's namespace is not affected by changing only the driver's name. LINT apparently hasn't been buildable in RELENG_3 since rev.1.539.2.14 (between 3.1R and 3.2R). Notes: svn path=/stable/3/; revision=118181
* MFoldC (a tiny part of 1.61: translate to C: don't use hard newlines inBruce Evans2003-07-291-2/+2
| | | | | | | | | a string literal). This is part of making some RELENG_3 kernels compilable by gcc-3.3. Notes: svn path=/stable/3/; revision=118151
* MFC (1.32: translate to C: don't use hard newlines in a string literal;Bruce Evans2003-07-261-4/+4
| | | | | | | | | 1.41: use the correct function name in the string literal). This is part of making some RELENG_3 kernels compilable by gcc-3.3. Notes: svn path=/stable/3/; revision=118054
* sendmail parsing buffer overflow fixGregory Neil Shapiro2003-03-293-3/+16
| | | | | | | Approved by: so (nectar) Notes: svn path=/stable/3/; revision=112817
* FreeBSD-SA-03:04.sendmail: sendmail header parsing buffer overflowGregory Neil Shapiro2003-03-034-89/+135
| | | | | | | Approved by: security-officer (nectar) Notes: svn path=/stable/3/; revision=111828
* MFC kadm_ser_wrap.c:1.1.1.4: fix buffer overflowAssar Westerlund2002-10-242-4/+13
| | | | | | | | | MFC updating kerberosIV version Obtained from: kth-krb CVS Notes: svn path=/stable/3/; revision=105843
* MFC: fortune(6) datfilesJuli Mallett2002-08-104-3663/+3902
| | | | Notes: svn path=/stable/3/; revision=101622
* MFC: fix buffer overflows described in FreeBSD-SA-02:28.resolv.Trevor Johnson2002-07-082-1/+4
| | | | | | | | | Sergey A. Osokin and I tested this. Approved by: security-officer Notes: svn path=/stable/3/; revision=99618
* MFRELENG_4:Juli Mallett2002-06-171-2/+2
| | | | | | | | | Document traditional BSD behaviour for changecom with no arguments. PR: bin/17480 Notes: svn path=/stable/3/; revision=98321
* Fixed missing definitions of __dead2, __pure2 and __unused when partsBruce Evans2002-05-271-1/+1
| | | | | | | | | | | | | | | | of RELENG_3 are compiled by gcc-3. These macros are for cosmetic purposes (optimization and error checking), so they should have been defined away for all unknown compilers, including for versions of gcc that were apparently not dreamt of when RELENG_3 was current or stable, but the ifdefs are too backwards-looking and got this wrong. RELENG_4 has the same bug for gcc-4. The corresponding idefs in -current and most other ifdefs for gcc avoid the bug by assuming that all future versions of gcc will be like gcc-3. Notes: svn path=/stable/3/; revision=97350
* MFi386: revision 1.129.2.7.Yoshihiro Takahashi2002-05-191-1/+1
| | | | Notes: svn path=/stable/3/; revision=96944
* MFC (1.133: "For what it's worth, idelayed is declared as a volatile inBruce Evans2002-05-151-1/+1
| | | | | | | | | | | the headers, and even though it's not used in this file make it a volatile here too"). The worth of this is that it makes this file actually compilable by C compilers like gcc-3. Notes: svn path=/stable/3/; revision=96635
* MFC (1.12: renamed gdb's private strlen and strlcpy to avoid conflictsBruce Evans2002-05-151-4/+5
| | | | | | | | | | with the public ones declared in a system header). This helps unbreak building RELENG_3 kernels with gcc-3. gcc-2's special (broken) handling of the corresponding builtins apparently prevented detection of the conflicts even when the public functions are declared explicitly. Notes: svn path=/stable/3/; revision=96634
* Work correctly when skips are given.Jeroen Ruigrok van der Werven2002-04-081-3/+5
| | | | | | | | | | Add $FreeBSD$ PR: 18597 Submitted by: Anatoly Vorobey <mellon@pobox.com> Notes: svn path=/stable/3/; revision=94218
* MFC (cy_pci.c 1.26: work around a PLX9050 bug).Bruce Evans2002-03-172-3/+4
| | | | Notes: svn path=/stable/3/; revision=92468
* Backport sed -E support (extended regex support).Alfred Perlstein2002-01-304-9/+23
| | | | | | | Submitted by: Dan Nelson <dnelson@allantgroup.com> Notes: svn path=/stable/3/; revision=89998
* MFC: remove extraneous setjmp, add a panic if we try to longjmpGreg Lehey2002-01-302-3/+2
| | | | | | | without holding the config lock. Notes: svn path=/stable/3/; revision=89975
* MFS: Add quirk entry for the Hitachi DK31* drives.Jeroen Ruigrok van der Werven2001-11-151-0/+12
| | | | | | | | PR: 18793 Submitted by: Paul Haddad <paul@pth.com> Notes: svn path=/stable/3/; revision=86424
* forced commit (PR, Submitted by)Max Khon2001-10-210-0/+0
| | | | | | | | PR: 27922 Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> Notes: svn path=/stable/3/; revision=85296
* MFC: SA 01:62 fixMax Khon2001-10-217-2/+8
| | | | | | | | Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> Approved by: silence on -security Notes: svn path=/stable/3/; revision=85295
* MFC rev 1.18: Protect the remaining instance of chdir() usingMax Khon2001-10-101-12/+13
| | | | | | | fts_safe_changedir(). Notes: svn path=/stable/3/; revision=84775
* MFC rev. 1.60: Enable 8bit chars excepting high controlsMax Khon2001-10-101-4/+10
| | | | Notes: svn path=/stable/3/; revision=84774
* MFC: 1.18: Terminate the array of execv(3) pointers by a NULL pointer.Ruslan Ermilov2001-10-041-1/+3
| | | | Notes: svn path=/stable/3/; revision=84456
* MFC: fowards compatability hack so that we can update the compat3xPeter Wemm2001-09-261-0/+7
| | | | | | | libc.so.3.gz.uu file in -current. This is the same as RELENG_4 1.7.2.3. Notes: svn path=/stable/3/; revision=83953
* MFC/MFS per-user .login_conf disable + adjacent comment.Robert Watson2001-09-202-2/+11
| | | | | | | | login.conf.5: 1.37 login_cap.c: 1.22, 1.23 Notes: svn path=/stable/3/; revision=83740
* MFC: Fix buffer overflow in queue file handlingKris Kennaway2001-08-301-7/+13
| | | | Notes: svn path=/stable/3/; revision=82559
* MFC: MASTER_SITES_*Akinori MUSHA2001-08-231-13/+20
| | | | Notes: svn path=/stable/3/; revision=82222
* MFSJesper Skriver2001-08-061-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/sys/netinet/ip_input.c rev 1.130.2.22 src/sys/netinet6/frag6.c rev 1.2.2.4 src/sys/netinet6/in6_proto.c rev 1.6.2.4 Prevent denial of service using bogus fragmented IPv4 packets. A attacker sending a lot of bogus fragmented packets to the target (with different IPv4 identification field - ip_id), may be able to put the target machine into mbuf starvation state. By setting a upper limit on the number of reassembly queues we prevent this situation. This upper limit is controlled by the new sysctl net.inet.ip.maxfragpackets which defaults to nmbclusters/4 If you want old behaviour (no upper limit) set this sysctl to a negative value. If you don't want to accept any fragments (not recommended) set the sysctl to 0 (zero) Obtained from: NetBSD (partially) Notes: svn path=/stable/3/; revision=81196
* MFC: SA-01:49.Bruce A. Mah2001-07-242-0/+6
| | | | Notes: svn path=/stable/3/; revision=80243
* MFC: Correct semantics of output_data*() and netflush() to ensureKris Kennaway2001-07-236-45/+50
| | | | | | | deterministic operation Notes: svn path=/stable/3/; revision=80228
* MFC^2: Correct semantics of output_data*() and netflush() to ensureKris Kennaway2001-07-236-43/+47
| | | | | | | deterministic operation Notes: svn path=/stable/3/; revision=80227
* MFC: Prevent remotely exploitable buffer overflowKris Kennaway2001-07-2314-661/+432
| | | | Notes: svn path=/stable/3/; revision=80177
* MFC 1.134, 1.135: don't share sig handlers after an exec.Dima Dorfman2001-07-111-1/+23
| | | | | | | Approved by: kris Notes: svn path=/stable/3/; revision=79599
* MFC: rev 1.131: set P_SUGID before releasing ptrace and block opportunitiesPeter Wemm2001-06-161-2/+3
| | | | Notes: svn path=/stable/3/; revision=78372
* MFC: rev 1.40: trivial fix for savecore on 2GB+ ram machinesPeter Wemm2001-06-081-3/+5
| | | | Notes: svn path=/stable/3/; revision=77895
* MFC: SA-01:39.Bruce A. Mah2001-05-022-0/+8
| | | | Notes: svn path=/stable/3/; revision=76221
* MFC: Better TCP ISN randomizationKris Kennaway2001-05-026-6/+85
| | | | Notes: svn path=/stable/3/; revision=76218
* MFC: fix grammar bogon and add $FreeBSD$.Jens Schweikhardt2001-04-261-1/+2
| | | | Notes: svn path=/stable/3/; revision=76043
* MFC: Correct and update Japanese holidays.Akinori MUSHA2001-04-201-7/+13
| | | | Notes: svn path=/stable/3/; revision=75735