dragonfly.git
18 years agoInitialize a few more timers.
Eirik Nygaard [Fri, 15 Jul 2005 15:46:55 +0000 (15:46 +0000)]
Initialize a few more timers.

18 years agoProperly handle mbuf copying on DragonFly when we try to reduce the size of a
Eirik Nygaard [Fri, 15 Jul 2005 15:43:55 +0000 (15:43 +0000)]
Properly handle mbuf copying on DragonFly when we try to reduce the size of a
mbuf.

18 years agoRemove the second argument to ip_stripoptions(), it was never used.
Eirik Nygaard [Fri, 15 Jul 2005 15:39:48 +0000 (15:39 +0000)]
Remove the second argument to ip_stripoptions(), it was never used.

18 years agoAdd va_arg handling for DragonFly.
Eirik Nygaard [Fri, 15 Jul 2005 15:37:37 +0000 (15:37 +0000)]
Add va_arg handling for DragonFly.

18 years agoWe have to declare the parent node for a sysctl.
Eirik Nygaard [Fri, 15 Jul 2005 15:34:03 +0000 (15:34 +0000)]
We have to declare the parent node for a sysctl.

18 years agoOur mbuf allocation flags are prefixed with MB_ not M_.
Eirik Nygaard [Fri, 15 Jul 2005 15:15:27 +0000 (15:15 +0000)]
Our mbuf allocation flags are prefixed with MB_ not M_.

18 years agoAdd DragonFly to the #ifdef mess.
Eirik Nygaard [Fri, 15 Jul 2005 15:02:02 +0000 (15:02 +0000)]
Add DragonFly to the #ifdef mess.

I will probably remove support for the other platforms at a later date.

18 years agoCommit untouched SCTP files from KAME originally written by Randall Stewart.
Eirik Nygaard [Fri, 15 Jul 2005 14:46:17 +0000 (14:46 +0000)]
Commit untouched SCTP files from KAME originally written by Randall Stewart.

SCTP or Stream Control Transmission Protocol is designed so you can have
multiple streams within the same connection.

Obtained from: KAME

18 years agoRemove note about MDA and CGA adapters which we don't support anymore.
Sascha Wildner [Thu, 14 Jul 2005 20:44:32 +0000 (20:44 +0000)]
Remove note about MDA and CGA adapters which we don't support anymore.

The references to EGA modes are left in for the moment because VGA also
knows them.

Noticed by: cpressey

18 years agoSwitch to auth-pam.c from OpenSSH to unbreak Kerberos 5 build.
Joerg Sonnenberger [Thu, 14 Jul 2005 18:29:48 +0000 (18:29 +0000)]
Switch to auth-pam.c from OpenSSH to unbreak Kerberos 5 build.
Fix the bug which prevented one process from seeing the death
of the other. This allows us to remove the pthread hack.

18 years agoInstead of duplicating the Kerberos tools, use a single version.
Joerg Sonnenberger [Thu, 14 Jul 2005 18:02:33 +0000 (18:02 +0000)]
Instead of duplicating the Kerberos tools, use a single version.
Switch to host tools, since they are running on the build system,
not the target platform. Add an explicit dependency of buildincludes
to depend in kerberos5/tools to ensure that the tools are available
in phase 4a.

18 years agopam_skey is not supported anymore, remove it from the default config.
Joerg Sonnenberger [Thu, 14 Jul 2005 16:40:43 +0000 (16:40 +0000)]
pam_skey is not supported anymore, remove it from the default config.

18 years agoMODULE_DIR must include the final '/'.
Joerg Sonnenberger [Thu, 14 Jul 2005 14:21:16 +0000 (14:21 +0000)]
MODULE_DIR must include the final '/'.

18 years agoMerge from vendor branch OPENSSH:
Joerg Sonnenberger [Thu, 14 Jul 2005 13:10:21 +0000 (13:10 +0000)]
Merge from vendor branch OPENSSH:
Prepare for using the "official" PAM support.

18 years agoPrepare for using the "official" PAM support.
Joerg Sonnenberger [Thu, 14 Jul 2005 13:10:21 +0000 (13:10 +0000)]
Prepare for using the "official" PAM support.

