117785 Commits

Author SHA1 Message Date
rse
8845971810 MFC:
| Fix parsing of mdmfs(8) option "-w <user>:<group>" in case <user> or
| <group> is a numeric user/group ID instead of a user/group name (as
| explicitly intended to be allowed by both the manual page and the
| implementation).
|
| Before this fix, mdmfs(8) aborted:
|
| | # mdmfs -s 32m -w 0:0 md /var/tmp/foo
| | Assertion failed: (mip->mi_have_uid), function extract_ugid, file /usr/src/sbin/mdmfs/mdmfs.c, line 555.
| | Abort trap (core dumped)
|
| The "mi_have_[ug]id" fields were only set in case a name lookup was
| successful. Instead they also have to be set in case the string to
| integer conversion was successful.
|
| Additionally, as a result of this fix, two assertions at the end of
| the function are now always true and hence can be just be removed. It
| is guarrantied that both the UID and the GID are set when the function
| returns regularily, else it would have been already bailed out with
| usage()/exit(3) or errx(3) before.
|
| Spotted by:     Christoph Schug <chris@schug.net>
2005-11-04 19:37:14 +00:00
maxim
708a79e840 MFC rev. 1.155 sys/netinet/raw_ip.c and rev. 1.178 sys/netinet/udp_usrreq.c:
INP_ONESBCAST is inpcb.inp_vflag flag not inp_flags.
2005-11-04 18:34:45 +00:00
glebius
5df0b2a057 MFC 1.91, 1.92:
- First fill in structure with valid values, and only then attach it
    to the global list.
  - In in_addprefix() compare not only route addresses, but their masks,
    too. This fixes problem when connected prefixes overlap.
2005-11-04 18:25:55 +00:00
cperciva
bbf37290b2 MFC rev. 1.2: Use the "builtin" shell function to make sure that the
requested command is handled as a shell function.
2005-11-04 18:22:17 +00:00
glebius
9cf9c62adb MFC 1.115:
- When flushing node input queue, check whether item has a callback. If
    it does, then call it suppling ENOENT as error value.
  - Add assert, that helped to catch the above error.
2005-11-04 18:20:32 +00:00
maxim
1792449ef0 MFC rev. 1.4: remove unfinished code and make it possible to override
bsdextended_script from rc.conf(5).
2005-11-04 18:18:20 +00:00
imp
14430f9036 MFC: New cards recognized from head 2005-11-04 18:11:56 +00:00
imp
4d534fd0d2 MFC: New cards, and elimination of redundant cards 2005-11-04 18:11:23 +00:00
maxim
f30d3d257d MFC rev. 1.98: NetBSD 2.0.3 and NetBSD 2.1 added. 2005-11-04 18:09:39 +00:00
imp
b4cac323be MFC: Probe for RTL8019AS parts before probing for NE2000 cards. This allows
the old work horses to now have full-duplex.
2005-11-04 18:09:07 +00:00
imp
2fe75aec4f MFC: Move initialization of offsets up since the ISA probe case needs to
have them reset.
2005-11-04 18:07:51 +00:00
maxim
2b1a1d8611 MFC rev. 1.269: s/RADUIS/RADIUS/ 2005-11-04 18:06:23 +00:00
maxim
cd29e196bc MFC rev. 1.8: dcons(4) depends on "options GDB". 2005-11-04 18:03:00 +00:00
maxim
ac6d6e0e90 MFC rev. 1.40: typo. 2005-11-04 17:58:02 +00:00
jhb
253c2751b6 MFC: Fix cleanup in some more attach failure edge cases. 2005-11-04 17:47:17 +00:00
jhb
e172bf56b6 MFC: Rototill vx(4) adding locking and marking MPSAFE in the process. 2005-11-04 17:45:20 +00:00
jdp
62b4ca90c0 MFC 1.24: Fix an erroneous description of the file descriptor assignments
for the "~C" command.
2005-11-04 17:27:24 +00:00
jdp
530aef7858 MFC 1.118: Don't include self-dependencies in the file's reference
count.
2005-11-04 17:05:13 +00:00
wilko
2bd1a8ed81 MFC:
Small changes in the AlphaStation 200 and PC14 area.  PC164 SRM does
not work with 53C896 SCSI chips.

Submitted by: Owen Mann <owen@mann.org>
2005-11-04 07:31:49 +00:00
marcel
383a62d96c MFC rev. 1.246:
Fix an unaligned I/O memory access in the event that a SCB times out.
The FXP_SCR_FLOWCONTROL registers is at offset 0x19, but 2 bytes wide.
It cannot be read as a word without causing a panic on architectures
that enforce strict alignment.
2005-11-04 03:31:23 +00:00
kensmith
375f9b11dd MFC v1.7:
> date: 2005/11/03 00:23:13;  author: kensmith;  state: Exp;  lines: +1 -6
> It had been noticed disc2 was overflowing earlier but committing the
> fix slipped through a crack.  Remove the apache and php packages under
> the assumption someone installing a Web server has network access and
> doesn't *need* the packages on disc2.

