]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoAdd oltr(4)
brueffer [Fri, 4 Feb 2005 16:43:59 +0000 (16:43 +0000)]
Add oltr(4)

19 years ago- Fix build with TRACE_MESSAGES defined
glebius [Fri, 4 Feb 2005 16:08:20 +0000 (16:08 +0000)]
- Fix build with TRACE_MESSAGES defined
- Remove extra parenthesis

19 years agocosmetic changes.
nyan [Fri, 4 Feb 2005 15:34:52 +0000 (15:34 +0000)]
cosmetic changes.

19 years agoThe bs and wdc drivers are gone.
nyan [Fri, 4 Feb 2005 15:29:54 +0000 (15:29 +0000)]
The bs and wdc drivers are gone.

19 years agoteach scope of IPv6 address to net.inet6.tcp6.getcred.
ume [Fri, 4 Feb 2005 14:43:05 +0000 (14:43 +0000)]
teach scope of IPv6 address to net.inet6.tcp6.getcred.

MFC after: 1 week

19 years agoMove machine-dependent crud to its own makefile.
das [Fri, 4 Feb 2005 14:33:39 +0000 (14:33 +0000)]
Move machine-dependent crud to its own makefile.

19 years agoRemove wrappers and other cruft intended to support SVID, mistakes in
das [Fri, 4 Feb 2005 14:08:32 +0000 (14:08 +0000)]
Remove wrappers and other cruft intended to support SVID, mistakes in
C90, and other arcana.  Most of these features were never fully
supported or enabled by default.

Ok: bde, stefanf

19 years agoSave last displayed file by having the "last" pointer global and save it
delphij [Fri, 4 Feb 2005 14:01:06 +0000 (14:01 +0000)]
Save last displayed file by having the "last" pointer global and save it
during we show the first file's tail.  Instead of:

tarsier% tail -f 1 2
==> 1 <==
foo
bar

==> 2 <==
bar
foo

==> 2 <==
bar2
foo2

Now with this change, we have:

tarsier% tail -f 1 2
==> 1 <==
foo
bar

==> 2 <==
bar
foo
bar2
foo2

While I'm there, move a comment to where it should belong to.  Also,
const'ify the "last" static because we will never need to change the
contents it points to.

MFC After: 1 week

19 years agoFix pc98 support (broken by previous change).
nyan [Fri, 4 Feb 2005 13:37:21 +0000 (13:37 +0000)]
Fix pc98 support (broken by previous change).

19 years agoMerged from sys/dev/sio/sio.c revision 1.457.
nyan [Fri, 4 Feb 2005 13:35:21 +0000 (13:35 +0000)]
Merged from sys/dev/sio/sio.c revision 1.457.

19 years agoMFi386: revision 1.605.
nyan [Fri, 4 Feb 2005 13:34:24 +0000 (13:34 +0000)]
MFi386: revision 1.605.

19 years agoNone of the users of Buf_Discard used it to get rid of only a part of
harti [Fri, 4 Feb 2005 13:34:16 +0000 (13:34 +0000)]
None of the users of Buf_Discard used it to get rid of only a part of
the buffer. So replace Buf_Discard by Buf_Clear which just gets rid
of the entire contents.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMFi386: revision 1.514.
nyan [Fri, 4 Feb 2005 13:33:46 +0000 (13:33 +0000)]
MFi386: revision 1.514.