18 years agoPrepare for using the "official" PAM support.
Joerg Sonnenberger [Thu, 14 Jul 2005 13:10:21 +0000 (13:10 +0000)]
Prepare for using the "official" PAM support.

18 years agoCorrect a typo, v_rbdirty_tree is for dirty buffers.
Hiten Pandya [Thu, 14 Jul 2005 12:38:46 +0000 (12:38 +0000)]
Correct a typo, v_rbdirty_tree is for dirty buffers.

18 years agofix typo, SRCS should contain the .c file.
Joerg Sonnenberger [Thu, 14 Jul 2005 12:30:14 +0000 (12:30 +0000)]
fix typo, SRCS should contain the .c file.

18 years agoFrom FreeBSD:
Simon Schubert [Thu, 14 Jul 2005 09:13:27 +0000 (09:13 +0000)]
From FreeBSD:
  Better memory handling:

   - It is acceptable to call free(3) when the given pointer itself
     is NULL, so we do not need to determine NULL before passing
     a pointer to free(3)
   - Handle failure of malloc(3)

  MT6/5 Candidate

  Submitted by:   Dan Lukes <dan at obluda cz>

Submitted-by: Xin LI <delphij delphij net>
18 years agoUnbreak release build from older machines which don't define ${LN} yet.
Simon Schubert [Thu, 14 Jul 2005 07:35:52 +0000 (07:35 +0000)]
Unbreak release build from older machines which don't define ${LN} yet.
This is much easier than adding LN?= to -Release and getting people to
upgrade first...

18 years agoPAM is dead, long live PAM!
Joerg Sonnenberger [Wed, 13 Jul 2005 22:04:06 +0000 (22:04 +0000)]
PAM is dead, long live PAM!

18 years agoRemove extra whitespace at the end of some lines.
Sascha Wildner [Wed, 13 Jul 2005 21:08:07 +0000 (21:08 +0000)]
Remove extra whitespace at the end of some lines.

18 years agoUpdate zoneinfo database.
Sascha Wildner [Wed, 13 Jul 2005 21:03:03 +0000 (21:03 +0000)]
Update zoneinfo database.

africa: 7.36 -> 7.37
antarctica: 7.23 -> 7.24
asia: 7.75 -> 7.82
australasia: 7.69 -> 7.71
backward: 7.26 -> 7.27
etcetera: 7.11 -> 7.12
europe: 7.88 -> 7.92
northamerica: 7.69 -> 7.74
southamerica: 7.52 -> 7.59

18 years agoReturn child exit status through ProcStuff.
Max Okumoto [Wed, 13 Jul 2005 20:41:43 +0000 (20:41 +0000)]
Return child exit status through ProcStuff.

18 years agoAdd better comments and renamed functions to match rest of the code
Max Okumoto [Wed, 13 Jul 2005 20:41:27 +0000 (20:41 +0000)]
Add better comments and renamed functions to match rest of the code
in make.

18 years agocleanup some spelling errors
Max Okumoto [Wed, 13 Jul 2005 20:41:11 +0000 (20:41 +0000)]
cleanup some spelling errors

18 years agoMove mkfifio(), and FILENO() into util.c
Max Okumoto [Wed, 13 Jul 2005 20:40:52 +0000 (20:40 +0000)]
Move mkfifio(), and FILENO() into util.c

18 years agoMove common code that executes the comands associated with a rule
Max Okumoto [Wed, 13 Jul 2005 20:40:30 +0000 (20:40 +0000)]
Move common code that executes the comands associated with a rule
in into Compat_RunCmds().

18 years agoGroup curdir and objdir code.
Max Okumoto [Wed, 13 Jul 2005 20:39:59 +0000 (20:39 +0000)]
Group curdir and objdir code.

18 years agoAdd PF_MASKOS and PF_MASKPROC and realign the comment section.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 19:40:58 +0000 (19:40 +0000)]
Add PF_MASKOS and PF_MASKPROC and realign the comment section.

