Commit Graph

33411 Commits

Author SHA1 Message Date
jkoshy
21397f225b Man page for aio_read(2).
Submitted by:	Terry Lambert <terry@whistle.com> on the -doc lists.
1998-11-19 04:07:55 +00:00
jdp
329882149c Null commit to log that I have repository copied this file from
"src/usr.bin/login/klogin.c" in order to preserve its revision
history.
1998-11-19 01:23:13 +00:00
dfr
9f7909382f Fix things so that pci interrupts can be registered correctly on apecs
and lca machines (which route PCI interrupts through the ISA PIC).

Reviewed by: dima
1998-11-18 23:53:12 +00:00
dfr
1f39219456 Add sc_traparg_a0, sc_traparg_a1 and sc_traparg_a2 to the sigcontext
structure for the alpha.  These give extra information about some
signals (such as SIGSEGV) and should be compatible with Digital Unix.

Submitted by: jdp
1998-11-18 23:51:40 +00:00
dima
e273b92b8a Remove -U__NetBSD__ 1998-11-18 23:51:17 +00:00
wpaul
3a08ea4443 Mention in the man page that the Accton 1207D adapter is supported. 1998-11-18 21:05:11 +00:00
wpaul
54aac2ad06 The Accton 1207D adapter uses a chip called the MXP 5030 (or 5038)
which is either a RealTek 8139 in disguise or a RealTek workalike.
This commit fixes the PCI vendor/device ID for this device
and updates the description string to reflect the actual identity
of the device.

I also changed the transmit encapsulation routine to always to
buffer copies on transmit. We end up doing this 99% of the time
anyway. I also tweaked the code that pads packets out to the minimum
length (60) bytes. I was fixing up the m_pkthdr.len value but not
m_len. I don't think this makes that much difference in the grand
scheme of things, but it makes me feel better.
1998-11-18 21:03:58 +00:00
jdp
6b5166470b Null commit to log that I put on my Repository Manager hat and
fixed these files.  I had initially imported them onto the vendor
branch along with the other sources.  As David O'Brien pointed out,
that's not proper procedure.  They should have been added post-import
with "cvs add".  All fixed now.
1998-11-18 18:14:53 +00:00
wpaul
82ea4e0093 Fix a minor bug in xl_attach() where the list buffer region is rounded
to a longword boundary.

Noticed by: Jason Wright <jason@thought.net>
1998-11-18 16:46:53 +00:00
bde
7245195d50 Don't use mmap() for non-regular files, since st_size is only meaningful
for regular files.  This fixes recent breakage of cp'ing from /dev/zero.
/dev/zero doesn't support mmap(), but the device driver mmap routines are
not called for mapping 0 bytes, so the error was not detected.  mmap()
can't even be used for cp'ing special files that support mmap(), since
there is general way to determine the file size.
1998-11-18 11:47:45 +00:00
dg
49c70081f0 Closed a very narrow and rare race condition that involved net interrupts,
bio interrupts, and a truncated file that along with the precise alignment
of the planets could result in a page being freed multiple times or a
just-freed page being put onto the inactive queue.
1998-11-18 09:00:47 +00:00
kato
51add06fa2 Fix ROOL UP/DOWN keys of PC-98. 1998-11-18 08:33:58 +00:00
jkoshy
b7e88a75d3 Updated gencat(1) page from T. Lambert:
"Here is a new gencat(1) man page.  It contains examples
  and information not in the current man page (e.g., file
  format) per the X/Open documentation.  It also updates some
  aspects of the X/Open documentation (e.g., the X/Open
  document neglects to say how to embed a $quote character
  into a string)."

Submitted by: Terry Lambert <tlambert@primenet.com>
Review and small corrections by:	jkoshy
1998-11-18 04:30:53 +00:00
jdp
7ea189bd73 Enable the building of libpam. Move libradius and libtacplus up in
the list, because they are prerequisites for libpam.
1998-11-18 02:02:27 +00:00
jdp
c20f2a7f07 Add libpam to the "includes" and "libraries" targets.
Build the ordered list of libraries in a variable "_libs" before
building any of them.  This eliminates a little bit of duplicated
code.  More importantly, it makes it easier to include or exclude
libraries with .if constructs, because the list can be built in
multiple steps using "+=".
1998-11-18 01:59:39 +00:00
jdp
2bd4e81418 Add LIBPAM, LIBRADIUS, and LIBTACPLUS. 1998-11-18 01:53:56 +00:00
jdp
9f6cf78bd2 Add the directory "/usr/include/security", which is where the PAM
header files go.  I am not too happy about the name.  But if we are
to have any hope of being able to use 3rd party PAM modules, we'll
have to live with it.
1998-11-18 01:51:25 +00:00
jdp
64c0c85882 This commit was generated by cvs2svn to compensate for changes in r41227,
which included commits to RCS files with non-trunk default branches.
1998-11-18 01:44:37 +00:00
jdp
491eceb57d Build structure for contribified Linux-PAM, plus some home-grown
modules for FreeBSD's standard authentication methods.  Although
the Linux-PAM modules are present in the contrib tree, we don't
use any of them.

The main library "libpam" is composed of sources taken from three
places.  First are the standard Linux-PAM libpam sources from the
contrib tree.  Second are the Linux-PAM "libpam_misc" sources, also
from the contrib tree.  In Linux these form a separate library.
But as Mike Smith pointed out to me, that seems pointless, so I
have combined them into the libpam library.  Third are some additional
sources from the "src/lib/libpam" tree with some common functions
that make it easier to write modules.  Those I wrote myself.

This work has been donated to FreeBSD by Juniper Networks, Inc.
1998-11-18 01:44:37 +00:00
jdp
6cec28d59d Build structure for contribified Linux-PAM, plus some home-grown
modules for FreeBSD's standard authentication methods.  Although
the Linux-PAM modules are present in the contrib tree, we don't
use any of them.

