]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years ago- New sentence should start from the new line
mnag [Tue, 7 Mar 2006 12:56:37 +0000 (12:56 +0000)]
- New sentence should start from the new line
- Forget to bump .Dd

Reported by: maxim
Approved by: maxim
MFC after: 1 day

18 years agoTwo years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile:
yar [Tue, 7 Mar 2006 09:53:11 +0000 (09:53 +0000)]
Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile:
a control variable was misspelled as `SCRIPTS_NAME_isdntel.sh'
(should've been `SCRIPTSNAME_isdntel.sh') when the Makefile was
converted to using <bsd.prog.mk>.  Consequently, `isdntel.sh' has
been installed as `isdntel' since then.  Nevertheless, nobody has
been unhappy with the change.  So it's time to make it official.

Approved by: hm
Pointy hat to: ru
MFC after: 3 days

18 years agoRemove stale comments.
davidxu [Tue, 7 Mar 2006 08:42:02 +0000 (08:42 +0000)]
Remove stale comments.

18 years ago1. Always call user callback function in newly created thread, it seems
davidxu [Tue, 7 Mar 2006 08:28:07 +0000 (08:28 +0000)]
1. Always call user callback function in newly created thread, it seems
POSIX implies that the user callback function must be executed in clean
environment.
2. Use newly introduced pthread stubs in libc.

18 years agoAdd a check for Linux' "libacl" library and headers.
kientzle [Tue, 7 Mar 2006 06:07:41 +0000 (06:07 +0000)]
Add a check for Linux' "libacl" library and headers.

18 years agoChange the output of --version to match GNU "gnits" standards.
kientzle [Tue, 7 Mar 2006 06:05:38 +0000 (06:05 +0000)]
Change the output of --version to match GNU "gnits" standards.
(I'm not using GPL, but I still think there are good
ideas in the GNU projects. ;-)  Among other things,
this should make it easier for clients of bsdtar to
recognize it automatically:
  bsdtar --version | grep bsdtar

