Commit Graph

138833 Commits

Author SHA1 Message Date
xtraeme
5c429f92b9 Add missing .Pp, bump date. 2005-07-29 19:11:16 +00:00
christos
42ec3173f1 Don't make it fatal if the login class doe not exist. From Jukka Salmi. 2005-07-29 18:16:21 +00:00
kent
a69b665329 make this compile with AZALIA_DEBUG.
thanks to cube@
2005-07-29 16:20:53 +00:00
elad
780e38584a VERIFIED_EXEC_DEUBG{,_VERBOSE} is obsolete.
XXX: Too bad we can't have some MI config file. :)
2005-07-29 14:57:30 +00:00
elad
753edff337 #ifdef VERIFIED_EXEC 2005-07-29 14:49:00 +00:00
wiz
3ecc9e2ea3 < -> \*[Lt], end sentence with a dot, add comma
in enumeration, add RCS Id (lost in previous), fix numbering of license clauses
(broken in previous).
2005-07-29 13:14:49 +00:00
cube
ad858fce1a New Dell Day, continued: add support for the fxp(4) variant in the
802801G* family of SB.
2005-07-29 13:13:34 +00:00
cube
c11bfdfb36 Regen. 2005-07-29 13:11:59 +00:00
cube
7edfbab2fc New Dell day: add missing device IDs, and order one correctly. 2005-07-29 13:11:09 +00:00
simonb
ef92a73349 Fix a typo. 2005-07-29 12:25:51 +00:00
drochner
83ebaf0ea5 complete attachment if the temperature monotor was successfully awoken,
minor whitespace fixes
2005-07-29 11:25:13 +00:00
drochner
21275bf194 activate the temperature sensors if the device is in standby mode
on attach (as on Soekris boards), from Aaron Hodgen per PR kern/23598
2005-07-29 11:05:27 +00:00
christos
0d20a48365 remove -static. 2005-07-29 01:19:20 +00:00
agc
42d12839e1 Add sys_siglist.0 2005-07-28 23:16:39 +00:00
macallan
5d5d363c01 Updated license 2005-07-28 21:36:48 +00:00
wiz
54fa7b8a6b Various improvements. 2005-07-28 20:23:31 +00:00
christos
0834c5e84b We have strerror_r now. 2005-07-28 18:34:02 +00:00
drochner
7ad8526195 activate e_atan2f.S which was there forever but not built, noticed
by Joerg Sonnenberger
2005-07-28 17:55:19 +00:00
christos
e9e222a95c Update for strerror_r changes:
1. new man pages
2. bump libc.
2005-07-28 16:28:51 +00:00
christos
b43b0b010f Add strerror_r. 2005-07-28 16:26:53 +00:00
christos
1cf13731b1 PR/30845: Luke Mewburn: strerror_r(3) missing
- Merge 4.4BSD strerror.3 man page changes that summarize information
  for all the error printing functions. This makes the perror(3) page
  obsolete.
- Implement all error functions in terms of strerror_r(), including
  __strerror() which is not used internally. Can it be removed?
- Bump version for strerror_r
2005-07-28 16:26:29 +00:00
christos
292dcda123 Don't use a global variable to indicate that we are stge1023. Use an sc member.
Pointed out by thorpej.
2005-07-28 16:04:24 +00:00
christos
49b19c5f09 PR/30821: SUZUKI, Shinsuike: IPsec-AH is always calculated using the same
key in AES-XCBC-MAC
2005-07-28 14:19:56 +00:00
thorpej
8919f50566 - Change FPCPU_LOCK() such that the caller is responsible for blocking
IPIs in the MULTIPROCESSOR case.  Adjust all callers.
- In fpusave_cpu(), block IPIs for the entire duration (while we have
  CPUF_FPUSAVE set in ci_flags) to fix the deadlock that leads to
  "panic: fpsave ipi didn't", as described in PR port-alpha/26383.
  Many thanks to Michael Hitch for the analysis and initial patch which
  this one is derived from.
2005-07-28 13:57:06 +00:00
wiz
85de2d6607 Remove COMMON VARIABLES section, moved to guide. 2005-07-28 13:08:09 +00:00
skrll
5f0dd3a852 Add support for immediate PLT binding on SH5. Compile tested only as
shared libs don't actually work on SH5 (yet).