18 years agoAdd STB_LOOS, STB_HIOS, STT_COMMON, STT_LOOS, STT_HIOS, STV_DEFAULT,
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 19:37:09 +0000 (19:37 +0000)]
Add STB_LOOS, STB_HIOS, STT_COMMON, STT_LOOS, STT_HIOS, STV_DEFAULT,
STV_INTERNAL, STV_HIDDEN, and STV_PROTECTED.

STV_* concerns symbol visibility.

18 years agoAdd section group flags (GRP_*).
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 19:11:52 +0000 (19:11 +0000)]
Add section group flags (GRP_*).

18 years agoAdd SHF_MERGE, SHF_STRINGS, SHF_INFO_LINK, SHF_LINK_ORDER,
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 19:07:05 +0000 (19:07 +0000)]
Add SHF_MERGE, SHF_STRINGS, SHF_INFO_LINK, SHF_LINK_ORDER,
SHF_OS_NONCONFORMING, SHF_GROUP, and SHF_MASKOS.

18 years agoAdd SHT_INIT_ARRAY, SHT_FINI_ARRAY, SHT_PREINIT_ARRAY, SHT_GROUP and
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:46:31 +0000 (18:46 +0000)]
Add SHT_INIT_ARRAY, SHT_FINI_ARRAY, SHT_PREINIT_ARRAY, SHT_GROUP and
SHT_SYMTAB_SHNDX.

18 years agoAdd SHN_LOOS, SHN_HIOS and SHN_XINDEX.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:40:34 +0000 (18:40 +0000)]
Add SHN_LOOS, SHN_HIOS and SHN_XINDEX.

18 years agoAdd ELFOSABI for OpenVMS, HP Non-Stop Kernel, and Amiga Research OS.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:36:24 +0000 (18:36 +0000)]
Add ELFOSABI for OpenVMS, HP Non-Stop Kernel, and Amiga Research OS.

18 years agoRetire EM_486.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:33:50 +0000 (18:33 +0000)]
Retire EM_486.
It was never used anyway, EM_386 is the value used for 80386 and higher.

18 years agoDemarcate e_machine reserved ranges.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:27:08 +0000 (18:27 +0000)]
Demarcate e_machine reserved ranges.

18 years agoEM_ALPHA has been assigned number 41 nowadays, reflect this fact.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:16:14 +0000 (18:16 +0000)]
EM_ALPHA has been assigned number 41 nowadays, reflect this fact.

18 years agoExpand e_machine per ELF ABI of Dec 2003.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:13:19 +0000 (18:13 +0000)]
Expand e_machine per ELF ABI of Dec 2003.

18 years agoSeriously expand e_machine.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 18:06:21 +0000 (18:06 +0000)]
Seriously expand e_machine.

18 years agoCall bus_setup_intr in xe_attach, not xe_activate. This prevents
Joerg Sonnenberger [Wed, 13 Jul 2005 17:46:05 +0000 (17:46 +0000)]
Call bus_setup_intr in xe_attach, not xe_activate. This prevents
race conditions and avoids calling ether_detach without first calling
ether_attach.
Call bus_teardown_intr in xe_detach, not xe_deactivate. This is
symmetrical to the attach path. Use a critical section in xe_detach
to protect against concurrent interrupts.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
18 years agoExpand e_type with OS and processor-specific ranges.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 17:45:15 +0000 (17:45 +0000)]
Expand e_type with OS and processor-specific ranges.

18 years agoAdd SHF_TLS and STT_TLS to complete the ELF ABI for TLS.
Jeroen Ruigrok/asmodai [Wed, 13 Jul 2005 17:40:35 +0000 (17:40 +0000)]
Add SHF_TLS and STT_TLS to complete the ELF ABI for TLS.

OK'd by: joerg

18 years agoMove PCCARD attachment into separate file. Use the NEWCARD helper
Joerg Sonnenberger [Wed, 13 Jul 2005 17:31:05 +0000 (17:31 +0000)]
Move PCCARD attachment into separate file. Use the NEWCARD helper
functions for accessing the CIS instead of doing it manually.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD

18 years agoUse if_printf most of the time and remove the device_t stored in softc.
Joerg Sonnenberger [Wed, 13 Jul 2005 17:10:25 +0000 (17:10 +0000)]
Use if_printf most of the time and remove the device_t stored in softc.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
18 years agoUse ether_crc32_be.
Joerg Sonnenberger [Wed, 13 Jul 2005 17:03:00 +0000 (17:03 +0000)]
Use ether_crc32_be.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD

18 years agoChange to common PCI probe style.
Joerg Sonnenberger [Wed, 13 Jul 2005 17:01:31 +0000 (17:01 +0000)]
Change to common PCI probe style.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
18 years agoRemove unused junk.
Joerg Sonnenberger [Wed, 13 Jul 2005 17:00:34 +0000 (17:00 +0000)]
Remove unused junk.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
18 years agoPrepare for moving from /etc/pam.conf to /etc/pam.d.
Joerg Sonnenberger [Wed, 13 Jul 2005 16:30:23 +0000 (16:30 +0000)]
Prepare for moving from /etc/pam.conf to /etc/pam.d.

18 years agoFor now just use lwkt_gettoken() rather then a trytoken/gettoken combination.
Matthew Dillon [Wed, 13 Jul 2005 16:06:04 +0000 (16:06 +0000)]
For now just use lwkt_gettoken() rather then a trytoken/gettoken combination.
This is as part of an attempt to debug a potential issue with the objcache.

18 years agoCheck for a free-after-send case and panic if detected.
Matthew Dillon [Wed, 13 Jul 2005 16:04:00 +0000 (16:04 +0000)]
Check for a free-after-send case and panic if detected.

18 years agoDon't expand CCVER when testing for its definition.
Simon Schubert [Wed, 13 Jul 2005 15:26:21 +0000 (15:26 +0000)]
Don't expand CCVER when testing for its definition.

18 years agoUse src/share/mk to get a current sys.mk which defines LN.
Simon Schubert [Wed, 13 Jul 2005 15:25:32 +0000 (15:25 +0000)]
Use src/share/mk to get a current sys.mk which defines LN.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
Reminded-again-by: drhodus
18 years agoA lot of software depends on netinet/in.h being self-contained,
Joerg Sonnenberger [Wed, 13 Jul 2005 14:11:42 +0000 (14:11 +0000)]
A lot of software depends on netinet/in.h being self-contained,
so include sys/types.h for now. The namespace pollution is effectively
needed anyway.

MFC after 3 days.

18 years agoDefine struct in_addr in both, arpa/inet.h and netinet/in.h,
Joerg Sonnenberger [Wed, 13 Jul 2005 12:49:56 +0000 (12:49 +0000)]
Define struct in_addr in both, arpa/inet.h and netinet/in.h,
as required by SUS.

MFC after 3 days.

18 years agoSwitch to OpenPAM. The PAM modules are now installed in /usr/lib/security
Joerg Sonnenberger [Wed, 13 Jul 2005 12:34:22 +0000 (12:34 +0000)]
Switch to OpenPAM. The PAM modules are now installed in /usr/lib/security
and versioned, programs using LinuxPAM continue to work for that reason.

18 years agoAdd journaling restart support, required to produce a robust journaling
Matthew Dillon [Wed, 13 Jul 2005 02:00:19 +0000 (02:00 +0000)]
Add journaling restart support, required to produce a robust journaling
environment.  If a journal is writing to one stream and the stream breaks
or dies or otherwise fails, this feature gives us the ability to restart the
journaling stream on a new descriptor without losing any data.  The
journaling restart code does a shutdown() of the old descriptor, waits for
both directions to cease operation, installs a new stream descriptor,
and resets the FIFO index to the last acknowledged offset.

This can be demonstrated by opening two windows.  In the first window do:

    mountctl -a2 /usr:test | jscan -d2 stdin

Mess around a bit on /usr.  Then in the second window do:

    mountctl -r2 /usr:test | jscan -d2 stdin

The first jscan will terminate and the new jscan will pick up the stream.

18 years agoMake shutdown() a fileops operation rather then a socket operation.
Matthew Dillon [Wed, 13 Jul 2005 01:38:54 +0000 (01:38 +0000)]
Make shutdown() a fileops operation rather then a socket operation.
Pipes are full-duplex entities, so implement shutdown support for them.