Approved by:	re (scottl)
2005-11-03 00:34:05 +00:00
scottl
eb2b1f796a MFC: FreeBSD 6.0
Approved by: re
2005-11-02 00:01:08 +00:00
scottl
6120abc9b8 Bump up __FreeBSD_version for 6.0-STABLE.
Approved by: re
2005-11-01 23:51:19 +00:00
scottl
1462b05679 Welcome to 6.0-STABLE.
Approved by: re
2005-11-01 23:48:09 +00:00
scottl
472d705e62 Nov = 11
Approved by: re
2005-11-01 23:44:40 +00:00
scottl
09881cd92d Note that 6.0-RELEASE is about to happen.
Approved by: re
2005-11-01 23:40:10 +00:00
suz
e085cc468b MFC 1.59
statically configured IPv6 address is properly added/deleted now

Approved by: re(scottl)
2005-11-01 22:48:56 +00:00
jhb
80f55fc767 Add a deprecation warning since this driver is gone in HEAD.
Approved by:	re (scottl)
2005-10-31 20:15:58 +00:00
obrien
755e432028 Catch up with FreeBSD 6.
Approved by:	re(scottl)
2005-10-30 17:54:39 +00:00
nyan
8cd02f3eed MFC: Enable beastie.4th.
Approved by:	re (scottl)
2005-10-30 16:36:00 +00:00
scottl
25f651575a MFC
Approved by: re
2005-10-30 14:40:40 +00:00
cvs2svn
1a02931cac This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-10-30 05:41:43 +00:00
krion
52d44b2349 MFC: perform.c:1.14 test-pkg_version.sh:1.6
date: 2005/10/10 12:35:30;  author: krion;  state: Exp;  lines: +9 -4
  * pkg_version(1) exits if INDEX files is not found and -I is not
    specified.  The result is that the package will be listed with a '?'
    as if it was not found within the INDEX file, so fix this behaviour.
  * Remove trailing spaces.

  PR:             bin/87136
  Submitted by:   Sean Farley <sean-freebsd at farley dot org>

Approved by:	re
2005-10-29 15:49:01 +00:00
krion
1a3c5849ac MFC: delete/main.c:1.27 info/main.c:1.48
Fix pkg_info(1) and pkg_delete(1) to handle properly packages which
  names start with a digit.

  PR:             bin/76858
  Submitted by:   Matthew D. Fuller <fullermd@over-yonder dot net>

Approved by:	re
2005-10-29 15:27:12 +00:00
scottl
697f29309f MFC rev 1.113
Submitted by: delphij
Approved by: re
2005-10-29 15:05:25 +00:00
scottl
d55e451fd1 MFC rev 1.497
Submitted by: tegge
Approved by: re
2005-10-29 06:45:38 +00:00
scottl
2c9b2a4d12 MFC rev 1.158
Submitted by: tegge
Approved by: re
2005-10-29 06:43:55 +00:00
scottl
88d8ec8306 MFC rev 1.294
Submitted by: tegge
Approved by: re
2005-10-29 06:42:25 +00:00
scottl
1a6eedb3ba MFC rev 1.106 - 1.110
Submitted by: tegge
Approved by: re
2005-10-29 06:40:41 +00:00
scottl
25763ae2a7 MFC rev 1.136 and 1.137
Submitted by: tegge
Approved by: re
2005-10-29 06:38:13 +00:00
avatar
07ad715e98 MFC: (1.16) Fixing a name collision in module declaration by renaming
"firewire" to "if_firewire."  According to the PR originator and Cai's
test, this bug prevents a RELENG_6 GENERIC kernel from loading if_fwip.ko
and will panic the kernel if users compile "device fwip" into their
GENERIC kernel.

Approved by:	re (scottl)
2005-10-28 22:45:52 +00:00
pjd
cf1a35e6f5 Fix possible live-lock under heavy load where we can't allocate more
memory for request.
I was sure graid3 should handle such situations well, but green@ reported
it is not and we want to fix it before 6.0.

Submitted by:	green
Approved by:	re (scottl)
2005-10-28 20:27:53 +00:00
jhb
696fd1b737 MFC: Sync with head updating examples to match 6.x.
Approved by:	re (scottl)
2005-10-28 19:24:13 +00:00
jhb
4587967874 MFC: Add DEFAULTS files for amd64, i386, and pc98.
Approved by:	re (scottl)
2005-10-28 19:21:27 +00:00
jhb
e53e4f57e7 MFC: Sync config(8) with HEAD:
- Add -V option to dump version.
- Implicitly include DEFAULTS if it exists in the current directory before
  the specified kernel config.

Approved by:	re (scottl)
2005-10-28 19:04:03 +00:00
jhb
df13d367a1 MFC: Add COMPAT_FREEBSD5.
Approved by:	re (scottl)
2005-10-28 19:02:22 +00:00
cracauer
73652cae36 Fix this:
kern/87959      cracauer        ext2fs: no cp(1) possible, mmap returns EINVAL

ext2fs was missing vnode_create_vobject.

(Reisefs probably has the same problem but I want to get this in quick
for 6-release)

releng-6 branches commits approved by Scott Long.

Approved by: re
2005-10-28 18:44:26 +00:00
scottl
f19f835d61 MFC: Fix regression with Dell PERC3/ROMB controllers
Approved by: re
2005-10-28 15:48:09 +00:00
cvs2svn
c2300784b4 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-10-28 15:30:52 +00:00
suz
9108fa171c MFC Rev 1.60
perform NUD on an IPv6-aware point-to-point interface

Approved by: re(scottl)
2005-10-28 14:38:56 +00:00