]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAdd missing command.
pjd [Mon, 3 May 2004 21:31:19 +0000 (21:31 +0000)]
Add missing command.

20 years agoAdd missing commands.
pjd [Mon, 3 May 2004 21:29:22 +0000 (21:29 +0000)]
Add missing commands.

20 years agoAllow geom_concat and geom_gate to be compiled in kernel.
pjd [Mon, 3 May 2004 21:18:56 +0000 (21:18 +0000)]
Allow geom_concat and geom_gate to be compiled in kernel.

20 years agoConnect ggatec(8), ggated(8) and ggatel(8) to the build.
pjd [Mon, 3 May 2004 21:14:03 +0000 (21:14 +0000)]
Connect ggatec(8), ggated(8) and ggatel(8) to the build.

20 years agoConnect geom_gate.ko to the build.
pjd [Mon, 3 May 2004 21:12:29 +0000 (21:12 +0000)]
Connect geom_gate.ko to the build.

20 years agoAmmend jail(8) man page to explain new sysctl for raw-sockets
bmilekic [Mon, 3 May 2004 21:12:23 +0000 (21:12 +0000)]
Ammend jail(8) man page to explain new sysctl for raw-sockets
inside jails, Christian's last submission.

Submitted by: Christian S.J. Peron <maneo@bsdpro.com>

20 years agoTurn off debugging by default.
pjd [Mon, 3 May 2004 21:11:54 +0000 (21:11 +0000)]
Turn off debugging by default.

20 years agoFor portability, don't rely on libc's strmode(3). <sigh>
kientzle [Mon, 3 May 2004 21:05:59 +0000 (21:05 +0000)]
For portability, don't rely on libc's strmode(3).  <sigh>

20 years agoPrefer signed type over unsigned to be able to assert negative
pjd [Mon, 3 May 2004 21:02:02 +0000 (21:02 +0000)]
Prefer signed type over unsigned to be able to assert negative
reference count.

20 years agoBump copyright date for NETA to 2004.
rwatson [Mon, 3 May 2004 20:53:27 +0000 (20:53 +0000)]
Bump copyright date for NETA to 2004.

20 years agoAdd MAC_STATIC, a kernel option that disables internal MAC Framework
rwatson [Mon, 3 May 2004 20:53:05 +0000 (20:53 +0000)]
Add MAC_STATIC, a kernel option that disables internal MAC Framework
synchronization protecting against dynamic load and unload of MAC
policies, and instead simply blocks load and unload.  In a static
configuration, this allows you to avoid the synchronization costs
associated with introducing dynamicism.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, McAfee Research

20 years agoAdd regression tests for GEOM Gate:
pjd [Mon, 3 May 2004 18:29:54 +0000 (18:29 +0000)]
Add regression tests for GEOM Gate:
- test-1.sh - Tests ggatec(8) and ggated(8) on lo0.
- test-2.sh - Tests ggatel(8) on a regular file.
- test-3.sh - Tests ggatel(8) on a md(4) device.

20 years agoDon't repeat handshake.
pjd [Mon, 3 May 2004 18:24:41 +0000 (18:24 +0000)]
Don't repeat handshake.

This little thing can cause a deadlock, because taste mechanism start
to work after creation of ggate provider and I/O requests are sent from
other classes from the g_event thread, so number of pending events isn't 0.
Now ggatec(8) start second handshake and ggated(8) is trying to open
GEOM provider (for example md(4)) and it can't, because it hangs on
g_waitidle() in g_dev_open(). g_waitidle() cannot finish because
there is a pending read on event queue, and this read can't be
finished, because ggated(8) can't open target device.
GEOM Gate will recover from this deadlock, because requests will
timeout, but it of course isn't the best solution and I don't know
better one for now, so we should avoid opening GEOM providers while
there are pending requests in event queue.