19 years agoInline the ADDWORD() macro in the two places where it is used. It just
harti [Fri, 4 Feb 2005 13:29:50 +0000 (13:29 +0000)]
Inline the ADDWORD() macro in the two places where it is used. It just
obfuscates the code.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoUse _exit() instead of exit() when the exec() after a vfork() fails.
harti [Fri, 4 Feb 2005 13:26:37 +0000 (13:26 +0000)]
Use _exit() instead of exit() when the exec() after a vfork() fails.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMove PrintAddr() from util.c into suff.c - the only file where it is
harti [Fri, 4 Feb 2005 13:23:39 +0000 (13:23 +0000)]
Move PrintAddr() from util.c into suff.c - the only file where it is
actuall used, and make it static.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoGeneral whitespace cleanup: remove mixes of tabs and spaces, remove
harti [Fri, 4 Feb 2005 12:38:57 +0000 (12:38 +0000)]
General whitespace cleanup: remove mixes of tabs and spaces, remove
space after function names, remove spaces on emtpy lines.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMinor cleanup: make brk_string to return argc only if the pointer to it
harti [Fri, 4 Feb 2005 12:30:54 +0000 (12:30 +0000)]
Minor cleanup: make brk_string to return argc only if the pointer to it
was non-NULL. This let's us eliminated an otherwise unused variable.

shellneeded can never return -1 so there is no need to check for it and
hence no need for a variable to hold the returned value.

Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)

19 years agoFurther constification. Use a temporary hack (copying the input string)
harti [Fri, 4 Feb 2005 12:10:20 +0000 (12:10 +0000)]
Further constification. Use a temporary hack (copying the input string)
until Var_Subst is fixed.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoQuote example file names consistently, and fix a small grammatical nit.
ceri [Fri, 4 Feb 2005 11:37:49 +0000 (11:37 +0000)]
Quote example file names consistently, and fix a small grammatical nit.

19 years agoImprove EIO error description and mention that it can also occur while
pjd [Fri, 4 Feb 2005 11:18:46 +0000 (11:18 +0000)]
Improve EIO error description and mention that it can also occur while
writting.

MFC after: 3 days

19 years agoThis commit was generated by cvs2svn to compensate for changes in r141261,
delphij [Fri, 4 Feb 2005 08:41:44 +0000 (08:41 +0000)]
This commit was generated by cvs2svn to compensate for changes in r141261,
which included commits to RCS files with non-trunk default branches.

19 years agoImport a (stripped) snapshot of OpenBSD's nc(1) an excellent
delphij [Fri, 4 Feb 2005 08:41:44 +0000 (08:41 +0000)]
Import a (stripped) snapshot of OpenBSD's nc(1) an excellent
reimplementation of the famous tool that can do arbitrary TCP
and UDP connections and listens.

This gaves sysadm the same tool the crackers have, so that
they may learn what the network is about and protect it better.
For developers, this is an invaluable debugging tool, and a
good build block of scripts.

Discussed on: freebsd-hackers@

19 years agoUse an extra variable to assign to instead of missusing an input
harti [Fri, 4 Feb 2005 08:31:42 +0000 (08:31 +0000)]
Use an extra variable to assign to instead of missusing an input
parameter. This will help in constification.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoReplace space, tab mixes by tabs.
harti [Fri, 4 Feb 2005 08:15:11 +0000 (08:15 +0000)]
Replace space, tab mixes by tabs.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoUse tabs to move to the comments instead of wild mixes of tabs and spaces.
harti [Fri, 4 Feb 2005 08:11:58 +0000 (08:11 +0000)]
Use tabs to move to the comments instead of wild mixes of tabs and spaces.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoStyle: line up with tabulators.
harti [Fri, 4 Feb 2005 08:03:55 +0000 (08:03 +0000)]
Style: line up with tabulators.

19 years agoUse a typedef for the conditional handler function so that declaring
harti [Fri, 4 Feb 2005 08:02:41 +0000 (08:02 +0000)]
Use a typedef for the conditional handler function so that declaring
pointers to these functions is easier.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoStyle: remove a space between a function name and the opening
harti [Fri, 4 Feb 2005 07:56:40 +0000 (07:56 +0000)]
Style: remove a space between a function name and the opening
paranthesis.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoSome more easy constification.
harti [Fri, 4 Feb 2005 07:51:00 +0000 (07:51 +0000)]
Some more easy constification.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMake the devclass static for now until deciding whether to share them.
njl [Fri, 4 Feb 2005 07:25:44 +0000 (07:25 +0000)]
Make the devclass static for now until deciding whether to share them.