The main library "libpam" is composed of sources taken from three
places.  First are the standard Linux-PAM libpam sources from the
contrib tree.  Second are the Linux-PAM "libpam_misc" sources, also
from the contrib tree.  In Linux these form a separate library.
But as Mike Smith pointed out to me, that seems pointless, so I
have combined them into the libpam library.  Third are some additional
sources from the "src/lib/libpam" tree with some common functions
that make it easier to write modules.  Those I wrote myself.

This work has been donated to FreeBSD by Juniper Networks, Inc.
1998-11-18 01:44:37 +00:00
jdp
c013db748d Eliminate a setreuid() call that doesn't make sense for FreeBSD.
We don't use this module, but still I don't want to leave this call
in the code.
1998-11-18 01:24:34 +00:00
jdp
4e010fce4a Fix #includes for FreeBSD. 1998-11-18 01:22:46 +00:00
jdp
dd7dc0fdc0 Don't call openlog() and closelog(). Assume that the application
takes care of that.
1998-11-18 01:21:46 +00:00
jdp
0c49046b10 s/Linux-PAM/PAM/g 1998-11-18 01:20:54 +00:00
jdp
b0d9083974 This commit was generated by cvs2svn to compensate for changes in r41220,
which included commits to RCS files with non-trunk default branches.
1998-11-18 01:16:21 +00:00
jdp
f06b122f95 Initial import of virgin Linux-PAM 0.65, slightly stripped down. 1998-11-18 01:16:21 +00:00
jdp
12da5f7b62 Initial revision 1998-11-18 01:16:19 +00:00
jdp
e3bb43349d For ELF, create a symbolic link libfoo.so -> libfoo.so.NNN in the
object tree too.  This makes it possible to link against a shared
library that hasn't been installed yet.
1998-11-18 00:48:11 +00:00
jdp
3a0b04df61 Note the requirement that libcrypt be built before libkrb. 1998-11-18 00:40:38 +00:00
jdp
65c899b69a Add an explicit dependency on libcrypt so that shared library
linkage works properly.
1998-11-18 00:40:07 +00:00
dfr
f708c75268 Remove stale references to ih_next and ih_prev.
Pointed out by: Roman V. Palagin <romanp@wuppy.rcs.ru>
1998-11-17 10:53:37 +00:00
dfr
84b0509c73 Definitions for alpha specific device resources. 1998-11-17 10:40:33 +00:00
dfr
d8a414fc5f Definitions for alpha specific system calls. 1998-11-17 10:40:07 +00:00
mckusick
fd6ccf5035 Because buffers may be tossed and recreated at will under the new VM
system, the mapping from logical to physical block number may be lost.
Hence we have to check for a reconstituted buffer and redo the call to
VOP_BMAP if the physical block number has been lost.
1998-11-17 00:31:12 +00:00
jmz
e7a2085876 Add an emply MAIN__() function. This avoid an unresolved reference error
during link phase when using fortran subroutines with non-fortran 'main()'.
1998-11-16 23:51:14 +00:00
rvb
2038a9a98f A few bug fixes for Robert Watson 1998-11-16 19:48:26 +00:00
dfr
553da9a3e6 Make the previous fix more portable.
Requested by: bde
1998-11-16 08:27:36 +00:00
kato
d5419c2442 Sync with sys/i386/isa/wd.c revision up to 1.180. 1998-11-16 08:13:54 +00:00
kato
d89d7d27eb Sync with sys/i386/conf/options.i386 revision 1.92. 1998-11-16 08:11:58 +00:00
kato
8850df9323 Sync with sys/i386/conf/Makefile.i386 revision 1.129. 1998-11-16 08:09:16 +00:00
nectar
e3e1fdde8e vmunix -> kernel
PR:		port/8543
Submitted by:	jkb@best.com
1998-11-16 04:25:03 +00:00
nectar
625cbb887e Update to reflect reality.
PR:		kern/8629
1998-11-16 03:49:39 +00:00
jkh
f7e4bb6676 put hosts before bind. 1998-11-16 02:02:30 +00:00
ken
b81d4c2937 Update tcopy for CAM. (/dev/rst0 -> /dev/rsa0)
PR:		i386/8688
Submitted by:	Bill Trost <trost@cloud.rain.com>
1998-11-16 00:05:46 +00:00
ken
d699f76170 Now that the wd driver is fixed (Thanks Bruce!), re-enable the
devstat_end_transaction error message that gets printed whenever the
busy count is < 0.

This will help catch drivers that improperly implement devstat(9) support.
1998-11-15 23:57:22 +00:00
abial
dd8b1782f0 Update ssh version number. It's only informational, anyway.
Submitted by:	jkh
1998-11-15 23:30:26 +00:00
abial
0597dc0b09 Use console instead of ttyv0 - it didn't work with serial console... 1998-11-15 23:26:32 +00:00
ken
cfb6263797 Use snprintf to make sure we don't overflow a buffer. 1998-11-15 23:17:39 +00:00
ken
0369f54b05 Fix an error message. (it was using an uninitialized variable)
Reported by:	dan@math.berkeley.edu (Dan Strick)
1998-11-15 23:12:42 +00:00
guido
b5d8fc6f45 The below patch helps to reduce the leakage of internal socket information
when a TCP "stealth" scan is directed at a *BSD box by ensuring the window
is 0 for all RST packets generated through tcp_respond()
Reviewed by:	Don Lewis <Don.Lewis@tsc.tdk.com>
Obtained from:	Bugtraq (from: Darren Reed <avalon@COOMBS.ANU.EDU.AU>)
1998-11-15 21:35:09 +00:00