OK'd by Steve Woodford.
2005-07-28 12:35:21 +00:00
skrll
57e00bf69e Support immediate PLT binding on powerpc. Thanks to Simon Burge for
testing.

I can see the finish line...
2005-07-28 10:54:30 +00:00
thorpej
fd526cad44 load_mbuf: Don't increase the segment index if we skipped a zero-length
mbuf.  From Michael Hitch.
2005-07-28 04:58:03 +00:00
christos
0a918ea74c Traditional flex uses int instead of yy_size_t for some api functions.
Unfortunately this mangles differently in c++, so we get undefined symbols.
So we define the old function prototype to keep things happy.
2005-07-28 04:14:30 +00:00
christos
c0ee8a4184 Fix systeminfo.
1. return length is the string length even if the string would not fit.
2. add SI_ISALIST
3. on 32 bit emulation, don't return sparc64 as the arch!
2005-07-28 03:50:52 +00:00
dyoung
810714086b Fix variable shadowing, sysctl attachment, ident(1) strings,
#includes so that the SampleRate rate-control algorithm will build
on NetBSD.
2005-07-28 02:08:04 +00:00
dyoung
89c0a98ceb Export ath_sysctl_instance for the SampleRate rate-control module
to use.

Also, add sysctl helper macro SYSCTL_PFX_INT (for SampleRate) that
prepends an arbitrary prefix to the sysctl name, instead of sc->sc_
like SYSCTL_INT.  Factor with SYSCTL_INT.
2005-07-28 02:05:20 +00:00
rpaulo
1c06ff56a9 Added a new AMASK bit (ALPHA_AMASK_PMI) and a new IMPLVER family ID:
ALPHA_IMPLVER_EV7.

ok christos@
2005-07-28 00:24:34 +00:00
peter
cea4f4ef79 Minor tweaks to the usage message:
- better layout for useradd.
- fix a small mistake in -u and wrap long line.
2005-07-27 23:32:02 +00:00
dyoung
1b19913947 A few fixes affecting user control of the transmit/receive antenna,
and antenna diversity:

Check the hardware capabilities---transmit power control (TPC),
antenna diversity---before setting up the sysctls that control
those capabilities.  Previously, the TPC and ant. diversity sysctls
were not setup because ath_sysctlattach was called before sc_hastpc
and sc_hasdiversity were initialized, so users could not view/control
antenna diversity or TPC settings, even on hardware with those
capabilities.

Obey the user's transmit-antenna selection even when sending IBSS
beacons on hardware with VEOL capability; for all other hardware/modes,
only switch transmit antennas after every four beacons if the user
has not selected a transmit antenna---i.e., they chose antenna 1
or 2 instead of 0 ("auto").
2005-07-27 21:22:57 +00:00
dyoung
b496bd99a0 Cosmetic: remove an out-dated "note to self." 2005-07-27 21:13:32 +00:00
dyoung
214312dad2 We don't really have FreeBSD 802.11 compatibility, and it will take
more work to get it right, so change the misleading COMPAT_FREEBSD
#ifdefs to #ifdef __FreeBSD__.
2005-07-27 20:31:24 +00:00
dyoung
9cb2b69eeb IEEE80211_IOC_BEACON_INTERVAL is not duplicated by SIOC[SG]80211POWER,
as I thought.  The latter actually sets the station listen interval.

We cannot get/set "drop-unencrypted" and "privacy" properties
independently with SIOCS80211NWKEY, so put back IEEE80211_IOC_PRIVACY
and IEEE80211_IOC_DROPUNENCRYPTED.

Thanks Sam Leffler for pointing out my mistakes.
2005-07-27 20:18:59 +00:00
jdc
af1900d4d8 Make sure that werase() always marks the window as dirty. This fixes a
problem (reported by David Bariod on netbsd-help), where erasing an already
blank window would not clear the screen contents of overlapping windows.
2005-07-27 20:17:42 +00:00
christos
9f01a2d031 Patches from Liam Foy:
- Add new -C option to 'usermod'. This allows a quick way to temporary
  lock a users account. This is similar to how FreeBSD do it using
  'adduser'. This function can be very handy to administrators!