19 years agoBump __FreeBSD_version for cpufreq addition. Requested by marcus@
njl [Fri, 4 Feb 2005 06:59:58 +0000 (06:59 +0000)]
Bump __FreeBSD_version for cpufreq addition.  Requested by marcus@

19 years agoSort includes a little so that bus.h comes before cpu.h (for device_t).
njl [Fri, 4 Feb 2005 06:58:09 +0000 (06:58 +0000)]
Sort includes a little so that bus.h comes before cpu.h (for device_t).

19 years agoInclude sys/bus.h before sys/cpu.h. The latter needs device_t.
marcel [Fri, 4 Feb 2005 06:38:58 +0000 (06:38 +0000)]
Include sys/bus.h before sys/cpu.h. The latter needs device_t.

19 years agoSet the scheduling class of the zeroidle thread to PRI_IDLE.
ssouhlal [Fri, 4 Feb 2005 06:18:31 +0000 (06:18 +0000)]
Set the scheduling class of the zeroidle thread to PRI_IDLE.

Reviewed by: jhb
Approved by: grehan (mentor)
MFC after: 1 week

19 years agoSet the scheduling class of the idle threads to PRI_IDLE.
ssouhlal [Fri, 4 Feb 2005 06:16:05 +0000 (06:16 +0000)]
Set the scheduling class of the idle threads to PRI_IDLE.
While there, set their priority with sched_prio() instead of changing it
'by hand'.

Reviewed by: jhb
Approved by: grehan (mentor)

19 years agoMFi386: Merge updates to the cpu pseudo-driver. Compile, not runtime
njl [Fri, 4 Feb 2005 06:02:37 +0000 (06:02 +0000)]
MFi386: Merge updates to the cpu pseudo-driver.  Compile, not runtime
tested.

19 years agoHook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.
njl [Fri, 4 Feb 2005 05:49:36 +0000 (05:49 +0000)]
Hook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.

19 years agoAdd the ACPI Performance states driver. This driver offers two or more
njl [Fri, 4 Feb 2005 05:45:07 +0000 (05:45 +0000)]
Add the ACPI Performance states driver.  This driver offers two or more
settings as exported via the ACPI _PSS method.  OEMs use this interface
to encapsulate chipset or processor-specific methods (e.g., SpeedStep or
Powernow) and export their settings in a standard way.  On systems that
have valid ACPI Performance states and a hardware-specific driver (e.g.,
ichss), acpi_perf(4) is preferred.

19 years agoAdd a cpufreq driver for the SpeedStep capability in the ICH chipset. This
njl [Fri, 4 Feb 2005 05:42:29 +0000 (05:42 +0000)]
Add a cpufreq driver for the SpeedStep capability in the ICH chipset.  This
driver offers two settings.  Information for this driver was obtained from
the Intel datasheets and by reviewing the Linux driver.

19 years agoAdd the cpufreq framework. This code manages multiple drivers and presents
njl [Fri, 4 Feb 2005 05:39:19 +0000 (05:39 +0000)]
Add the cpufreq framework.  This code manages multiple drivers and presents
a unified kernel and user interface for controlling cpu frequencies.

19 years agoAdd an interface for cpufreq. The kernel interface lets other drivers
njl [Fri, 4 Feb 2005 05:38:30 +0000 (05:38 +0000)]
Add an interface for cpufreq.  The kernel interface lets other drivers
select the CPU frequency level (say for cooling).  The driver interface
allows hardware drivers to announce themselves as capable of adjusting
an individual frequency setting.

19 years agoUpdate the CPU attachments to return CPU_IVAR_PCPU as well as pass on
njl [Fri, 4 Feb 2005 05:36:40 +0000 (05:36 +0000)]
Update the CPU attachments to return CPU_IVAR_PCPU as well as pass on
appropriate requests to any children.

19 years agoAdd an implementation of cpu_est_clockrate(9). This function estimates the
njl [Fri, 4 Feb 2005 05:32:56 +0000 (05:32 +0000)]
Add an implementation of cpu_est_clockrate(9).  This function estimates the
current clock frequency for the given CPU id in units of Hz.