20 years ago- Hold g_gate_list_mtx lock while generating/checking unit number.
pjd [Mon, 3 May 2004 18:06:24 +0000 (18:06 +0000)]
- Hold g_gate_list_mtx lock while generating/checking unit number.
Found by: mtx_assert() g_gate.c:273
- Set command before returning to userland with ENOMEM error value.
Found by: assert() ggatel.c:108

20 years agoo Fix misindentation in the previous commit.
maxim [Mon, 3 May 2004 17:15:34 +0000 (17:15 +0000)]
o Fix misindentation in the previous commit.

20 years agoCorrect copy/paste error in Linux nodump support.
kientzle [Mon, 3 May 2004 16:56:42 +0000 (16:56 +0000)]
Correct copy/paste error in Linux nodump support.
Thanks to: Juergen Lock for his continuing patience
while I botch his patches.

20 years agoLink state change notification of ethernet media to the routing socket.
andre [Mon, 3 May 2004 16:30:32 +0000 (16:30 +0000)]
Link state change notification of ethernet media to the routing socket.

o Print the link state for interface messages in monitor mode.

No objections by: sam, wpaul, ru, bms
Brucification by: bde

20 years agoBack out a change that slipped into the previous commit for which other
andre [Mon, 3 May 2004 16:07:13 +0000 (16:07 +0000)]
Back out a change that slipped into the previous commit for which other
supporting parts have not yet been committed.

Remove pre-mature IP options ignoring option.