18 years agoHook up remaining PAM modules. Don't use DPADD for now, it's conflicting
Joerg Sonnenberger [Tue, 12 Jul 2005 23:30:24 +0000 (23:30 +0000)]
Hook up remaining PAM modules. Don't use DPADD for now, it's conflicting
with the LIBDIR setting for the target location.

18 years agoImport current pam_ssh from FreeBSD HEAD.
Joerg Sonnenberger [Tue, 12 Jul 2005 23:26:49 +0000 (23:26 +0000)]
Import current pam_ssh from FreeBSD HEAD.

18 years agoImport current pam_radius from FreeBSD HEAD.
Joerg Sonnenberger [Tue, 12 Jul 2005 23:13:26 +0000 (23:13 +0000)]
Import current pam_radius from FreeBSD HEAD.

18 years agoImport current pam_opieaccess from FreeBSD HEAD.
Joerg Sonnenberger [Tue, 12 Jul 2005 23:08:53 +0000 (23:08 +0000)]
Import current pam_opieaccess from FreeBSD HEAD.

18 years agoImport current pam_krb5 from FreeBSD HEAD.
Joerg Sonnenberger [Tue, 12 Jul 2005 23:04:02 +0000 (23:04 +0000)]
Import current pam_krb5 from FreeBSD HEAD.

18 years agoDPADD is currently broken since LIBDIR != /usr/lib.
Joerg Sonnenberger [Tue, 12 Jul 2005 22:55:46 +0000 (22:55 +0000)]
DPADD is currently broken since LIBDIR != /usr/lib.
Stop using WARNS_NO_UNUSED_PARAMETERS here, fix it instead.

18 years agoImport current pam_opie(8) from FreeBSD HEAD.
Joerg Sonnenberger [Tue, 12 Jul 2005 22:53:20 +0000 (22:53 +0000)]
Import current pam_opie(8) from FreeBSD HEAD.

18 years agoAlso install the pam_tacplus(8) man page.
Joerg Sonnenberger [Tue, 12 Jul 2005 22:45:38 +0000 (22:45 +0000)]
Also install the pam_tacplus(8) man page.

18 years agoImport current pam_tacplus from FreeBSD HEAD.
Joerg Sonnenberger [Tue, 12 Jul 2005 22:34:55 +0000 (22:34 +0000)]
Import current pam_tacplus from FreeBSD HEAD.

18 years agoRemove files I just imported.
Simon Schubert [Tue, 12 Jul 2005 02:25:45 +0000 (02:25 +0000)]
Remove files I just imported.

18 years agoAdd files that slipped through. Weird, I thought I double checked
Simon Schubert [Tue, 12 Jul 2005 02:24:53 +0000 (02:24 +0000)]
Add files that slipped through. Weird, I thought I double checked
everything...

Reported-by: drhodus
18 years agoMerge from vendor branch OPENSSH:
Simon Schubert [Tue, 12 Jul 2005 02:24:53 +0000 (02:24 +0000)]
Merge from vendor branch OPENSSH:
Add files that slipped through. Weird, I thought I double checked
everything...

Reported-by: drhodus
18 years agoSwitch to OpenSSH-4.1p1.
Simon Schubert [Mon, 11 Jul 2005 22:49:46 +0000 (22:49 +0000)]
Switch to OpenSSH-4.1p1.

18 years agoAdd our READMEs.
Simon Schubert [Mon, 11 Jul 2005 22:47:40 +0000 (22:47 +0000)]
Add our READMEs.

18 years agoWelcome a trimmed version of OpenSSH-4.1p1 in the tree.
Simon Schubert [Mon, 11 Jul 2005 22:44:24 +0000 (22:44 +0000)]
Welcome a trimmed version of OpenSSH-4.1p1 in the tree.

18 years agoMerge from vendor branch OPENSSH:
Simon Schubert [Mon, 11 Jul 2005 22:44:24 +0000 (22:44 +0000)]
Merge from vendor branch OPENSSH:
Welcome a trimmed version of OpenSSH-4.1p1 in the tree.