19 years agoAdd a new include to handle generic CPU interfaces.
njl [Fri, 4 Feb 2005 05:31:10 +0000 (05:31 +0000)]
Add a new include to handle generic CPU interfaces.

19 years agoDescription from Dan:
mdodd [Fri, 4 Feb 2005 02:46:41 +0000 (02:46 +0000)]
Description from Dan:

Another handy libmap patch.  Lets you do stuff like this:

LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp

If you already have a program-specific override in libmap.conf, note
that you must use a program-specific override in LD_LIBMAP:

LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp

PR: bin/74471
Submitted by: Dan Nelson <dnelson AT allantgroup.com>
MFC after: 2 weeks

19 years agoMinor style nits
imp [Fri, 4 Feb 2005 02:32:43 +0000 (02:32 +0000)]
Minor style nits
o remove unneeded {}
o no need to bzero sc

19 years agostyle(9)
mdodd [Fri, 4 Feb 2005 02:13:37 +0000 (02:13 +0000)]
style(9)

19 years ago- recognize 7447A/7448 CPUs (used in miniMacs)
grehan [Fri, 4 Feb 2005 01:59:48 +0000 (01:59 +0000)]
- recognize 7447A/7448 CPUs (used in miniMacs)
- enable 745x branch caches. Already enabled by OpenFirmware
on Macs, but reduces NetBSD diffs and usable by embedded folk.

Obtained from: NetBSD

19 years agoManpage for Olicom Token Ring adapters, based on input by mdodd.
brueffer [Fri, 4 Feb 2005 01:48:27 +0000 (01:48 +0000)]
Manpage for Olicom Token Ring adapters, based on input by mdodd.

Reviewed by: mdodd
MFC after: 1 week

19 years ago- add wall_cmos_clock and adjkerntz variables, required by msdosfs
grehan [Fri, 4 Feb 2005 01:41:38 +0000 (01:41 +0000)]
- add wall_cmos_clock and adjkerntz variables, required by msdosfs
- support adjkerntz sysctl to silence NTP, though it's a null
  implementation at the moment.

19 years agoConvert bus_space_barrier() into a null inline function rather than an
grehan [Fri, 4 Feb 2005 01:27:21 +0000 (01:27 +0000)]
Convert bus_space_barrier() into a null inline function rather than an
empty macro to avoid many compile warnings in the USB code.

19 years ago- add definitions for MPC7447A/7448 (i.e. miniMac)
grehan [Fri, 4 Feb 2005 01:17:04 +0000 (01:17 +0000)]
- add definitions for MPC7447A/7448 (i.e. miniMac)
- expand MPC745X_P macro to include these

Obtained from: NetBSD

19 years agoHID0 updates:
grehan [Fri, 4 Feb 2005 01:14:38 +0000 (01:14 +0000)]
HID0 updates:
 - updated relevant models for High BAT enable bit
 - fixed bug in BHTCLR/XAEN constants
 - added LRSTK and FOLD bits

19 years agoSort PANASONIC products numerically
imp [Thu, 3 Feb 2005 23:45:20 +0000 (23:45 +0000)]
Sort PANASONIC products numerically

19 years agotakawata tells me that KXLC0003 also works with this driver, so add it
imp [Thu, 3 Feb 2005 23:39:29 +0000 (23:39 +0000)]
takawata tells me that KXLC0003 also works with this driver, so add it
to the list.  Note it is untested.

Also kill some whitespace at the end of the line...

19 years agoRemove the entries for isp and ispfw instead of leaving them in an inconsistent
scottl [Thu, 3 Feb 2005 23:10:17 +0000 (23:10 +0000)]
Remove the entries for isp and ispfw instead of leaving them in an inconsistent
state.

19 years ago- Split out PCI support.
mdodd [Thu, 3 Feb 2005 23:01:01 +0000 (23:01 +0000)]
- Split out PCI support.
- Add previously removed ISA support.