- Import a function to check if the inputted class actually exists. It
  contains my modifications to test whether /etc/login.conf exists
  in the first place. -OpenBSD
2005-07-27 19:09:21 +00:00
christos
24e9d708ff Patches from Liam Foy:
- Add new -C option to 'usermod'. This allows a quick way to temporary
  lock a users account. This is similar to how FreeBSD do it using
  'adduser'. This function can be very handy to administrators!
- Import a function to check if the inputted class actually exists. It
  contains my modifications to test whether /etc/login.conf exists
  in the first place. -OpenBSD

While I am there:

- KNF (long wrapped lines, and spaces after void casts).
- Factor out some common code.
- Fix error messages.
	1. Consistently capitalize them.
	2. Fix err->errx and warn->warnx inappropriate uses.
	3. Use regerror where appropriate.
	4. Don't call warn()/err() to report errors after you trashed errno
	   by calling other syscalls. Save and restore the errno instead,
	   or in the warn() case, call warn() first.
- Fix size_t - int, uid_t - int confusion.
- Pass lint
2005-07-27 19:08:42 +00:00
drochner
06666adadb get the trailing-slash logics right 2005-07-27 13:23:07 +00:00
simonb
bdc552eaee KNF nit. 2005-07-27 12:41:09 +00:00
he
759fbc6504 The return type from getopt(3) is int, not char. Besides, char is
not guaranteed to be signed, so comparison with -1 will cause a
warning (turned error) for some of our ports (e.g. our arm ports).
Fix this by making the 'ch' variable an int instead of a char.
2005-07-27 09:29:02 +00:00
dyoung
9ec95e5520 NetBSD already has ioctls that get/set these parameters. Only
compile support for the duplicate ioctls from FreeBSD if it is a
COMPAT_FREEBSD kernel:

        IEEE80211_IOC_SSID
        IEEE80211_IOC_WEPTXKEY
        IEEE80211_IOC_CHANNEL
        IEEE80211_IOC_PRIVACY
        IEEE80211_IOC_DROPUNENCRYPTED
        IEEE80211_IOC_BSSID
        IEEE80211_IOC_BEACON_INTERVAL
        IEEE80211_IOC_WEPKEY
2005-07-27 07:01:25 +00:00
dyoung
d6d1366732 Restore ABI compatibility with SIOCG80211STATS, SIOCG80211ZSTATS
in NetBSD 2.0:

        * If 2.x compatibility is enabled (#ifdef COMPAT_20),
          compile support for OSIOCG80211STATS and OSIOCG80211ZSTATS,
          with the same ioctl numbers as SIOCG80211STATS and
          SIOCG80211ZSTATS in 2.x.  OSIOCG80211STATS and
          OSIOCG80211ZSTATS return an ieee80211_ostats struct,
          which has the same layout as ieee80211_stats in 2.x.

        * Add new ioctl numbers for SIOCG80211STATS and SIOCG80211ZSTATS.
          Both these ioctls will copy at most ifr_buflen bytes of
          the new ieee80211_stats to ifr_buf.
2005-07-27 06:52:27 +00:00
dyoung
1d1035405a Add members ifr_buf, ifr_buflen to ifreq for specifying the location
and size of a userland buffer.  The kernel shall not copyout more
than ifr_buflen bytes to ifr_buf.  For future ioctls that use
ifr_buf and ifr_buflen instead of ifr_data, the kernel can return
a larger struct in the future than when the ioctl is introduced,
without breaking ABI compatibility, provided that the size, order,
and semantics of the fields at the front of the struct does not
change.
2005-07-27 06:36:15 +00:00
christos
4811c2fc79 10 seconds is more than enough time to wait. 2005-07-27 00:02:14 +00:00
dyoung
930c942c22 In ieee80211_refine_node_for_beacon, deal gracefully with a node
that belongs to no table: don't dereference the null ni_table
pointer and panic.
2005-07-26 23:07:53 +00:00
dyoung
9bfd14b600 Remove duplicate FreeBSD RCS ID. 2005-07-26 22:57:26 +00:00