18 years agoRevert part of the ALTQ conversion. It unintenionally removed code which
Joerg Sonnenberger [Sun, 10 Jul 2005 15:17:00 +0000 (15:17 +0000)]
Revert part of the ALTQ conversion. It unintenionally removed code which
is actually needed to wakeup the processing.

Reported-by: Dirk Liebke <dliebke-dfly@yahoo.de>
18 years agovesa.c:
Sascha Wildner [Sun, 10 Jul 2005 13:06:18 +0000 (13:06 +0000)]
vesa.c:

Add a missing bcopy() to make saving the VESA state actually work.
Also save the DAC state, increase the maximum save state size up to
12k, and refuse to save the VESA state if the BIOS reports it is
larger than the maximum size we can handle.

vgareg.h & vga_isa.c:

Save and restore the VGA state across a suspend-resume cycle. This is
particularly useful when VESA is available (either 'options VESA' or
load the vesa module), as BIOSes in some notebooks may correctly save
and restore LCD panel settings using VESA in cases where calling the
video BIOS POST is not effective. On some systems it may also be
necessary to set the hw.acpi.reset_video sysctl to 0.

Obtained from: FreeBSD

18 years agoReally get the libz fix into libstand as well.
Simon Schubert [Sun, 10 Jul 2005 09:40:35 +0000 (09:40 +0000)]
Really get the libz fix into libstand as well.

Reported-by: swildner
18 years agoRemove directory prefix, it's stored in the Makefile.
Simon Schubert [Sun, 10 Jul 2005 09:19:48 +0000 (09:19 +0000)]
Remove directory prefix, it's stored in the Makefile.

18 years agoRefactor the code to use bsd.files.mk, it's a considerable amount
Simon Schubert [Sun, 10 Jul 2005 09:18:12 +0000 (09:18 +0000)]
Refactor the code to use bsd.files.mk, it's a considerable amount
cleaner.

18 years agoUse M_ZERO instead of explicit bzero()s.
Sascha Wildner [Sun, 10 Jul 2005 00:52:24 +0000 (00:52 +0000)]
Use M_ZERO instead of explicit bzero()s.

18 years agoRemove files that were used only for the DEC Alpha architecture.
Sascha Wildner [Sun, 10 Jul 2005 00:09:26 +0000 (00:09 +0000)]
Remove files that were used only for the DEC Alpha architecture.

18 years ago* Remove unneeded <sys/proc.h>
Sascha Wildner [Sat, 9 Jul 2005 22:39:58 +0000 (22:39 +0000)]
* Remove unneeded <sys/proc.h>

* Correct a potential panic condition that could be caused when getting or
  setting the VGA palette.

* Add a free() to fix a rare memory leak (if vga_save_palette2() was not
  successful).

* Check copyin() return values.

* Minor style cleanup.

Obtained from: FreeBSD

18 years agoFix typo: netgarph -> netgraph.
Sascha Wildner [Sat, 9 Jul 2005 21:58:10 +0000 (21:58 +0000)]
Fix typo: netgarph -> netgraph.

18 years agoCatch up with Perl version.
Joerg Sonnenberger [Sat, 9 Jul 2005 20:51:04 +0000 (20:51 +0000)]
Catch up with Perl version.

Submitted-by: Andreas Hauser
18 years agoMake us bootstrap on FreeBSD-6.x. Joerg seemed to fix it before, but
Simon Schubert [Sat, 9 Jul 2005 11:05:10 +0000 (11:05 +0000)]
Make us bootstrap on FreeBSD-6.x. Joerg seemed to fix it before, but
only make got -DBOOTSTRAPPING passed, not CFLAGS.

Reported-by: Robert Sebastian Gerus <arachnist@gmail.com>
18 years agoAdd missing m_freem() in BPF if the mbuf exceeds the interface mtu.
Matthew Dillon [Fri, 8 Jul 2005 18:19:39 +0000 (18:19 +0000)]
Add missing m_freem() in BPF if the mbuf exceeds the interface mtu.