Submitted by: David S. Madole <david AT madole.net>

19 years agos/worman/woman/
schweikh [Thu, 3 Feb 2005 22:48:29 +0000 (22:48 +0000)]
s/worman/woman/

19 years ago- Use svc_getrpccaller() rather than svc_getcaller() for using
kuriyama [Thu, 3 Feb 2005 22:21:19 +0000 (22:21 +0000)]
- Use svc_getrpccaller() rather than svc_getcaller() for using
  xt_rtaddr member of SVCXPRT structure.  This allows to use IPv6
  address stored in "struct sockaddr_storage" in "struct netbuf".
- Output the reason of getnameinfo() error.

Reviewed by: alfred

19 years ago- Sort options.
pjd [Thu, 3 Feb 2005 21:34:39 +0000 (21:34 +0000)]
- Sort options.
- Put 'break' into separate line.

19 years agoFix whitespace.
pjd [Thu, 3 Feb 2005 21:25:35 +0000 (21:25 +0000)]
Fix whitespace.

19 years agoClarify a bit the BUGS section.
keramida [Thu, 3 Feb 2005 21:16:23 +0000 (21:16 +0000)]
Clarify a bit the BUGS section.

PR: docs/77024
Submitted by: Adrian Filipi <adrian@ubergeeks.com>
Reviewed by: ru

19 years agoConnect ng_device(4) to the build.
ru [Thu, 3 Feb 2005 19:54:58 +0000 (19:54 +0000)]
Connect ng_device(4) to the build.

19 years agoAnytime we write to the RTC's status B register to possibly enable
jhb [Thu, 3 Feb 2005 19:06:03 +0000 (19:06 +0000)]
Anytime we write to the RTC's status B register to possibly enable
interrupts, read from the interrupt status register to clear any pending
interrupts.  Otherwise in some rare cases the RTC would never fire any
interrupts as it constantly thinks it has an interrupt pending.

PR: i386/17800
PR: kern/76776
Submitted by: Jose M. Alcaide jose at we dot lc dot ehu dot es
MFC after: 2 weeks

19 years agocorrect check for unicast key being setup; wpa_supplicant in particular
sam [Thu, 3 Feb 2005 16:21:07 +0000 (16:21 +0000)]
correct check for unicast key being setup; wpa_supplicant in particular
uses only the global key state so looking in the per-node key slot is wrong

Submitted by: Tai-hwa Liang

19 years agoMFlibc: Remove extra closing parenthesis.
ru [Thu, 3 Feb 2005 15:51:39 +0000 (15:51 +0000)]
MFlibc: Remove extra closing parenthesis.

19 years agoWe do want to print '\n'/'\r'.
pjd [Thu, 3 Feb 2005 15:47:30 +0000 (15:47 +0000)]
We do want to print '\n'/'\r'.

Pointed out by: stefanf

19 years ago'c' cannot be -1.
pjd [Thu, 3 Feb 2005 15:23:27 +0000 (15:23 +0000)]
'c' cannot be -1.

Submitted by: stefanf

19 years ago- Move gets() function to libkern (I want to use it outside vfs_mount.c).
pjd [Thu, 3 Feb 2005 15:10:58 +0000 (15:10 +0000)]
- Move gets() function to libkern (I want to use it outside vfs_mount.c).
- Add buffer size limitations (overflow will not be possible anymore).
- Add 'visible' option, which will allow for passphrase reading in the
  future.
- Remove special treatment of '@' and '#', those two are only confusing.

Discussed with: rwatson
MFC after: 2 weeks

19 years agoReflect recent code changes.
ru [Thu, 3 Feb 2005 13:33:34 +0000 (13:33 +0000)]
Reflect recent code changes.

19 years ago- Remove bogus O_CREAT flag. We really don't want to create a file here.
pjd [Thu, 3 Feb 2005 13:12:17 +0000 (13:12 +0000)]
- Remove bogus O_CREAT flag. We really don't want to create a file here.

  PR: bin/67793
  Submitted by: Amir Shalem <amir@boom.org.il>