20 years agoOops, switch to using the moved cy driver for pc98 too (remove pointers
bde [Mon, 3 May 2004 16:03:41 +0000 (16:03 +0000)]
Oops, switch to using the moved cy driver for pc98 too (remove pointers
to old files in files.pc98 and "count" parameter in NOTES).

20 years ago- Add an IMEN_MASK macro that returns the 8-bit bitmask of an atpic
jhb [Mon, 3 May 2004 14:52:41 +0000 (14:52 +0000)]
- Add an IMEN_MASK macro that returns the 8-bit bitmask of an atpic
  interrupt source.
- Only do an outb() to the PIC to clear a bit in imen if the bit is set.
- Add a NUM_ISA_IRQS macro to replace uglier
  'sizeof(array) / sizeof(member)' expressions along with a CTASSERT() to
  ensure that the macro is correct.

20 years agoMake the legacy_pcib_attach() function static.
jhb [Mon, 3 May 2004 14:49:43 +0000 (14:49 +0000)]
Make the legacy_pcib_attach() function static.

20 years agoUse a private attach method for the MP Table host-PCI bridge driver rather
jhb [Mon, 3 May 2004 14:49:10 +0000 (14:49 +0000)]
Use a private attach method for the MP Table host-PCI bridge driver rather
than using legacy_pcib_attach().  The MP Table drivers don't use the $PIR,
and the legacy_pcib_attach() function probes and parses the $PIR in
addition to adding the pci bus child device.

20 years agoOptimize IP fastforwarding some more:
andre [Mon, 3 May 2004 13:52:47 +0000 (13:52 +0000)]
Optimize IP fastforwarding some more:

o New function ip_findroute() to reduce code duplication for the
  route lookup cases. (luigi)

o Store ip_len in host byte order on the stack instead of using
  it via indirection from the mbuf.  This allows to defer the host
  byte conversion to a later point and makes a quicker fallback to
  normal ip_input() processing. (luigi)

o Check if route is dampned with RTF_REJECT flag and drop packet
  already here when ARP is unable to resolve destination address.
  An ICMP unreachable is sent to inform the sender.

o Check if interface output queue is full and drop packet already
  here.  No ICMP notification is sent because signalling source quench
  is depreciated.

o Check if media_state is down (used for ethernet type interfaces)
  and drop the packet already here.  An ICMP unreachable is sent to
  inform the sender.

o Do not account sent packets to the interface address counters.  They
  are only for packets with that 'ia' as source address.

o Update and clarify some comments.

Submitted by: luigi (most of it)

20 years agoLink state change notification of ethernet media to the routing socket.
andre [Mon, 3 May 2004 13:48:35 +0000 (13:48 +0000)]
Link state change notification of ethernet media to the routing socket.

o Extend the if_data structure with an ifi_link_state field and
  provide the corresponding defines for the valid states.

o The mii_linkchg() callback updates the ifi_link_state field
  and calls rt_ifmsg() to notify listeners on the routing socket
  in addition to the kqueue KNOTE.

o If vlans are configured on a physical interface notify and update
  all vlan pseudo devices as well with the vlan_link_state() callback.

No objections by: sam, wpaul, ru, bms
Brucification by: bde

20 years agoCorrect the phy_service() routine case MII_TICK to correctly track
andre [Mon, 3 May 2004 13:01:34 +0000 (13:01 +0000)]
Correct the phy_service() routine case MII_TICK to correctly track
the falling edge of a media state change.

This is in preparation for media state change notification to the
routing socket.

No objections by: sam, wpaul, ru, bms
Brucification by: bde

20 years agoAdd 'device ata' to the kernel configuration excerpt in EXAMPLE section.
thomas [Mon, 3 May 2004 12:03:15 +0000 (12:03 +0000)]
Add 'device ata' to the kernel configuration excerpt in EXAMPLE section.
Update mount example to use /dev/cd0 instead of /dev/cd0c.
Update copyright notice.

20 years agoOnly add the widths together for printable characters in prn_normal();
tjr [Mon, 3 May 2004 11:48:55 +0000 (11:48 +0000)]
Only add the widths together for printable characters in prn_normal();
unprintable characters have a "width" of -1.

20 years agoFix off by one error.
phk [Mon, 3 May 2004 11:41:25 +0000 (11:41 +0000)]
Fix off by one error.

20 years agoRestore vendor Id.
obrien [Mon, 3 May 2004 10:33:27 +0000 (10:33 +0000)]
Restore vendor Id.

20 years agoTweak to rev 1.8 to match the offical http://www.gzip.org/gzip-1.2.4b.patch
obrien [Mon, 3 May 2004 10:29:23 +0000 (10:29 +0000)]
Tweak to rev 1.8 to match the offical http://www.gzip.org/gzip-1.2.4b.patch

20 years agoadd support BUFFALO(Melco INC.) LPC-CB-CLX(CardBus)
sanpei [Mon, 3 May 2004 09:54:51 +0000 (09:54 +0000)]
add support BUFFALO(Melco INC.) LPC-CB-CLX(CardBus)
http://buffalo.melcoinc.co.jp/products/catalog/item/l/lpc-cb-clx/index.html
(in Japanese)

20 years agoo Add OpenBSD 3.5.
maxim [Mon, 3 May 2004 08:19:45 +0000 (08:19 +0000)]
o Add OpenBSD 3.5.
o NetBSD 1.6.2 was a patch release.

MFC after: 3 days

20 years agoPaths correction.
pjd [Mon, 3 May 2004 07:21:59 +0000 (07:21 +0000)]
Paths correction.

Pointed out by: ache, make buildworld

20 years agoWe don't need this any more, while we have /usr/include/geom/concat/.
pjd [Mon, 3 May 2004 07:20:27 +0000 (07:20 +0000)]
We don't need this any more, while we have /usr/include/geom/concat/.

20 years agouse correct address for SADB_EXT_ADDRESS_DST in key_do_allocsa_policy
sam [Mon, 3 May 2004 05:15:53 +0000 (05:15 +0000)]
use correct address for SADB_EXT_ADDRESS_DST in key_do_allocsa_policy
(was using src instead of dst)

Submitted by: Bjoern A. Zeeb
Obtained from: KAME
MFC after: 1 day

20 years agocorrect behaviour of key_getsavbyspi broken in rev 1.7; corrects problems with
sam [Mon, 3 May 2004 05:11:40 +0000 (05:11 +0000)]
correct behaviour of key_getsavbyspi broken in rev 1.7; corrects problems with
removing specific SPIs

Submitted by: Bjoern A. Zeeb

20 years agoFloating-point faults and exceptions can happen in the kernel too.
marcel [Mon, 3 May 2004 04:13:31 +0000 (04:13 +0000)]
Floating-point faults and exceptions can happen in the kernel too.
Do not panic when it happens; handle them.

Run into by: das

20 years agoadd support to prefer old SA to new SA during allocation
sam [Mon, 3 May 2004 03:29:21 +0000 (03:29 +0000)]
add support to prefer old SA to new SA during allocation
(makes net.key.preferred_oldsa work as for KAME)

Submitted by: gabor@sentex.net
Reviewed by: Bjoern A. Zeeb
MFC after: 1 day

20 years agoConsistify: #define gets 1 tab character afterwards
kientzle [Mon, 3 May 2004 01:40:34 +0000 (01:40 +0000)]
Consistify:  #define gets 1 tab character afterwards
Pointed out by: Simon Nielsen

20 years agoFix a race condition which could result in profprocs being decremented
cperciva [Mon, 3 May 2004 00:48:11 +0000 (00:48 +0000)]
Fix a race condition which could result in profprocs being decremented
more than once if stopprofclock is called multiple times on the same
process.

20 years agos/emacs21/emacs/
marcel [Mon, 3 May 2004 00:47:35 +0000 (00:47 +0000)]
s/emacs21/emacs/
The emacs21 ports has been retired on March 21st and the emacs port
was updated to version 21.3.

20 years agoCatch- and cleanup:
marcel [Mon, 3 May 2004 00:10:59 +0000 (00:10 +0000)]
Catch- and cleanup:
o  Fix and improve comments and references,
o  Add PFIL_HOOKS, UFS_ACL and UFS_DIRHASH,
o  Switch from SCHED_4BSD to SCHED_ULE,
o  Remove SCSI_DELAY (there's no SCSI support),

20 years agoGzip assumes 'unsigned long' is 32-bits wide and depends on this.
obrien [Sun, 2 May 2004 23:07:49 +0000 (23:07 +0000)]
Gzip assumes 'unsigned long' is 32-bits wide and depends on this.
One thing Gzip does is implicitly by store the size of a file into an
'unsigned long' rather than  explicitly compute the remainder modulo 2^32
(see RFC 1952 section 2.3.1 "ISIZE").  Thus an extracted file size is
does not equal the original size (mod 2^32) for files larger than 4GB.

This manifests itself in errors such as:
zcat: bigfile.gz: invalid compressed data--length error

PR: 66008, 66009
Submitted by: Peter Losher <Peter_Losher@isc.org>
Patch by: tjr

20 years agoStyle: Use single tab after #define
kientzle [Sun, 2 May 2004 22:58:18 +0000 (22:58 +0000)]
Style: Use single tab after #define

20 years agoBe consistent in using variable names instead of parameter numbers.
thomas [Sun, 2 May 2004 21:19:17 +0000 (21:19 +0000)]
Be consistent in using variable names instead of parameter numbers.

20 years agoCommit three imported bugfixes from OpenBSD 3.4-stable:
dhartmei [Sun, 2 May 2004 20:47:24 +0000 (20:47 +0000)]
Commit three imported bugfixes from OpenBSD 3.4-stable:

  - change pf_get_pool() argument rule_number type from u_int32_t
    to u_int8_t, fixes corruption of address pools with large
    rulesets (mcbride@)
  - prevent endless loops with route-to (dhartmei@)
  - limit option length to 2 octets max (frantzen@)

Obtained from: OpenBSD
Approved by: mlaier(mentor), bms(mentor)

20 years agoAdd option GEOM_GPT. This brings the ability to have a large number of
marcel [Sun, 2 May 2004 20:40:19 +0000 (20:40 +0000)]
Add option GEOM_GPT. This brings the ability to have a large number of
partitions on a single disk.

20 years agoRemove bogus FBSDID.
obrien [Sun, 2 May 2004 20:13:29 +0000 (20:13 +0000)]
Remove bogus FBSDID.

20 years agoFix damaged FBSDID.
obrien [Sun, 2 May 2004 20:09:14 +0000 (20:09 +0000)]
Fix damaged FBSDID.

20 years agoQuirk for Neuros USB audio device.
njl [Sun, 2 May 2004 19:24:23 +0000 (19:24 +0000)]
Quirk for Neuros USB audio device.

PR: kern/63645
Submitted by: Aron Stansvik <elvstone@osdever.net>

20 years agoUpdate URL of the FEPS PDF at sun.com.
marius [Sun, 2 May 2004 19:14:13 +0000 (19:14 +0000)]
Update URL of the FEPS PDF at sun.com.

20 years agoSpell Ethernet correctly.
obrien [Sun, 2 May 2004 18:57:29 +0000 (18:57 +0000)]
Spell Ethernet correctly.

20 years agoMore of Juergen Lock's patches for Linux.
kientzle [Sun, 2 May 2004 18:10:35 +0000 (18:10 +0000)]
More of Juergen Lock's patches for Linux.
(fflags support on Linux, nanosecond timestamp portability, enable
64-bit file offsets)

20 years agoFix compiling on 64-bit architectures.
pjd [Sun, 2 May 2004 17:59:49 +0000 (17:59 +0000)]
Fix compiling on 64-bit architectures.

20 years agoMake it compile on 64-bit architectures.
pjd [Sun, 2 May 2004 17:57:49 +0000 (17:57 +0000)]
Make it compile on 64-bit architectures.
The biggest issue was that 16-bit atomic operations aren't supported
on all architectures.

20 years agoMore style fixes, per bde.
kientzle [Sun, 2 May 2004 17:54:57 +0000 (17:54 +0000)]
More style fixes, per bde.

20 years agoFix release builds (release.3 target). We also need to rebuild libradius,
marcel [Sun, 2 May 2004 17:38:27 +0000 (17:38 +0000)]
Fix release builds (release.3 target). We also need to rebuild libradius,
because otherwise it will remain having a dependency upon libssl. This
breaks the non-crypto build that happens for release.3

While here, order the list of programs and libraries.

Speculating review feedback from: ru

20 years agoCorrect minor glitches.
schweikh [Sun, 2 May 2004 17:17:19 +0000 (17:17 +0000)]
Correct minor glitches.
Okayed by: scottl.

20 years agoUpdate the device list for asr, remove a nonsense paragraph, and fix up the
scottl [Sun, 2 May 2004 15:48:00 +0000 (15:48 +0000)]
Update the device list for asr, remove a nonsense paragraph, and fix up the
wording in a few others.

20 years agoOops, the 2120S is not supported by this driver.
schweikh [Sun, 2 May 2004 15:31:58 +0000 (15:31 +0000)]
Oops, the 2120S is not supported by this driver.
Clue bat kindly provided by: scottl

20 years agoRename m_claim_next_hop() to m_claim_next(), as suggested by Max Laier.
darrenr [Sun, 2 May 2004 15:10:17 +0000 (15:10 +0000)]
Rename m_claim_next_hop() to m_claim_next(), as suggested by Max Laier.

20 years agooops, I forgot this file in a prior commit (change was still sitting here,
darrenr [Sun, 2 May 2004 15:07:37 +0000 (15:07 +0000)]
oops, I forgot this file in a prior commit (change was still sitting here,
uncommitted):

Rename ip_claim_next_hop() to m_claim_next_hop(), give it an extra arg
(the type of tag to claim) and push it out of ip_var.h into mbuf.h
alongside all of the other macros that work ok mbuf's and tag's.

20 years agoAdded the 2120S to the list of supported cards.
schweikh [Sun, 2 May 2004 14:22:39 +0000 (14:22 +0000)]
Added the 2120S to the list of supported cards.

20 years agoSync to 1.173 of usbdevs
sanpei [Sun, 2 May 2004 13:23:25 +0000 (13:23 +0000)]
Sync to 1.173 of usbdevs

20 years agoAdd support SUNTAC U-Cable type A4 (AS144L4)
sanpei [Sun, 2 May 2004 13:21:28 +0000 (13:21 +0000)]
Add support SUNTAC U-Cable type A4 (AS144L4)
http://www.sun-denshi.co.jp/scc/products/mobile/as144l4/as144l4.htm (in Japanese)

PR: kern/66144
Submitted by: KURASHINA Hideyuki <rushani@FreeBSD.org>

20 years agoCorrect a grammo.
schweikh [Sun, 2 May 2004 12:38:02 +0000 (12:38 +0000)]
Correct a grammo.

20 years agoTreat filenames as multibyte character strings (according to the current
tjr [Sun, 2 May 2004 11:25:37 +0000 (11:25 +0000)]
Treat filenames as multibyte character strings (according to the current
LC_CTYPE setting) when determining which characters are printable.
This is an often-requested feature.

Use wcwidth() to determine the number of column positions a character
takes up, although there are still a few places left where we assume
1 byte = 1 column position, e.g. line-wrapping when handling the -m option.

The error handling here is somewhat more complicated than usual: we do
our best to show what we can of a filename in the presence of conversion
errors, instead of simply aborting.

20 years agoMerge vfscanf.c, v1.37:
das [Sun, 2 May 2004 10:56:26 +0000 (10:56 +0000)]
Merge vfscanf.c, v1.37:
- s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/

20 years agoMerge vfprintf.c, v1.65:
das [Sun, 2 May 2004 10:56:17 +0000 (10:56 +0000)]
Merge vfprintf.c, v1.65:
- s/#ifdef FLOATING_POINT/#ifndef NO_FLOATING_POINT/
- Remove HEXFLOAT

20 years agoAdd option NO_FP_LIBC, which disables floating-point support in
das [Sun, 2 May 2004 10:55:07 +0000 (10:55 +0000)]
Add option NO_FP_LIBC, which disables floating-point support in
*printf() and *scanf().  Currently, this reduces the size of libc.so
by 9K on i386.  But the real savings are for static binaries that use
*printf() or *scanf() but not strtod(); with an FP-disabled libc,
these binaries will not depend on the gdtoa routines, making each
binary about 22K smaller.

20 years ago- To make it easier to compile *printf() and *scanf() without
das [Sun, 2 May 2004 10:55:06 +0000 (10:55 +0000)]
- To make it easier to compile *printf() and *scanf() without
  floating-point support, remove default definition of FLOATING_POINT
  from the source, and change the compile-time option to
  NO_FLOATING_POINT.
- Remove the HEXFLOAT option.  It saves an insignificant amount of
  space (<0.1% of the size of libc on i386) and complicates vfprintf()
  and checkfmt().

20 years agoWhen *printf() and *scanf() are compiled without floating-point
das [Sun, 2 May 2004 10:55:05 +0000 (10:55 +0000)]
When *printf() and *scanf() are compiled without floating-point
support, fmtcheck() should not accept format strings that contain
floating-point formats.

20 years ago- style(9) improvements courtesy of bde.
smkelly [Sun, 2 May 2004 07:07:54 +0000 (07:07 +0000)]
- style(9) improvements courtesy of bde.
- Revise the former commit to behave nicer on filenames containing
  multiple '.' characters.
- Prevent the generation of macros starting with "__".

20 years agoRename ip_claim_next_hop() to m_claim_next_hop(), give it an extra arg
darrenr [Sun, 2 May 2004 06:36:30 +0000 (06:36 +0000)]
Rename ip_claim_next_hop() to m_claim_next_hop(), give it an extra arg
(the type of tag to claim) and push it out of ip_var.h into mbuf.h alongside
all of the other macros that work ok mbuf's and tag's.

20 years agoRemove old cy driver files. They have been repo-copied to sys/dev/cy and
bde [Sun, 2 May 2004 05:38:49 +0000 (05:38 +0000)]
Remove old cy driver files.  They have been repo-copied to sys/dev/cy and
sys/dev/ic and adjusted to work there.

20 years agoSwitch to using the moved cy driver (adjust pathnames and remove "count"
bde [Sun, 2 May 2004 05:21:29 +0000 (05:21 +0000)]
Switch to using the moved cy driver (adjust pathnames and remove "count"
parameter).

Keep using it only in the i386 NOTES for now.  It is fairly MI, but it
doesn't use bus-space and has a couple of i386 i/o instructions in pci
intitialization.

20 years agoRemove the static reservation of the asr major number
scottl [Sun, 2 May 2004 03:51:53 +0000 (03:51 +0000)]
Remove the static reservation of the asr major number

20 years agoRemove the defAlignLong and getAlignLong macros. I guess that the original
scottl [Sun, 2 May 2004 03:33:18 +0000 (03:33 +0000)]
Remove the defAlignLong and getAlignLong macros.  I guess that the original
intent was to make sure that message structs allocated off of the stack were
4-byte aligned.  However, the macros as defined did absolutely nothing.
And since I2O forces you to manually copy messages down to the hardware, there
really is no point of enforced alignment anyways.

20 years agoApply patch from gzip web page to correctly decompress files larger than
tjr [Sun, 2 May 2004 02:54:37 +0000 (02:54 +0000)]
Apply patch from gzip web page to correctly decompress files larger than
4GB on architectures with 64-bit long integers.

20 years agoTeach rpcgen to generate .h files properly when the input filename contains
smkelly [Sun, 2 May 2004 01:55:23 +0000 (01:55 +0000)]
Teach rpcgen to generate .h files properly when the input filename contains
characters that can't be used in preprocessor macros.

PR: bin/66156
Submitted by: K S Braunsdorf <rpc@ksb.npcguild.org>

20 years agoA security issue: An archive containing a symlink to another
kientzle [Sun, 2 May 2004 00:43:02 +0000 (00:43 +0000)]
A security issue: An archive containing a symlink to another
directory, then a file with that symlink as a prefix can drop a file
outside of the current directory, which can be a security hole.

Plug this hole by refusing to extract files if a prefix of the
pathname is a symlink.  The -P option disables this check.

20 years agoInclude appropriate flag header on Linux.
kientzle [Sun, 2 May 2004 00:38:38 +0000 (00:38 +0000)]
Include appropriate flag header on Linux.

20 years agoRemove the bogus printing of the asr control device major number. Also
scottl [Sun, 2 May 2004 00:27:54 +0000 (00:27 +0000)]
Remove the bogus printing of the asr control device major number.  Also
rename the control device from rasr%d to asr%d.  This starts us down the
path of divorcing ourselves from a very bogus design in the management
apps.  Since the apps are open source now, they will likely be updated
and fixed before 5.3.

20 years agoStyle fixes, most suggested by bde.
kientzle [Sat, 1 May 2004 21:47:31 +0000 (21:47 +0000)]
Style fixes, most suggested by bde.

20 years agoReduce differences with cy_isa.c: fixed an unsorted include.
bde [Sat, 1 May 2004 18:43:00 +0000 (18:43 +0000)]
Reduce differences with cy_isa.c: fixed an unsorted include.

Remove unused includes.

20 years agoReduce differences with cy_pci.c: add a description of this file, and
bde [Sat, 1 May 2004 18:42:14 +0000 (18:42 +0000)]
Reduce differences with cy_pci.c: add a description of this file, and
don't use too many tabs in declarations.

Attempt to complete KNFization of this file (1 more indentation fix).

20 years agoBuild gpt(8) on all platforms, except sparc64. Currently gpt(8) is
marcel [Sat, 1 May 2004 18:17:23 +0000 (18:17 +0000)]
Build gpt(8) on all platforms, except sparc64. Currently gpt(8) is
not endian agnostic and thus will create big-endian GPTs on sparc64.
This we don't support. So, before gpt(8) can be used on a big-endian
machine, it has to deal with the endianness.

20 years agoAdd missing word
brueffer [Sat, 1 May 2004 18:11:20 +0000 (18:11 +0000)]
Add missing word

20 years agoAdjust pathnames for the move from i386/isa to dev/cy.
bde [Sat, 1 May 2004 18:09:16 +0000 (18:09 +0000)]
Adjust pathnames for the move from i386/isa to dev/cy.

Adjust staticness and a variable name for the split of cy.c into cy.c and
cy_isa.c.  Use the new header required for the split to avoid repeating
declarations in cy_pci.c.

20 years agoNew header for exporting declarations of things not closely related to
bde [Sat, 1 May 2004 17:44:03 +0000 (17:44 +0000)]
New header for exporting declarations of things not closely related to
hardware.  A couple of the declarations were misplaced in cy_pci.c, and
cy_isa.c needs a couple more.  The exported interfaces should be cleaner.

20 years agoRemoved bits related to isa configuration. These have been moved to
bde [Sat, 1 May 2004 17:21:07 +0000 (17:21 +0000)]
Removed bits related to isa configuration.  These have been moved to
cy_isa.c via a repo-copy of this file (except for some static declarations
which will become non-static in a new header).

20 years agoRemove bits not related to isa configuration. This file was repo-copied
bde [Sat, 1 May 2004 17:10:23 +0000 (17:10 +0000)]
Remove bits not related to isa configuration.  This file was repo-copied
from cy.c.

20 years ago- Remove obsolete examples.
nyan [Sat, 1 May 2004 06:53:38 +0000 (06:53 +0000)]
- Remove obsolete examples.
- Add a comment about meaning of flags.
- Disable unused defines.

20 years agoMerged from sys/dev/sio/sio.c revision 1.428.
nyan [Sat, 1 May 2004 06:46:10 +0000 (06:46 +0000)]
Merged from sys/dev/sio/sio.c revision 1.428.

20 years agoCorrectly test *Reply_Ptr in ASR_resetIOP(). Thanks to dhartmei for pointing
scottl [Sat, 1 May 2004 06:32:01 +0000 (06:32 +0000)]
Correctly test *Reply_Ptr in ASR_resetIOP().  Thanks to dhartmei for pointing
this out.

20 years agoRe-indent some silly sub-blocks in asr_attach().
scottl [Sat, 1 May 2004 06:12:58 +0000 (06:12 +0000)]
Re-indent some silly sub-blocks in asr_attach().

20 years agoRemove ASR_get_sc() and reference the softc in the dev_t. For some nefarious
scottl [Sat, 1 May 2004 05:56:57 +0000 (05:56 +0000)]
Remove ASR_get_sc() and reference the softc in the dev_t.  For some nefarious
reason, the I2O protocol requires knowledge of all I2O devices in the system,
so we can't get rid of the evil linked-list of softc's yet.

20 years agoRemove the DOMINO and MODE0 device attachments. They never did anything.
scottl [Sat, 1 May 2004 05:19:39 +0000 (05:19 +0000)]
Remove the DOMINO and MODE0 device attachments.  They never did anything.
Remove a bunch of obfuscating macros.

20 years agoVerify the MADT checksum before using the table.
marcel [Sat, 1 May 2004 04:08:14 +0000 (04:08 +0000)]
Verify the MADT checksum before using the table.

Submitted by: njl

20 years agoFix m4 to properly handle bitwise operators &, ^, and |. Fix operator
smkelly [Sat, 1 May 2004 03:59:43 +0000 (03:59 +0000)]
Fix m4 to properly handle bitwise operators &, ^, and |. Fix operator
precedence. Add short-circuit evaluation.

PR: bin/60914
Reviewed by: petef
Discussed with: jeff, petef