John Baldwin
c5f9b6d075
- For dynamic sysctl's added at runtime, don't assume that the name passed
...
to the SYSCTL_ADD_FOO() macros is a constant that should be turned into
a string via the pre-processor. Instead, require it to be an explicit
string so that names can be generated on the fly.
- Make some of the char * arguments to sysctl_add_oid() const to quiet
warnings.
2001-01-05 07:00:45 +00:00
John Polstra
27e2c03506
Fix a bug in which a program called dlclose from a destructor and
...
got an assert failure in the dynamic linker.
2001-01-05 04:36:17 +00:00
Sergey Babkin
e3fc8aba7f
Changed the copyright notice to BSD-style. The original GPL copyright
...
was used due to confusion. Now this code should be moved out of the
gnu ghetto subdirectory.
2001-01-05 02:12:02 +00:00
John Baldwin
6d97297a6a
The 'maxchans' count is one more than the number of channels, so
...
'chancount' never got up to equaling 'maxchans'. As a result,
pcm_makelinks() was never called, and one always had to set the sysctl to
get the /dev/mixer and other symlinks generated in the DEVFS case. Instead,
change the test in pcm_addchan() to call pcm_makelinks() after the first
channel is initialized, since the aliases are linked to channel 0.
Reviewed by: cg
2001-01-04 23:49:00 +00:00
Matthew Dillon
d2d00d11be
NFS O_EXCL file create semantics temporarily uses file attributes to store
...
the file verifier. The NFS client is supposed to do a SETATTR after a
successful O_EXCL open/create to clean up the attributes. FreeBSD's
client code was generating a SETATTR rpc but was not generating an access
or modification time update within that rpc, leaving the file with a
broken access time that solaris chokes on (and it doesn't look very
nice when you ls -lua under FreeBSD either!). Fixed.
2001-01-04 22:45:19 +00:00
Peter Wemm
d772649af3
Try and stop config(8) from freaking out due to unnecessary paranoia
...
when using -d. Use realpath(3) to locate the top of the tree rather than
trying to manually trim back the results of a getcwd().
Requested by: alfred
2001-01-04 22:08:20 +00:00
Will Andrews
9861e6df73
Back out last commit; it had string function mistakes. I will fix this
...
and make sure it works next time.
Submitted by: markm, jhb
2001-01-04 20:11:09 +00:00
Will Andrews
fbd7649d29
Document new -s option: pass a shell to apply(1) when the desired shell
...
isn't found in /etc/shells.
2001-01-04 19:28:34 +00:00
Peter Wemm
8a10dafbd8
use 'profile 2' instead of 1, since it causes more code to be tested.
2001-01-04 19:23:33 +00:00
Will Andrews
c494ed80cd
BDECFLAGS; de-__P()-ify, ANSIfy, use snprintf() instead of sprintf(),
...
especially on strings passed from argv; rename system() to exec_shell(),
and make it static; use strlcpy() and make sure it works; use proper
type (size_t) to be passed to malloc()/realloc().
Use getusershell() to make sure the SHELL environment variable passed is
safe to use. Add new option -s to allow anal users to pass things like
perl; this option is here along with getusershell() checking since the
such checking is only intended to affect things like suidperl that might
call apply(1).
Reviewed by: markm, jhb, C. Stephen Gunn <csg@waterspout.com>
2001-01-04 19:05:49 +00:00
Warner Losh
94648ce60d
Add the ES1681, as found in my Digital HiNote UltraII. It works with
...
the ES18xx DSP code and is now my MP3 juke box engine.
Reviewed by: cg
2001-01-04 17:12:57 +00:00
Nick Hibma
f0b8108f1d
Fix a bug in both scripts: HEADER sections were not emitted to the header
...
file.
While there fix the layout of function headers (noticable in long headers)
Fix up some style nits. It's Perl and should be written in that style.
2001-01-04 13:41:24 +00:00
Søren Schmidt
b4de9f62a4
Add support for using BurnProff(tm) on drives that support it.
...
This is experimental as I dont have such a drive, reports welcome!!
2001-01-04 12:43:39 +00:00
Nick Hibma
1458cde760
Readd the id removed by sheldon in the previous commit to uscanner.c.
...
Change the ID in if_aue.c to match the new name in usbdevs.h.
2001-01-04 11:55:24 +00:00
Nick Hibma
95e5d98749
UMASS_DEBUG implemented panic(9).
...
PR: 24044
Submitted by: Mike Bristow <mike@urgle.com>
2001-01-04 11:27:41 +00:00
Nick Hibma
5a5b0c4efa
Regen.
...
(Sorry for forgetting that).
2001-01-04 11:23:21 +00:00
David E. O'Brien
5720952623
Upgrade instructions that describe the 11-July-2000 import.
2001-01-04 11:21:44 +00:00
David Malone
2aeaf4a3fd
Update for 2001.
...
PR: 23456
Submitted by: jgrosch@mooseriver.com
2001-01-04 11:20:25 +00:00
Sheldon Hearn
63ccc06ffe
Revert rev 1.8, which broke the installkernel target.
2001-01-04 11:12:15 +00:00
David E. O'Brien
7c6e689224
Add rcsid's.
2001-01-04 10:37:25 +00:00
David E. O'Brien
6e88ecec2c
The instructions on doing something with src/lib/csu/powerpc.
2001-01-04 10:27:04 +00:00
David E. O'Brien
38b909640e
PowerPC version of the C runtime support.
...
This is an amalgamation of the NetBSD macppc crt0.c (which the copyright
reflects) and the FreeBSD/Alpha crt1.c.
2001-01-04 10:25:59 +00:00
David E. O'Brien
de7c457799
PowerPC verions of the crt initialization and finalization files required
...
by the ELF ABI.
2001-01-04 10:05:42 +00:00
Dag-Erling Smørgrav
a6115eb2f8
.publickey -> .pubkey to match other finger daemons.
...
Suggested by: assar
2001-01-04 10:03:44 +00:00
Søren Schmidt
6ddc41c034
Proberly calculate the RAID structure on the Promise Fasttrak.
2001-01-04 09:11:00 +00:00
David E. O'Brien
d4cfb42174
StrongARM platform-specific definitions.
2001-01-04 05:23:06 +00:00
Garrett Wollman
fe8df3b66e
Move `struct selinfo' and related functions to <sys/selinfo.h>.
...
Bump __FreeBSD_version to reflect the move.
For the moment, <sys/select.h> includes <sys/selinfo.h> to allow
clients time to catch up.
Changes made in preparation for SUSv2/POSIX <sys/select.h> requirements.
2001-01-04 03:29:16 +00:00
David E. O'Brien
766a31af14
The preprocessor used by the cc' driver is now named
ccp0' to make it
...
clear this is the 1st pass of compilation and to make clear this particular
cpp is for `cc's use only.
2001-01-04 02:16:23 +00:00
Bruce A. Mah
befc2f0a79
Fix typo: s/libscrypt/libcrypt
...
Submitted by: gshapiro
2001-01-03 23:43:33 +00:00
Bruce A. Mah
29a36597e5
New release notes: libscript/libdescript unification, passwd(1) and
...
pw(8) select password hash algorithm at run time.
Submitted by: peter
2001-01-03 20:44:11 +00:00
Bruce A. Mah
a3252aff95
New release notes: md(4)/mdconfig(8) updates, ray(4) added, finger(1)
...
and .publickey, fix gcc typo, ancontrol(8)/wicontrol(8) fixes,
rdist(1) retired, Kerberos IV -> 1.0.5, ppp(8) tcpmssfixup.
2001-01-03 20:03:53 +00:00
Alfred Perlstein
da289f07ee
Fix incorrect logic wouldn't disconnect incomming connections that had been
...
disconnected because they were not full.
Submitted by: David Filo
2001-01-03 19:50:23 +00:00
Ben Smithurst
f0ff2d5f66
more(3) -> more(1), and add $FreeBSD$
...
PR: 24033
Submitted by: Rich Morin <rdm@cfcl.com>
2001-01-03 18:32:10 +00:00
David E. O'Brien
ac82a333b2
Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on the
...
Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format)
into GCC 2.95.3(RC#1).
2001-01-03 18:05:31 +00:00
David E. O'Brien
f0ae320070
Merge gcc.2.95.3-test1 changes onto mainline
2001-01-03 17:17:01 +00:00
David E. O'Brien
14193a95b7
Merge gcc 2.95.3-test1 changes onto vendor branch
2001-01-03 17:17:00 +00:00
David E. O'Brien
48f9f7204c
This commit was generated by cvs2svn to compensate for changes in r70635,
...
which included commits to RCS files with non-trunk default branches.
2001-01-03 17:16:04 +00:00
David E. O'Brien
5401a9ce8b
Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1
2001-01-03 17:16:04 +00:00
Ian Dowse
fefd74d87c
Document fsck_ffs's new SIGINFO handler.
...
Reviewed by: sheldonh
2001-01-03 13:53:48 +00:00
Sheldon Hearn
3e27dc3164
Remove struct.h, which has been punted into the Attic.
2001-01-03 12:35:39 +00:00
Nick Hibma
7b58790dbf
Add the Id of the Epson 1640 scanner.
...
Submitted by: Chris Shenton <chris@shenton.org>
2001-01-03 11:46:09 +00:00
Nick Hibma
801a3c8a40
Add a few Ids. From NetBSD.
2001-01-03 11:45:03 +00:00
Sheldon Hearn
af9351fc8a
Catch up with rev 1.19 of vnconfig.c .
2001-01-03 10:55:23 +00:00
Poul-Henning Kamp
4d25a384ce
Finally put this mistake to rest.
2001-01-03 10:04:45 +00:00
MIHIRA Sanpei Yoshiro
c10c040070
add new PC-Card entry, COREGA FEther PCC-TXD
...
ed1 at port 0x300-0x31f iomem 0xd0000-0xd0fff irq 3 slot 0 on pccard0
ed1: address 00:90:99:xx:xx:xx, type NE2000 (16 bit)
2001-01-03 08:42:08 +00:00
John Hay
121a47e264
Make sppp a kld.
2001-01-03 08:12:30 +00:00
Nicolas Souchu
c89863e8b9
Remove alpm numbering.
2001-01-03 07:39:07 +00:00
Warner Losh
5fd2a895ba
Spell while the more traditional way.
...
Submitted by: knu
Suggest that maybe rebuilding just libc might also work around this.
Suggested by: rgrimes and phk.
2001-01-03 05:30:30 +00:00
John Baldwin
fa465e99e0
Rename the loader tunable from hw.sndunit to hw.snd.unit.
...
Submitted by: cg
2001-01-03 02:09:31 +00:00
John Baldwin
1b40801722
- When acknowledging interrupts, write the value 0xff to the interrupt
...
status register rather than 0. Without this, a single hardware volume
event triggers an interrupt storm.
- Implement hardware volume control for the Maestro chips. This version
only handles the case where both channels are adjusted at the same time.
Reviewed by: cg
2001-01-03 01:32:57 +00:00