- Sync usage with manual page.

Approved by: phk
MFC after: 1 week

19 years agoParse "getifname" using the standard parse string type.
ru [Thu, 3 Feb 2005 13:03:31 +0000 (13:03 +0000)]
Parse "getifname" using the standard parse string type.

Fixed an off-by-one error when dealing with interface name
(if_xname is NUL-terminated).

Don't waste time making a copy of if_xname in constructor.

19 years agoFixed an off-by-one error when dealing with interface name
ru [Thu, 3 Feb 2005 12:54:18 +0000 (12:54 +0000)]
Fixed an off-by-one error when dealing with interface name
(if_xname is NUL-terminated).

Don't waste time making a copy of if_xname in attach().

19 years agoFixed an off-by-one error when dealing with interface name
ru [Thu, 3 Feb 2005 12:50:10 +0000 (12:50 +0000)]
Fixed an off-by-one error when dealing with interface name
(if_xname is IFNAMSIZ-sized and NUL-terminated).

19 years agoAdded ASCII version of the NGM_EIFACE_GET_IFNAME message, "getifname".
ru [Thu, 3 Feb 2005 11:52:42 +0000 (11:52 +0000)]
Added ASCII version of the NGM_EIFACE_GET_IFNAME message, "getifname".

19 years agoConstify an argument to a function.
harti [Thu, 3 Feb 2005 11:51:25 +0000 (11:51 +0000)]
Constify an argument to a function.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoGet rid of a number of unneccessary memory allocations.
harti [Thu, 3 Feb 2005 11:36:19 +0000 (11:36 +0000)]
Get rid of a number of unneccessary memory allocations.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoRemoved unused includes.
ru [Thu, 3 Feb 2005 11:28:53 +0000 (11:28 +0000)]
Removed unused includes.

19 years agoIgnore consonants, and remove more duplicates.
ru [Thu, 3 Feb 2005 10:54:07 +0000 (10:54 +0000)]
Ignore consonants, and remove more duplicates.

19 years agoWhen entering siocnputc() with (kdb_active), don't acquire (or
rwatson [Thu, 3 Feb 2005 10:35:05 +0000 (10:35 +0000)]
When entering siocnputc() with (kdb_active), don't acquire (or
release) the sio spin mutex, as use of synchronization primitives in
the debugger can result in substantial problems.  With this patch in
place entering the debugger via a serial console is made
substantially more reliable.

MFC after: 1 week
Tested by: kris
Discussed with: bde

19 years agoRemoved more duplicates (forgot to ignore underscore).
ru [Thu, 3 Feb 2005 09:44:30 +0000 (09:44 +0000)]
Removed more duplicates (forgot to ignore underscore).

19 years agoKeep the fortune above this.
ru [Thu, 3 Feb 2005 09:28:45 +0000 (09:28 +0000)]
Keep the fortune above this.

Reviewed by: sheldonh

19 years agoRemove more duplicates.
ru [Thu, 3 Feb 2005 09:27:01 +0000 (09:27 +0000)]
Remove more duplicates.

19 years agoIgnore vowels, and remove more duplicates, mostly due to typos.
ru [Thu, 3 Feb 2005 09:13:02 +0000 (09:13 +0000)]
Ignore vowels, and remove more duplicates, mostly due to typos.

19 years agoTrim some obnoxious warlording.
des [Thu, 3 Feb 2005 08:47:14 +0000 (08:47 +0000)]
Trim some obnoxious warlording.

19 years agoRemoved more duplicates, by ignoring "i", "you", "we",
ru [Thu, 3 Feb 2005 08:40:08 +0000 (08:40 +0000)]
Removed more duplicates, by ignoring "i", "you", "we",
"an", "is", "are", "will", "'ll", "is", "'s" to find
them.  More to follow...

19 years agoFix alignment in the last commit.
ru [Thu, 3 Feb 2005 08:07:22 +0000 (08:07 +0000)]
Fix alignment in the last commit.