18 years agoFix a format mismatch (%d integer format, platform-dependent
kientzle [Tue, 7 Mar 2006 06:02:09 +0000 (06:02 +0000)]
Fix a format mismatch (%d integer format, platform-dependent
argument type).

18 years agoupdate for v0.4.8 import of wpa_supplicant and hostapd
sam [Tue, 7 Mar 2006 05:54:20 +0000 (05:54 +0000)]
update for v0.4.8 import of wpa_supplicant and hostapd

MFC after: 2 weeks

18 years agoresolve merge conflicts
sam [Tue, 7 Mar 2006 05:51:52 +0000 (05:51 +0000)]
resolve merge conflicts

MFC after: 2 weeks

18 years agoAdd another inverted amplifier sense quirk for Kvazar-Micro Senator 3592XT.
ariff [Tue, 7 Mar 2006 05:48:14 +0000 (05:48 +0000)]
Add another inverted amplifier sense quirk for Kvazar-Micro Senator 3592XT.

Submitted by: [1] Alexandr Krivulya <admin at marcom-group.com>
MFC after: 3 days

[1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-March/003773.html

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156373,
sam [Tue, 7 Mar 2006 05:47:04 +0000 (05:47 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156373,
which included commits to RCS files with non-trunk default branches.

18 years agoImport of hostapd 0.4.8
sam [Tue, 7 Mar 2006 05:47:04 +0000 (05:47 +0000)]
Import of hostapd 0.4.8

18 years agoresolve merge conflicts
sam [Tue, 7 Mar 2006 05:44:45 +0000 (05:44 +0000)]
resolve merge conflicts

MFC after: 2 weeks

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156369,
sam [Tue, 7 Mar 2006 05:26:33 +0000 (05:26 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156369,
which included commits to RCS files with non-trunk default branches.

18 years agoImport of WPA supplicant 0.4.8
sam [Tue, 7 Mar 2006 05:26:33 +0000 (05:26 +0000)]
Import of WPA supplicant 0.4.8

18 years agouse m_dup instead of m_copypacket when doing internal bridging
sam [Tue, 7 Mar 2006 03:55:05 +0000 (03:55 +0000)]
use m_dup instead of m_copypacket when doing internal bridging
in case packets are modified (e.g. encrypted)

MFC after: 1 week

18 years agoCorrect a couple of typos.
delphij [Tue, 7 Mar 2006 02:29:21 +0000 (02:29 +0000)]
Correct a couple of typos.

Obtained from: The FreeBSD Simplified Chinese Project

18 years agoAllocate proper amount of memory. Otherwise, we pass the end of a buffer,
wkoszek [Mon, 6 Mar 2006 22:31:25 +0000 (22:31 +0000)]
Allocate proper amount of memory. Otherwise, we pass the end of a buffer,
thus having unpleasant warning. Was found by jemalloc redzone code.

Reviewed by: rwatson
Approved by: cognet (mentor)

18 years agoAdd an override (DONTSTRIP) so that one can easily install debugable
obrien [Mon, 6 Mar 2006 21:52:59 +0000 (21:52 +0000)]
Add an override (DONTSTRIP) so that one can easily install debugable
binaries when one cannot easily edit a package's Makefiles and/or
configure scripts.

18 years agofixups
sam [Mon, 6 Mar 2006 21:51:27 +0000 (21:51 +0000)]
fixups

Submitted by: ru
MFC after: 3 days

18 years agoRevert parts of 1.51 and add a missing \& after "i.e." that is not the
keramida [Mon, 6 Mar 2006 17:37:42 +0000 (17:37 +0000)]
Revert parts of 1.51 and add a missing \& after "i.e." that is not the
end of a sentence.  Ruslan notes that:

* The part about hexadecimal representation was intentional -- node ID
  is parsed as the ng_parse_hint32_type, and is represented
  (input/output) as a hexadecimal number

* "This value" was more correct, as the alternative name is
  "[<value>]:" where <value> is hexadecimal value of the node ID.

* "ID based name" (which is "[<hexid>]:") was correct, and what's now is
  incorrect -- node ID (number) cannot be equivalent to a name.

18 years agodeliver an l2uf frame on sta join to prime the bridge
sam [Mon, 6 Mar 2006 17:26:16 +0000 (17:26 +0000)]
deliver an l2uf frame on sta join to prime the bridge

Obtained from: madwifi
MFC after: 1 week

18 years agowhen scanning channels marked passive defer probe request until
sam [Mon, 6 Mar 2006 17:23:26 +0000 (17:23 +0000)]
when scanning channels marked passive defer probe request until
802.11 traffic is seen; fixes problems with ap's hiding their ssid

Obtained from: atheros
MFC after: 1 week

18 years agoFix the build. %ju prints uintmax_t not unsigned long long (which is
mlaier [Mon, 6 Mar 2006 16:02:06 +0000 (16:02 +0000)]
Fix the build.  %ju prints uintmax_t not unsigned long long (which is
actually "longer" than uintmax_t for the understanding of printf).

18 years agoMFi386 revision 1.1220: options TDFX_LINUX --> device tdfx_linux
yar [Mon, 6 Mar 2006 15:29:28 +0000 (15:29 +0000)]
MFi386 revision 1.1220: options TDFX_LINUX --> device tdfx_linux

18 years agoAdd appropriate xrefs.
yar [Mon, 6 Mar 2006 13:15:12 +0000 (13:15 +0000)]
Add appropriate xrefs.

MFC after: 3 days

18 years agoManaging login.access is no longer a responsibility of login(1).
yar [Mon, 6 Mar 2006 13:07:17 +0000 (13:07 +0000)]
Managing login.access is no longer a responsibility of login(1).
Therefore give a xref, not details.

MFC after: 3 days

18 years agos/MOUSE_BUTTONEVENT/MOUSE_BUTTON_EVENT/g
markus [Mon, 6 Mar 2006 13:05:50 +0000 (13:05 +0000)]
s/MOUSE_BUTTONEVENT/MOUSE_BUTTON_EVENT/g
s/MOUSE_MOTIONEVENT/MOUSE_MOTION_EVENT/g

Approved by: brueffer
MFC after: 3 days

18 years agoRemove the last reference to LOGIN_ACCESS from login(1).
yar [Mon, 6 Mar 2006 12:56:35 +0000 (12:56 +0000)]
Remove the last reference to LOGIN_ACCESS from login(1).

MFC after: 3 days

18 years agologin.access.5 and login_access.c are no longer used
yar [Mon, 6 Mar 2006 12:54:03 +0000 (12:54 +0000)]
login.access.5 and login_access.c are no longer used
in usr.bin/login because the login.access feature has
moved to PAM completely.

Their counterparts in lib/libpam/modules/pam_login_access
have been found to be in sync with, and even in better shape
than, login.access.5 and login_access.c here.

Therefore cvs rm login.access.5 and login_access.c from
usr.bin/login so that nobody will waste their time on fixing
or developing the files here.

MFC after: 3 days

18 years agologin(1) no longer handles /etc/login.access by itself,
yar [Mon, 6 Mar 2006 12:38:42 +0000 (12:38 +0000)]
login(1) no longer handles /etc/login.access by itself,
it's PAM's job.

MFC after: 3 days

18 years agoSince the whole login.access feature has moved to PAM,
yar [Mon, 6 Mar 2006 12:31:25 +0000 (12:31 +0000)]
Since the whole login.access feature has moved to PAM,
login.access.5 will be installed from the respective PAM
module's src directory.

MFC after: 3 days

18 years agoSync with src/usr.bin/login/login.access.5.
yar [Mon, 6 Mar 2006 12:26:43 +0000 (12:26 +0000)]
Sync with src/usr.bin/login/login.access.5.

src/usr.bin/login/login.access.5 should be removed from use
because the whole login.access feature has moved to this PAM
module.

MFC after: 3 days

18 years agoBy default (for security reasons) syslogd(8) doesn't create log files
pjd [Mon, 6 Mar 2006 10:36:33 +0000 (10:36 +0000)]
By default (for security reasons) syslogd(8) doesn't create log files
when they don't exist, but sometimes its quite useful (eg. we use
non-standard log files and memory backed /var/, which is populated on
boot).

Add -C option which tells syslogd(8) to create log files if they don't
exist.

Glanced at by: phk
MFC after: 3 days

18 years agoSlightly better markup.
trhodes [Mon, 6 Mar 2006 10:12:14 +0000 (10:12 +0000)]
Slightly better markup.

Discussed with: ru

18 years agoDon't build IPv6 support if NO_INET6 was defined
matteo [Mon, 6 Mar 2006 10:07:52 +0000 (10:07 +0000)]
Don't build IPv6 support if NO_INET6 was defined

PR: kern/73865
Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
MFC after: 3 days

18 years agoImprove the advantech watchdog.
phk [Mon, 6 Mar 2006 07:43:28 +0000 (07:43 +0000)]
Improve the advantech watchdog.

18 years agoFix usage().
phk [Mon, 6 Mar 2006 07:42:52 +0000 (07:42 +0000)]
Fix usage().

Submitted by: Adrian Steinmann <ast@marabu.ch>

18 years agoAdd new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the
emax [Mon, 6 Mar 2006 06:38:34 +0000 (06:38 +0000)]
Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the
keyboard device name (i.e. /dev/kbd0). This method will do nothing is
kbdmux(4) is the current active keyboard, otherwise it will switch
active keyboard as requested.

Modify ukbd(4) entries in the /etc/devd.conf to use /etc/rc.d/syscons
and new 'setkeyboard' method.

No comments from: freebsd-current@
MFC after: 1 day

18 years agoOnly catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUG
deischen [Mon, 6 Mar 2006 05:02:28 +0000 (05:02 +0000)]
Only catch SIGINFO (for dumping thread states) when LIBPTHREAD_DEBUG
is defined in the environment.

Requested by: jmg & a few others

18 years agofix for non-i386/amd64 machines
sam [Mon, 6 Mar 2006 02:58:25 +0000 (02:58 +0000)]
fix for non-i386/amd64 machines

Submitted by: marcel
MFC after: 3 days

18 years agoIf we miss the LINK_UP event from the network interface then the bridge port
thompsa [Mon, 6 Mar 2006 02:28:41 +0000 (02:28 +0000)]
If we miss the LINK_UP event from the network interface then the bridge port
will remain in the disabled state until another link event happens in the
future (if at all). Add a timer to periodically check the interface state and
recover.

Reported by: Nik Lam <freebsdnik j2d.lam.net.au>
MFC after: 3 days

18 years agoFix include paths to make this compile.
silby [Sun, 5 Mar 2006 23:27:51 +0000 (23:27 +0000)]
Fix include paths to make this compile.

18 years agoRetire NETSMBCRYPTO as a kernel option and make its functionality
yar [Sun, 5 Mar 2006 22:52:17 +0000 (22:52 +0000)]
Retire NETSMBCRYPTO as a kernel option and make its functionality
enabled by default in NETSMB and smbfs.ko.

With the most of modern SMB providers requiring encryption by
default, there is little sense left in keeping the crypto part
of NETSMB optional at the build time.

This will also return smbfs.ko to its former properties users
are rather accustomed to.

Discussed with: freebsd-stable, re (scottl)
Not objected by: bp, tjr (silence)
MFC after: 5 days

18 years agoAdd USB modes.
sos [Sun, 5 Mar 2006 21:32:38 +0000 (21:32 +0000)]
Add USB modes.

18 years agoDocument new chipsets (RT2561, RT2561S and RT2661).
damien [Sun, 5 Mar 2006 20:57:25 +0000 (20:57 +0000)]
Document new chipsets (RT2561, RT2561S and RT2661).

Obtained from: OpenBSD

18 years agoImport microcodes for RT2561, RT2561S and RT2661 chipsets.
damien [Sun, 5 Mar 2006 20:41:51 +0000 (20:41 +0000)]
Import microcodes for RT2561, RT2561S and RT2661 chipsets.
With permission from Ralink Technology.

18 years agoAdd support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
damien [Sun, 5 Mar 2006 20:38:55 +0000 (20:38 +0000)]
Add support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
generations of 802.11abg chipsets from Ralink Technology.
Get rid of the pccard front-end while I'm here since all adapters are
cardbus ones.

18 years agoAdd support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
damien [Sun, 5 Mar 2006 20:36:56 +0000 (20:36 +0000)]
Add support for the second (RT2561/RT2561S) and third (RT2661 MIMO XR)
generations of 802.11abg chipsets from Ralink Technology.
Get rid of the pccard front-end while I'm here since all adapters are
cardbus ones.

Obtained from: OpenBSD

18 years agoUpdate atapi-fd to support direct devices such as disks.
sos [Sun, 5 Mar 2006 20:30:54 +0000 (20:30 +0000)]
Update atapi-fd to support direct devices such as disks.

18 years agoAdd some more pthread stubs so that librt can use them.
deischen [Sun, 5 Mar 2006 18:10:28 +0000 (18:10 +0000)]
Add some more pthread stubs so that librt can use them.
The thread jump table has been resorted, so you need to
keep libc, libpthread, and libthr in sync.

Submitted by: xu

18 years agoWhen we get an unknown ATAPI comand, try it even if it is not listed,
phk [Sun, 5 Mar 2006 17:52:32 +0000 (17:52 +0000)]
When we get an unknown ATAPI comand, try it even if it is not listed,
in all likelyhood just passing it through will work.

18 years agoAdd two new ATAPI commands.
sos [Sun, 5 Mar 2006 17:43:13 +0000 (17:43 +0000)]
Add two new ATAPI commands.

18 years agoGrammar nits & some mdoc fixes, i.e. use ``.Nm fec<RET>node'' consistently
keramida [Sun, 5 Mar 2006 15:56:22 +0000 (15:56 +0000)]
Grammar nits & some mdoc fixes, i.e. use ``.Nm fec<RET>node'' consistently
throughout the manpage text.

Reviewed by: wpaul

18 years agoRevert `proto ip' back to the previous behavior. The kernel side of
ume [Sun, 5 Mar 2006 15:55:46 +0000 (15:55 +0000)]
Revert `proto ip' back to the previous behavior.  The kernel side of
ipfw2 doesn't allow zero as protocol number.

MFC after: 3 days

18 years agoVarious textual improvements.
keramida [Sun, 5 Mar 2006 15:54:22 +0000 (15:54 +0000)]
Various textual improvements.

18 years ago- Correct grammos in comments and end them with full stops.
schweikh [Sun, 5 Mar 2006 15:53:07 +0000 (15:53 +0000)]
- Correct grammos in comments and end them with full stops.
- Use "if !" instead of empty true branches.
- Don't hardcode script name in usage message, use $0 instead.
- Cleanup some whitespace.

18 years agoEnhance loginfail: it will catch sshd, proftpd and su errors, as well as other programs
matteo [Sun, 5 Mar 2006 15:45:38 +0000 (15:45 +0000)]
Enhance loginfail: it will catch sshd, proftpd and su errors, as well as other programs

PR: conf/70973
Submitted by: Ryan Sommers" <ryans@gamersimpact.com>
Approved by: philip (mentor)
MFC after: 3 days

18 years agoBring the zh_CN.GB2312 translation for -HEAD up-to-date with the English
delphij [Sun, 5 Mar 2006 15:07:57 +0000 (15:07 +0000)]
Bring the zh_CN.GB2312 translation for -HEAD up-to-date with the English
Revisions.

Obtained from: The FreeBSD Simplified Chinese Project CVS

18 years agoFix spelling error.
rwatson [Sun, 5 Mar 2006 13:30:37 +0000 (13:30 +0000)]
Fix spelling error.

Submitted by: remko

18 years agoRemove a useless word.
brueffer [Sun, 5 Mar 2006 10:32:15 +0000 (10:32 +0000)]
Remove a useless word.

PR: 94087
Submitted by: Tadaaki Nagao <nagao@iij.ad.jp>
MFC after: 3 days

18 years agoAdd another inverted amplifier sense quirk for Sony VAIO Type T.
ariff [Sun, 5 Mar 2006 02:26:51 +0000 (02:26 +0000)]
Add another inverted amplifier sense quirk for Sony VAIO Type T.

PR: kern/94056
Submitted by: Yoshihiko Sarumaru <mistral at imasy.or.jp>
MFC after: 3 days

18 years agoturn some WARNs for unknown events into INFOs
mjacob [Sat, 4 Mar 2006 21:46:34 +0000 (21:46 +0000)]
turn some WARNs for unknown events into INFOs

18 years agoCreate a mac_bsdextended_check_vp function that takes a cred, a
dwmalone [Sat, 4 Mar 2006 20:47:19 +0000 (20:47 +0000)]
Create a mac_bsdextended_check_vp function that takes a cred, a
vnode and a mode and checks if a given access mode is permitted.
This centralises the mac_bsdextended_enabled check and the GETATTR
calls and makes the implementation of the mac policy methods simple.

This should make it easier for us to match vnodes on more complex
attributes than just uid and gid in the future, but for now there
should be no functional change.

Approved/Reviewed by: rwatson, trhodes
MFC after: 1 month

18 years agoWe need to check if file system size is equal to provider's size, because
pjd [Sat, 4 Mar 2006 19:41:54 +0000 (19:41 +0000)]
We need to check if file system size is equal to provider's size, because
sysinstall(8) still bogusly puts first partition at offset 0 instead of 16,
so glabel/ufs will find file system on slice instead of partition.

Before sysinstall is fixed, we must keep this code, which means that we
wont't be able to detect UFS file systems created with 'newfs -s ...'.

PS. bsdlabel(8) creates partitions properly.

MFC after: 3 days

18 years agoDelete file from FreeBSD vendor branch of OpenBSM that has been removed
rwatson [Sat, 4 Mar 2006 17:14:22 +0000 (17:14 +0000)]
Delete file from FreeBSD vendor branch of OpenBSM that has been removed
from the TrustedBSD OpenBSM distribution.

Obtained from: TrustedBSD Project

18 years agoCount drops when the first of two pipe mallocs fails.
rwatson [Sat, 4 Mar 2006 17:09:17 +0000 (17:09 +0000)]
Count drops when the first of two pipe mallocs fails.

Obtained from: TrustedBSD Project

18 years agoUpdate src/sys/security/audit for OpenBSM 1.0 alpha 5:
rwatson [Sat, 4 Mar 2006 17:00:55 +0000 (17:00 +0000)]
Update src/sys/security/audit for OpenBSM 1.0 alpha 5:

- Include audit_internal.h to get definition of internal audit record
  structures, as it's no longer in audit.h.  Forward declare au_record
  in audit_private.h as not all audit_private.h consumers care about
  it.

- Remove __APPLE__ compatibility bits that are subsumed by configure
  for user space.

- Don't expose in6_addr internals (non-portable, but also cleaner
  looking).

- Avoid nested include of audit.h in audit_private.h.

Obtained from: TrustedBSD Project

18 years agoUpdate src/sys/bsm for OpenBSM 1.0 alpha 5 changes:
rwatson [Sat, 4 Mar 2006 16:54:21 +0000 (16:54 +0000)]
Update src/sys/bsm for OpenBSM 1.0 alpha 5 changes:

- Add new comments.
- Move private data structures from public audit.h to audit_internal.h to
  avoid exposing queue.h macros to undesiring consumers.

Obtained from: TrustedBSD Project

18 years agoUpdate FreeBSD import instructions for OpenBSM based on the new autoconf
rwatson [Sat, 4 Mar 2006 16:50:04 +0000 (16:50 +0000)]
Update FreeBSD import instructions for OpenBSM based on the new autoconf
and automake OpenBSM world order.

Obtained from: TrustedBSD Project

18 years agoAdd generated config.h for FreeBSD.
rwatson [Sat, 4 Mar 2006 16:49:24 +0000 (16:49 +0000)]
Add generated config.h for FreeBSD.

Obtained from: TrustedBSD Project

18 years agoRemove files deleted in the OpenBSM distribution from the OpenBSM
rwatson [Sat, 4 Mar 2006 16:48:36 +0000 (16:48 +0000)]
Remove files deleted in the OpenBSM distribution from the OpenBSM
vendor branch.

Obtained from: TrustedBSD Project

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156283,
rwatson [Sat, 4 Mar 2006 16:45:52 +0000 (16:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156283,
which included commits to RCS files with non-trunk default branches.

18 years agoVendor branch import of TrustedBSD OpenBSM 1.0 alpha 5:
rwatson [Sat, 4 Mar 2006 16:45:52 +0000 (16:45 +0000)]
Vendor branch import of TrustedBSD OpenBSM 1.0 alpha 5:

- Update install notes to indicate /etc files are to be installed manually.
- On systems without LOG_SECURITY, use LOG_AUTH.
- Convert to autoconf/automake in order to move to a more portable (not
  BSD-specific) build infrastructure, and more easy conditional building of
  components.  Currently, the primary feature loss is that automake does
  not have native support for manual symlinks.  This will be addressed in a
  future OpenBSM release.
- Add compat/queue.h, to be used on systems dated BSD queue macro libraries
  (as found on Linux).
- Rename CHANGELOG to HISTORY, as our change log doesn't follow some of the
  existing conventions for a CHANGELOG.
- Some private data structures moved from audit.h to audit_internal.h to
  prevent inappropriate use by applications and name space pollution.
- Improved detection and use of endian macros using autoconf.
- Avoid non-portable use of struct in6_addr, which is largely opaque.
- Avoid leaking BSD kernel socket related token code to user space in
  bsm_token.c.
- Teach System V IPC calls to look for Linux naming variations for certain
  struct ipc_perm fields.
- Test for audit system calls, and if not present, don't build
  bsm_wrappers.c, bsm_notify.c, audit(8), and auditd(8), which rely on
  those system calls.
- au_close() is not implemented on systems that don't have audit system
  calls, but au_close_buffer() is.
- Work around missing BSDisms in bsm_wrapper.c.
- Fix nested includes so including libbsm.h in an application on Linux
  picks up the necessary definitions.

Obtained from: TrustedBSD Project

18 years agoReduce number of spaces for full name by four, and reduce padding
rwatson [Sat, 4 Mar 2006 16:13:16 +0000 (16:13 +0000)]
Reduce number of spaces for full name by four, and reduce padding
after tty entry by one space in order to provide extra spaces for
the tty entry.  As a result, full pts names are now visible (up
to 999 pts's anyway):

Before:
Login            Name                 TTY  Idle  Login  Time   Office  Phone
robert           Robert Watson       *v0   3:55  Fri    02:54
robert           Robert Watson        p0     19  Sat    11:01
robert           Robert Watson        pts        Sat    14:55

After:

Login            Name             TTY      Idle  Login  Time   Office  Phone
robert           Robert Watson   *v0       5:08  Fri    02:54
robert           Robert Watson    p0          8  Sat    11:01
robert           Robert Watson    pts/5          Sat    14:55

MFC after: 1 week

18 years agocrypto.ko depends on zlib.
wkoszek [Sat, 4 Mar 2006 15:50:46 +0000 (15:50 +0000)]
crypto.ko depends on zlib.

Submitted by: Ben Kelly <bkelly at vadev.org>
Approved by: rwatson
Point hat to: me
MFC after: 1 day

18 years agoUse `intmax_t' instead of plain `int' for pid_t casts.
keramida [Sat, 4 Mar 2006 15:20:28 +0000 (15:20 +0000)]
Use `intmax_t' instead of plain `int' for pid_t casts.

Useful tips from: ru, bde
Approved by: pjd
MFC after: 3 days

18 years agoAdd OpenBSM and src/sys/security/audit to the maintainer list.
rwatson [Sat, 4 Mar 2006 14:24:32 +0000 (14:24 +0000)]
Add OpenBSM and src/sys/security/audit to the maintainer list.

18 years agoFix evil examples - first partition should start at offset 16.
pjd [Sat, 4 Mar 2006 12:09:50 +0000 (12:09 +0000)]
Fix evil examples - first partition should start at offset 16.

MFC after: 3 days

18 years agofixed a bug that an MLD report is not advertised when group-specific MLD query is...
suz [Sat, 4 Mar 2006 09:17:11 +0000 (09:17 +0000)]
fixed a bug that an MLD report is not advertised when group-specific MLD query is received.

PR: kern/93526
Obtained from: KAME
MFC after: 1 day

18 years agoMFi386: revision 1.1220.
nyan [Sat, 4 Mar 2006 07:31:58 +0000 (07:31 +0000)]
MFi386: revision 1.1220.

18 years agoAdd missing cast.
phk [Sat, 4 Mar 2006 06:07:26 +0000 (06:07 +0000)]
Add missing cast.

18 years agoMore detailed logging if timestepwarnings are enabled.
phk [Sat, 4 Mar 2006 06:06:43 +0000 (06:06 +0000)]
More detailed logging if timestepwarnings are enabled.

18 years agoInstead of just hinting at available octets, list some.
trhodes [Sat, 4 Mar 2006 02:38:40 +0000 (02:38 +0000)]
Instead of just hinting at available octets, list some.
Mention that the setting of securelevel may affect one's ability to alter flags.
Xref security.7.
Bump doc date.

18 years agoUse a thread pool to process notification if sigev_notify_attributes
davidxu [Sat, 4 Mar 2006 00:18:19 +0000 (00:18 +0000)]
Use a thread pool to process notification if sigev_notify_attributes
is default and caller does not require dedicated thread. timer needs
a dedicated thread to maintain overrun count correctly in notification
context. mqueue and aio can use thread pool to do notification
concurrently, the thread pool has lifecycle control, some threads will
exit if they have idled for a while.

18 years agouse strlcpy in cvtstatfs and copy_statfs instead of bcopy to ensure
ps [Sat, 4 Mar 2006 00:09:09 +0000 (00:09 +0000)]
use strlcpy in cvtstatfs and copy_statfs instead of bcopy to ensure
the copied strings are properly terminated.

bzero the statfs32 struct in copy_statfs.

18 years agosave sigev_node pointer.
davidxu [Sat, 4 Mar 2006 00:08:24 +0000 (00:08 +0000)]
save sigev_node pointer.

18 years agoFix bug in malloc_uninit():
ps [Fri, 3 Mar 2006 22:36:52 +0000 (22:36 +0000)]
Fix bug in malloc_uninit():
Releasing items from the mt_zone can not be done by a simple
uma_zfree() call since mt_zone is allocated with the UMA_ZONE_MALLOC
flag. Use uma_zfree_arg instead and supply the slab.

This bug caused panics in low memory situations on unloading kernel
modules containing MALLOC_DEFINE(..) statements.

Submitted by: ups

18 years agoTake the functionality contained in the former "options TDFX_LINUX"
yar [Fri, 3 Mar 2006 21:37:38 +0000 (21:37 +0000)]
Take the functionality contained in the former "options TDFX_LINUX"
into a separate module.  Accordingly, convert the option into a device
named similarly.

Note for MFC: Perhaps the option should stay in RELENG_6 for POLA reasons.

Suggested by: scottl
Reviewed by: cokane
MFC after: 5 days

18 years agoPrint "clear" and "dump" only once.
wkoszek [Fri, 3 Mar 2006 21:35:57 +0000 (21:35 +0000)]
Print "clear" and "dump" only once.

Reviewed by: pjd
Approved by: cognet (mentor)
MFC after: 3 days

18 years agoDon't build csup if NO_CRYPT or NO_OPENSSL is defined, since we depend
mux [Fri, 3 Mar 2006 21:12:05 +0000 (21:12 +0000)]
Don't build csup if NO_CRYPT or NO_OPENSSL is defined, since we depend
on those.

Reported by: marius

18 years agoCast the pointer to void * before casting it back to struct type * in
mux [Fri, 3 Mar 2006 18:54:33 +0000 (18:54 +0000)]
Cast the pointer to void * before casting it back to struct type * in
STAILQ_LAST.  This quiets a warning from GCC about increased required
alignment for the cast.

Idea from:      cognet

18 years ago- use a more common style to print memory sizes
netchild [Fri, 3 Mar 2006 18:54:05 +0000 (18:54 +0000)]
- use a more common style to print memory sizes
- add some more cache sizes (2nd and 3rd level) [1]

Submitted by: HATANOU Tomomi <hatanou@infolab.ne.jp> [1]
PR: 91328 [1]

18 years agoThis commit was generated by cvs2svn to compensate for changes in r156251,
mux [Fri, 3 Mar 2006 18:45:12 +0000 (18:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r156251,
which included commits to RCS files with non-trunk default branches.

18 years agoImport today's csup sources to get the warning fix for queue.h. We
mux [Fri, 3 Mar 2006 18:45:12 +0000 (18:45 +0000)]
Import today's csup sources to get the warning fix for queue.h.  We
probably want to do something similar in sys/queue.h; it's bad to have
STAILQ_LAST() generate GCC warnings.

18 years agoFix the decaying MODULES_WITH_WORLD again by adding a missing opt_*.h to SRCS.
yar [Fri, 3 Mar 2006 18:42:09 +0000 (18:42 +0000)]
Fix the decaying MODULES_WITH_WORLD again by adding a missing opt_*.h to SRCS.

18 years agoMove XBOX option to options. While it is only valid on i386,
imp [Fri, 3 Mar 2006 18:09:37 +0000 (18:09 +0000)]
Move XBOX option to options.  While it is only valid on i386,
syscons_isa is shared with other machines.

18 years agoUnbreak byte counters when network interfaces are in monitor mode by
csjp [Fri, 3 Mar 2006 17:21:08 +0000 (17:21 +0000)]
Unbreak byte counters when network interfaces are in monitor mode by
re-organizing the monitor return logic. We perform interface monitoring
checks after we have determined if the CRC is still on the packet, if
it is, m_adj() is called which will adjust the packet length. This
ensures that we are not including CRC lengths in the byte counters for
each packet.

Discussed with: andre, glebius

18 years agoConnect csup the build!
mux [Fri, 3 Mar 2006 14:55:43 +0000 (14:55 +0000)]
Connect csup the build!

18 years ago- Don't put the .h in SRCS.
mux [Fri, 3 Mar 2006 14:54:47 +0000 (14:54 +0000)]
- Don't put the .h in SRCS.
- Use LDADD += -lpthread and DPADD += ${LIBPTHREAD} instead of -pthread.
- s/-I${.CURDIR}/-I./ to fix make obj.

Submitted by: ru