Reported-by: Guy Harris <guy@alum.mit.edu>
18 years agoBuild the PAM modules under lib/pam_module, since they are not
Joerg Sonnenberger [Fri, 8 Jul 2005 15:42:01 +0000 (15:42 +0000)]
Build the PAM modules under lib/pam_module, since they are not
directly related to libpam, other than using it. Use versioned
module names and install them under /usr/lib/security.

Copy pam_cleartext_pass_ok.c from
lib/libpam/modules/pam_cleartext_pass_ok.

18 years agoAdd /usr/lib/security, to be used for PAM modules.
Joerg Sonnenberger [Fri, 8 Jul 2005 15:38:54 +0000 (15:38 +0000)]
Add /usr/lib/security, to be used for PAM modules.

18 years agoMerge from vendor branch OPENPAM:
Joerg Sonnenberger [Fri, 8 Jul 2005 14:39:04 +0000 (14:39 +0000)]
Merge from vendor branch OPENPAM:
Import OpenPAM Figwort.

18 years agoImport OpenPAM Figwort.
Joerg Sonnenberger [Fri, 8 Jul 2005 14:39:04 +0000 (14:39 +0000)]
Import OpenPAM Figwort.

18 years agoAllow radio and statistic dump to use arbitrary interface names.
Joerg Sonnenberger [Fri, 8 Jul 2005 13:17:33 +0000 (13:17 +0000)]
Allow radio and statistic dump to use arbitrary interface names.

Based-on-patch-from: Andreas Hauser

18 years agoAllow disabling of unused parameter warnings. This is handy for third
Joerg Sonnenberger [Fri, 8 Jul 2005 13:05:53 +0000 (13:05 +0000)]
Allow disabling of unused parameter warnings. This is handy for third
party programs, where we are still interested in fixing "real" warnings,
but not interface-bogusness.

18 years agoAlso pull up cat dirs to en_US.ISO8859-1
Simon Schubert [Fri, 8 Jul 2005 08:09:40 +0000 (08:09 +0000)]
Also pull up cat dirs to en_US.ISO8859-1

18 years agoNew openssl installs manual sections 5 and 7, populate the directories
YONETANI Tomokazu [Fri, 8 Jul 2005 03:20:24 +0000 (03:20 +0000)]
New openssl installs manual sections 5 and 7, populate the directories
to fix installworld.

18 years agoAdd counters for recording Token/MPlock contention, this would help in
Hiten Pandya [Thu, 7 Jul 2005 20:28:26 +0000 (20:28 +0000)]
Add counters for recording Token/MPlock contention, this would help in
determining the number of times contention has occured in the system.

The contention counters have been made 64-bit quantities because they
are situated within a tight-loop.

KTR tracepoints have been added for marking start and stop of a token's
contention.  New field tr_flags added to struct lwkt_tokref.  By adding
tracepoints in lwkt_chktokens(9),  it gives us interesting data on MP
machines when it indirectly sends a passive IPI to the remote CPU for
gaining ownership of a token.  It would be interesting to see KTR dumps
for a 4-CPU or an 8-CPU system.

Discussed-with:  Matthew Dillon <dillon@apollo.backplane.com>

18 years agoAdd code comments to improve object type documentation.
Hiten Pandya [Thu, 7 Jul 2005 16:54:02 +0000 (16:54 +0000)]
Add code comments to improve object type documentation.

18 years agoConvert to NEWBUS, remove ISA compat.
Joerg Sonnenberger [Thu, 7 Jul 2005 15:15:24 +0000 (15:15 +0000)]
Convert to NEWBUS, remove ISA compat.

Obtained-from: FreeBSD

Use device_printf / if_printf.
Remove unit from softc.
Strip last parameter of wlsftwsleaze() and wlhdwsleaze(), since they are
never used.
Update various comment on functions
Don't explicitly print MAC address.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
18 years agoIt's dead, Jim.
Joerg Sonnenberger [Thu, 7 Jul 2005 14:40:12 +0000 (14:40 +0000)]
It's dead, Jim.

18 years agoUse pcidevs. Use common probe style and PCI helper functions.
Joerg Sonnenberger [Thu, 7 Jul 2005 13:23:28 +0000 (13:23 +0000)]
Use pcidevs. Use common probe style and PCI helper functions.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>