19 years ago- remove NO_MODULES since they've been working for some time
grehan [Thu, 3 Feb 2005 06:28:17 +0000 (06:28 +0000)]
- remove NO_MODULES since they've been working for some time
- add -fno-omit-framepointer to CFLAGS if DDB is enabled so
  backtraces will still work when optimization is enabled.
  Stolen from Makefile.amd64.

19 years agoDon't build syscons, uart or vpo on PPC.
grehan [Thu, 3 Feb 2005 06:12:43 +0000 (06:12 +0000)]
Don't build syscons, uart or vpo on PPC.

19 years agoFix up assignment of negative number to char. Char's are unsigned by
grehan [Thu, 3 Feb 2005 02:35:28 +0000 (02:35 +0000)]
Fix up assignment of negative number to char. Char's are unsigned by
default on PowerPC.

Approved by: mdodd

19 years agoMF dev/wi: merge the pccard lists.
imp [Thu, 3 Feb 2005 00:40:35 +0000 (00:40 +0000)]
MF dev/wi: merge the pccard lists.

# this hasn't compiled for two weeks and no one noticed!

MFC After: 7 days or so

19 years agoMerged fortunes with fortunes2.
ru [Thu, 3 Feb 2005 00:20:37 +0000 (00:20 +0000)]
Merged fortunes with fortunes2.
Sort fortunes (except for the first entry).

19 years agoFix bugs.
ru [Thu, 3 Feb 2005 00:18:06 +0000 (00:18 +0000)]
Fix bugs.

Due to one of the bugs (^C was the first character of each line
when sorting), the -b option of sort(1) didn't take any effect,
so stay bug-compatible, and remove the -b option.

19 years agoDon't lose the frame pointer for PPC modules: backtrace doesn't work.
grehan [Wed, 2 Feb 2005 23:44:24 +0000 (23:44 +0000)]
Don't lose the frame pointer for PPC modules: backtrace doesn't work.

19 years agoModify rpcgen -t output to something that's a lot more useful in
alfred [Wed, 2 Feb 2005 22:14:10 +0000 (22:14 +0000)]
Modify rpcgen -t output to something that's a lot more useful in
today's modern "no sir, not today" compilers.

Basically, when building the table:

 use NULL instead of 0,
 use braces around array initializers,
 case the function pointers to xdrproc_t,
 don't cast function pointers that do not need casting.

MFC After: 1 week

19 years ago - Use a seperate malloc tag for saved inode contents to help in debugging
jeff [Wed, 2 Feb 2005 20:30:47 +0000 (20:30 +0000)]
 - Use a seperate malloc tag for saved inode contents to help in debugging
   memory modified after free errors.

Sponsored by: Isilon Systems, Inc.

19 years ago - Correct a typo in kern_rename. tvfslocked should be initialized from
jeff [Wed, 2 Feb 2005 17:17:15 +0000 (17:17 +0000)]
 - Correct a typo in kern_rename.  tvfslocked should be initialized from
   tond and not fromnd.  This could lead us to leak Giant, or unlock it
   twice, depending on the filesystems involved.  renames within a single
   filesystem would not have caused any problems.

Sponsored by: Isilon Systems, Inc.

19 years agoDefine SI_SUB_AUDIT, the system boot event to initialize the audit
rwatson [Wed, 2 Feb 2005 14:41:03 +0000 (14:41 +0000)]
Define SI_SUB_AUDIT, the system boot event to initialize the audit
subsystem.

Obtained from: TrustedBSD Project
Submitted by: Wayne Salamon <wsalamon at computer dot org>

19 years agoAdd a stub audit_kevents.h, which defines exactly one audit event:
rwatson [Wed, 2 Feb 2005 14:27:36 +0000 (14:27 +0000)]
Add a stub audit_kevents.h, which defines exactly one audit event:
AUE_NULL.  This is a place-holder to allow other audit infrastructure
to be introduced, such as an updated syscalls.master file format,
while the license on the real audit_kevents.h is fixed.